background.sh for dwm added
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
directory=~/Pictures/hyprpaper/images
|
||||
|
||||
while true; do
|
||||
if [ -d "$directory" ]; then
|
||||
random_background=$(ls $directory/* | shuf -n 1)
|
||||
|
||||
feh --bg-fill $random_background
|
||||
fi
|
||||
sleep 60
|
||||
done
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
setxkbmap "us,ru" -option 'grp:win_space_toggle'
|
||||
feh --bg-fill ~/Pictures/hyprpaper/images/beautiful-nature-landscape-with-mountains-lake.png
|
||||
~/dotfiles/dwm/background.sh &
|
||||
picom -b
|
||||
dwmbar &
|
||||
|
||||
Reference in New Issue
Block a user