This commit is contained in:
wt committed 2024-08-08 16:34:52 +07:00
1 parent 677c7de3aa
commit 4f6abd0c84
5 files changed
+2 -2

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/env sh
directory=~/Pictures/hyprpaper
monitors=`hyprctl monitors | grep Monitor | awk '{print $2}'`
while [ true ]; do
if [ -d "$directory" ]; then
for monitor in $monitors; do
random_background=$(ls $directory/* | shuf -n 1)
extention="${random_background##*.}"
echo $extention
if [[ "$extention" == "jpg" ]]; then
swww img -o $monitor $random_background --transition-type random
elif [[ "$extention" == "mp4" ]]; then
mpvpaper $monitor $random_background
fi
done
fi
sleep 30
done
#swww img -o VGA-1 /home/tola/Pictures/hyprpaper/calder-moore-aliencrack-01-copy.jpg --transition-type wipe
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env sh
directory=~/Pictures/wallpaper
monitors=`hyprctl monitors | grep Monitor | awk '{print $2}'`
echo $(ls $directory/*)
while [ true ]; do
if [ -d "$directory" ]; then
for monitor in $monitors; do
random_background=$(ls $directory/* | shuf -n 1)
hyprctl hyprpaper unload all
hyprctl hyprpaper preload $random_background
hyprctl hyprpaper wallpaper "$monitor, $random_background"
sleep 2
done
fi
sleep 60
done
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env sh
if [ ! -f ~/.keyboard_started ]; then
wvkbd-mobintl &
touch ~/.keyboard_started
else
killall wvkbd-mobintl
rm ~/.keyboard_started
fi
+1 -1
View File
@@ -7,6 +7,6 @@ $locker = hyprlock
$browser = google-chrome-stable
$clipboard = ~/dotfiles/rofi/clipboard/clipboard.sh
$emojipicker = ~/dotfiles/rofi/emoji/rofimoji.sh
$onscreenkeyboard = ~/dotfiles/toggle_keyboard.sh
$onscreenkeyboard = ~/dotfiles/hypr/bin/toggle_keyboard.sh
$calculator = gnome-calculator
#----------------------------------------------------------------
+1 -1
View File
@@ -2,7 +2,7 @@
#----------- wallpaper -----------------
exec-once = hyprpaper
exec-once = ~/dotfiles/background.sh
exec-once = ~/dotfiles/hypr/bin/background.sh
exec-once = waybar
#exec-once = swww init
#exec-once = ~/dotfiles/background-swww.sh