I am a dumbass, fix wallsetter lol

This commit is contained in:
Tyler Kelley 2024-01-16 15:42:44 -06:00
parent 82490a2f52
commit 4f3ff41498
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -20,7 +20,7 @@
gitEmail = "tylerzanekelley@gmail.com";
theLocale = "en_US.UTF-8";
theTimezone = "America/Chicago";
theme = "tokyo-night-storm";
theme = "gigavolt";
pkgs = import nixpkgs {
inherit system;