From 6005211d3b2fdf945f98d1df6dbfff286f4053c9 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 19 Mar 2025 05:26:21 -0400 Subject: .fluxbox/keys: Organize shots in date directories With tens of thousands of files in one directory, things like GPicView's ImageList functions get very slow. --- diff --git a/.fluxbox/keys b/.fluxbox/keys index 3a8fa22..8c22574 100644 --- a/.fluxbox/keys +++ b/.fluxbox/keys @@ -179,10 +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 -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 + Print :Exec mkdir -p ~/shots/$(date '+%Y/%m/%d') && scrot -z ~/shots/$(date '+%Y/%m/%d')/%H:%M:%S.png + Shift Print :Exec mkdir -p ~/shots/$(date '+%Y/%m/%d') && scrot -z -u -b ~/shots/$(date '+%Y/%m/%d')/%H:%M:%S.png +Mod1 Print :Exec mkdir -p ~/shots/$(date '+%Y/%m/%d') && scrot -z -p ~/shots/$(date '+%Y/%m/%d')/%H:%M:%S.png +Mod1 Shift Print :Exec mkdir -p ~/shots/$(date '+%Y/%m/%d') && scrot -z -u -b -p ~/shots/$(date '+%Y/%m/%d')/%H:%M:%S.png # Launch applications #Mod4 :CustomMenu ~/.fluxbox/menus/applications -- cgit v0.9.1