From cdffca815a0e824ed3fc0993994f0e28ea2c3878 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 4 May 2023 11:00:21 +0200 Subject: use more obvious variable name --- bin/guiscripts/newwal | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/guiscripts') diff --git a/bin/guiscripts/newwal b/bin/guiscripts/newwal index 49a4b9a..1673b51 100755 --- a/bin/guiscripts/newwal +++ b/bin/guiscripts/newwal @@ -4,9 +4,9 @@ which swaybg wal identify > /dev/null || exit 1 wall="$HOME/pics/wallpaper" walls="$HOME/pics/wallpapers" -wdir="$HOME/.cache/wal" +walcache="$HOME/.cache/wal" res="1920x1080" -test -d "$wdir" || exit 1 +test -d "$walcache" || exit 1 # if no (valid) argument, use random wallpaper test -f "${wal:=$(realpath "$1")}" || @@ -23,7 +23,7 @@ wal -c wal -i "$wall" # foot -. "$wdir/colors.sh" +. "$walcache/colors.sh" cat < "$HOME/.config/foot/colors" [colors] foreground = $foreground @@ -49,6 +49,6 @@ bright7 = $color15 EOF # waybar -ln -sf "$wdir/colors-waybar.css" "$HOME/.config/waybar/colors.css" +ln -sf "$walcache/colors-waybar.css" "$HOME/.config/waybar/colors.css" pkill waybar waybar & -- cgit v1.2.3