wallpaper

This commit is contained in:
_N3m0 2024-03-06 08:20:09 +01:00
parent a043499980
commit 14215e6af3
3 changed files with 12 additions and 2 deletions

8
randwallpaper Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
wallpath=$OPT_PATH/img/wallpaper
img=$(ls $wallpath | shuf -n 1)
cp $wallpath/$img $OPT_PATH/img/wallpaper.curr
feh --bg-scale $wallpath/$img

View File

@ -1,6 +1,8 @@
#!/bin/bash
wallpath=$OPT_PATH/img/funny-linux
wallpath=$OPT_PATH/img/wallpaper
img=$(ls $wallpath | dmenu -l 10 -p "wallpaper:")
cp $wallpath/$img $OPT_PATH/img/wallpaper.curr
feh --bg-scale $wallpath/$img

View File

@ -11,7 +11,7 @@ xset dpms $lstime $lstime $lstime
xss-lock slock &
# wallpaper
feh --bg-scale ~/opt/img/wallpaper.jpg &
feh --bg-scale ~/opt/img/wallpaper.curr &
# status bar
~/dev/script/statusbar.sh &