1
0
Fork 0

move screenshot scripts into repo

This commit is contained in:
yuki 2025-08-12 05:30:04 -04:00
parent 7623dbd2e9
commit 3a49c4cd07
3 changed files with 6 additions and 2 deletions

4
keys
View file

@ -134,8 +134,8 @@ Control Mod4 F11 :TakeToWorkspace 11
Control Mod4 F12 :TakeToWorkspace 12
# screenshot
Print :Exec scrsht.sh
Shift Print :Exec scrshtsel.sh
Print :Exec ~/.fluxbox/scripts/scrsht.sh
Shift Print :Exec ~/.fluxbox/scripts/scrshtsel.sh
# file manager
Mod4 E :Exec thunar

2
scripts/scrsht.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
scrot -e 'xclip -selection clipboard -t image/png -i $f' -o ~/scrsht.png

2
scripts/scrshtsel.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
scrot -e 'xclip -selection clipboard -t image/png -i $f' -o -s ~/scrsht.png