Improve lockhelper for gunter

This commit is contained in:
2024-06-11 00:53:59 +02:00
parent d5855878d3
commit eb0c53d8e2
6 changed files with 43 additions and 9 deletions

View File

@@ -39,7 +39,7 @@ if command -v wal &> /dev/null; then
wal -i "$wallpaper_path"
fi
unlink "$WALLPAPER_DIR/current" || true
unlink "$WALLPAPER_DIR/current.png" || true
ln -s "$wallpaper_path" "$WALLPAPER_DIR/current.png"
for monitor in $(hyprctl monitors | grep 'Monitor' | awk '{ print $2 }'); do