From 96c6eb4772073301e45c5be31856e21a8d059a2c Mon Sep 17 00:00:00 2001 From: nnduc Date: Sat, 27 Jun 2026 22:09:50 +0700 Subject: [PATCH] screen capturingl --- i3/config | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/i3/config b/i3/config index afef337..d0abfc7 100755 --- a/i3/config +++ b/i3/config @@ -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.