adapt screenshot script to niri

This commit is contained in:
2025-10-03 01:05:36 +02:00
parent 73a86b35d5
commit 6e4c3be564
4 changed files with 65 additions and 25 deletions

View File

@@ -32,7 +32,7 @@ elif [ "$XDG_CURRENT_DESKTOP" = "niri" ]; then
killall swaybg
killall swww
cache_dir="$HOME/.cache/swaybg"
cache_dir="$HOME/.local/share/swaybg"
mkdir -p "$cache_dir" || (
notify-send "Error" "Could not create cache directory"
exit 1