screen capturingl

This commit is contained in:
2026-06-27 22:09:50 +07:00
parent d31924face
commit 96c6eb4772
+2 -3
View File
@@ -40,9 +40,8 @@ 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
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
bindsym Print exec --no-startup-id bash -c 'f="$(xdg-user-dir PICTURES)/$(date +%s_scrot.png)" && scrot -s "$f" && xclip -selection clipboard -t image/png -i "$f" && notify-send "Screenshot saved" "$f"'
bindsym $mod+Print exec --no-startup-id bash -c 'f="$(xdg-user-dir PICTURES)/$(date +%s_scrot.png)" && scrot "$f" && xclip -selection clipboard -t image/png -i "$f" && notify-send "Screenshot saved" "$f"'
# 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.