mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-02-03 01:59:13 +01:00
I am a dumbass, fix wallsetter lol
This commit is contained in:
parent
82490a2f52
commit
4f3ff41498
@ -1,7 +1,7 @@
|
||||
{ pkgs }:
|
||||
|
||||
pkgs.writeShellScriptBin "wallsetter" ''
|
||||
WALLPAPER=$(find $HOME/Pictures/Wallpapers -type f | shuf -n 1)
|
||||
WALLPAPER=$(find $HOME/Pictures/Wallpapers -type l | shuf -n 1)
|
||||
PREVIOUS=$WALLPAPER
|
||||
TRANSITION1="--transition-type wave --transition-angle 120 --transition-step 30"
|
||||
TRANSITION2="--transition-type wipe --transition-angle 30 --transition-step 30"
|
||||
@ -13,7 +13,7 @@ while true;
|
||||
do
|
||||
if [ $WALLPAPER == $PREVIOUS ]
|
||||
then
|
||||
WALLPAPER=$(find $HOME/Pictures/Wallpapers -type f | shuf -n 1)
|
||||
WALLPAPER=$(find $HOME/Pictures/Wallpapers -type l | shuf -n 1)
|
||||
else
|
||||
PREVIOUS=$WALLPAPER
|
||||
NUM=$(shuf -i 1-5 -n 1)
|
||||
|
Loading…
Reference in New Issue
Block a user