summaryrefslogtreecommitdiffstats
path: root/.fluxbox
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2023-11-14 22:11:41 (EST)
committer P. J. McDermott <pj@pehjota.net>2025-03-19 05:19:32 (EDT)
commit1c54a3427fd4f309c01b1fa945c5d5bc3f74d0a5 (patch)
tree7ee08a6d5d63dbb4a1e17d5fd11a8dc73346c997 /.fluxbox
parentb4c1f28e07d5a9b915c29ab9b0a0f75477b0035f (diff)
downloadfluxbox-1c54a3427fd4f309c01b1fa945c5d5bc3f74d0a5.zip
fluxbox-1c54a3427fd4f309c01b1fa945c5d5bc3f74d0a5.tar.gz
fluxbox-1c54a3427fd4f309c01b1fa945c5d5bc3f74d0a5.tar.bz2
.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.
Diffstat (limited to '.fluxbox')
-rw-r--r--.fluxbox/keys7
1 files changed, 4 insertions, 3 deletions
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