The same thing we do every night, Pinky - try to take over the world!

This commit is contained in:
coolnsx
2022-11-25 13:29:54 +05:30
parent 72e959ddbe
commit 251f5340dd
16 changed files with 94 additions and 124 deletions

View File

@@ -1,8 +1,8 @@
#!/bin/sh
x="Screenshot copied to clipboard"
[ "$*" = "fullclip" ] && grim - | xclip -selection clipboard -t image/png
[ "$*" = "fullclip" ] && grim - | wl-copy -t image/png
[ "$*" = "fullsave" ] && grim && x="Screenshot saved"
[ "$*" = "selclip" ] && grim -g "$(slurp)" - | xclip -selection clipboard -t image/png
[ "$*" = "selclip" ] && grim -g "$(slurp)" - | wl-copy -t image/png
notify-send "$x"