updated ss scripts

This commit is contained in:
2024-06-08 17:25:43 +03:00
parent f8f415c239
commit a84d53c475
2 changed files with 14 additions and 5 deletions

View File

@@ -4,10 +4,10 @@
#
# Select an area with slurp, ss with grim
# and copy to clipboard.
SS="/media/fyb/share/shoka/swap/screenshots"
TEMP_FILE="$HOME/temporary_screenshot"
SS="/media/yigid/share/shoka/swap/screenshots"
TEMP_FILE="$HOME/temp_file"
grim -c -g "$( slurp )" "$TEMP_FILE"
grim -g "$( slurp )" "$TEMP_FILE"
if [ $? -eq 0 ]; then
wl-copy --type image/png < "$TEMP_FILE"