This commit is contained in:
2025-09-24 12:22:25 +03:00
parent 92ff7446e9
commit 0a97ca1e18
11 changed files with 59 additions and 26 deletions

13
scripts/load-wallpaper.sh Normal file → Executable file
View File

@@ -6,5 +6,14 @@ rm -r ~/.cache/wal
# wal -stn -a 90 -i $HOME/wallpaper/$WALLPAPER
swww img $WALLPAPER --transition-fps 120 --transition-duration 2 -t wipe &
bash ~/dotfiles/scripts/hot-reload.sh
if [[ "$(hostname)" == "gentoo" ]]; then
hyprctl hyprpaper unload all
hyprctl hyprpaper preload $WALLPAPER
hyprctl hyprpaper wallpaper ,$WALLPAPER
fi
if [[ "$(hostname)" != "gentoo" ]]; then
swww img $WALLPAPER --transition-fps 120 --transition-duration 2 -t wipe &
fi
# bash ~/config/scripts/hot-reload.sh