From 1c54a3427fd4f309c01b1fa945c5d5bc3f74d0a5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 14 Nov 2023 22:11:41 -0500 Subject: .fluxbox/keys: Add -z to scrot, replace -s with -p Silence the beeping with -z, make Ctrl+PrtSc capture the mouse pointer (-p) instead of interactively selecting a window or rectangle with the mouse (-s), and add Ctrl+Shift+PrtSc to do the same with the currently focused window (like Shift+PrtSc). Also vertically align the scrot key lines for clarity. --- diff --git a/.fluxbox/keys b/.fluxbox/keys index 39d966e..3a8fa22 100644 --- a/.fluxbox/keys +++ b/.fluxbox/keys @@ -179,9 +179,10 @@ Shift XF86AudioNext :Exec mpc -h music seek +00:00:05 Shift XF86AudioPrev :Exec mpc -h music seek -00:00:05 # PrtSc -Print :Exec mkdir -p ~/shots/ && scrot ~/shots/%Y-%m-%d_%H:%M:%S.png -Shift Print :Exec mkdir -p ~/shots/ && scrot -u -b ~/shots/%Y-%m-%d_%H:%M:%S.png -Mod1 Print :Exec mkdir -p ~/shots/ && scrot -s ~/shots/%Y-%m-%d_%H:%M:%S.png + Print :Exec mkdir -p ~/shots/ && scrot -z ~/shots/%Y-%m-%d_%H:%M:%S.png + Shift Print :Exec mkdir -p ~/shots/ && scrot -z -u -b ~/shots/%Y-%m-%d_%H:%M:%S.png +Mod1 Print :Exec mkdir -p ~/shots/ && scrot -z -p ~/shots/%Y-%m-%d_%H:%M:%S.png +Mod1 Shift Print :Exec mkdir -p ~/shots/ && scrot -z -u -b -p ~/shots/%Y-%m-%d_%H:%M:%S.png # Launch applications #Mod4 :CustomMenu ~/.fluxbox/menus/applications -- cgit v0.9.1