background.sh for dwm added
This commit is contained in:
1 parent
b9040b87dc
commit
5e7cddd075
2 files changed
+14
-1
No files matched your search
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
|
#!/bin/sh
|
||||||
|
|
||||||
setxkbmap "us,ru" -option 'grp:win_space_toggle'
|
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
|
picom -b
|
||||||
dwmbar &
|
dwmbar &
|
||||||
|
|
||||||
Reference in new issue
Block a user