dotfiles/.scripts/toggle-weeb-mode.sh
2023-09-26 17:12:28 +02:00

13 lines
295 B
Bash
Executable file

#!/bin/sh
source "$HOME/.cache/wal/colors.sh"
if grep -q 1 "$HOME/.cache/weeb-mode"; then
wallpaper='/usr/share/hyprland/wall_2K.png'
echo 0 > "$HOME/.cache/weeb-mode"
else
echo 1 > "$HOME/.cache/weeb-mode"
fi
killall -9 swaybg
hyprctl dispatch exec "swaybg -i \"$wallpaper\"" > /dev/null