[bin] Extract screenshot (folder) helpers out to bin/

This commit is contained in:
Sebastian Schulze 2021-07-29 13:22:24 +02:00
parent 049adce89e
commit 541dbf9e54
No known key found for this signature in database
GPG Key ID: F6BA63C6A7D3044E
4 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
exec foot --app-id 'files' lf $(screenshot-folder)

View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
dragon --and-exit $(last-screenshot)

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
find ~/Pictures/Screenshots/$(date +%Y-%m) -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" " | head -1

View File

@ -384,7 +384,7 @@ mode $mode_run {
bindsym $mod+w exec chromium-browser; mode "default";
bindsym e exec em; mode "default"
bindsym f exec screenshot-folder; mode "default"
bindsym f exec browse-screenshot-folder; mode "default"
bindsym $mod+f exec nautilus; mode "default"
bindsym c exec $menu clipboard; mode "default"