first commit
This commit is contained in:
commit
d351e1199f
8
autostart.sh
Executable file
8
autostart.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
fcitx5 &
|
||||||
|
|
||||||
|
/bin/bash ~/.dwm/wallpapers.sh rando &
|
||||||
|
|
||||||
|
slstatus &
|
||||||
|
|
||||||
|
sleep 2
|
||||||
|
picom &
|
19
wallpapers.sh
Executable file
19
wallpapers.sh
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
setup() {
|
||||||
|
feh --bg-fill --randomize --no-fehbg ~/Pictures/wallpapers/*.png
|
||||||
|
}
|
||||||
|
|
||||||
|
randomize() {
|
||||||
|
while true; do
|
||||||
|
setup
|
||||||
|
sleep 300
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ $1 == "setup" ]
|
||||||
|
then
|
||||||
|
setup
|
||||||
|
elif [ $1 == "rando" ]
|
||||||
|
then
|
||||||
|
randomize
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user