8be3d10f4e
Hyprland 0.31 added "force_default_wallpaper = 0". We no longer need to set the default wallpaper using swaybg, so now when weeb mode is turned of it just kills swaybg to show Hyprland wallpaper.
12 lines
257 B
Bash
Executable file
12 lines
257 B
Bash
Executable file
#!/bin/sh
|
|
|
|
source "$HOME/.cache/wal/colors.sh"
|
|
|
|
pkill -u "$USER" swaybg
|
|
|
|
if grep -q 1 "$HOME/.cache/weeb-mode"; then
|
|
echo 0 > "$HOME/.cache/weeb-mode"
|
|
else
|
|
echo 1 > "$HOME/.cache/weeb-mode"
|
|
hyprctl dispatch exec "swaybg -i \"$wallpaper\"" > /dev/null
|
|
fi
|