make a new changing wallpaper script

master
tiynger 5 years ago
parent fa92e9fa9a
commit 7d06fba274

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

@ -0,0 +1 @@
ressources/pixel

@ -0,0 +1 @@
ressources/fantasy

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 578 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 875 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 677 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 899 KiB

@ -0,0 +1 @@
ressources/space

@ -0,0 +1 @@
ressources/sun

@ -0,0 +1 @@
ressources/moon

@ -0,0 +1 @@
ressources/landscape

@ -0,0 +1 @@
ressources/minimal

@ -1,4 +1,25 @@
#!/bin/sh #!/bin/sh
# Sets the background. If given an argument, will set file as background. # Sets the background. If given an argument, will set file as background.
[ ! -z "$1" ] && cp "$1" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Wallpaper changed." if [ $(date | awk '{print $1}') = "Mon" ]; then
xwallpaper --zoom ~/.config/wall.png wallDir=~/.config/wallpaper/mon
fi
if [ $(date | awk '{print $1}') = "Tue" ]; then
wallDir=~/.config/wallpaper/tue
fi
if [ $(date | awk '{print $1}') = "Wed" ]; then
wallDir=~/.config/wallpaper/wed
fi
if [ $(date | awk '{print $1}') = "Thu" ]; then
wallDir=~/.config/wallpaper/thu
fi
if [ $(date | awk '{print $1}') = "Fri" ]; then
wallDir=~/.config/wallpaper/fri
fi
if [ $(date | awk '{print $1}') = "Sat" ]; then
wallDir=~/.config/wallpaper/sat
fi
if [ $(date | awk '{print $1}') = "Sun" ]; then
wallDir=~/.config/wallpaper/sun
fi
currWall=$wallDir/$(ls $wallDir | shuf -n 1)
xwallpaper --zoom $currWall

Loading…
Cancel
Save