fixed fs apps and feh conflict

This commit is contained in:
2026-06-27 20:22:58 +07:00
parent a1ac1e967e
commit d31924face
2 changed files with 5 additions and 6 deletions
+3 -1
View File
@@ -40,7 +40,9 @@ bindsym $mod+l exec ~/.config/i3/scripts/lock-now $wallpaper_dir
bindsym $mod+Shift+o exec systemctl suspend
bindsym $mod+Shift+p exec systemctl poweroff
bindsym Print exec flameshot gui -c
set $images $(xdg-user-dir PICTURES)/$(date +'%s_igrim.png')
bindsym Print exec grim -g "$(slurp)" - | wl-copy
bindsym $mod+Print exec grim -o $images
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
+2 -5
View File
@@ -1,7 +1,4 @@
#!/bin/bash
wall_dir="${1:?wallpaper directory required}"
while true; do
img=$(find "$wall_dir" -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" \) | shuf -n1)
[ -n "$img" ] && feh --bg-fill "$img"
sleep 1200
done
img=$(find "$wall_dir" -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" \) | shuf -n1)
[ -n "$img" ] && feh --bg-fill "$img"