mirror of
https://github.com/CoolnsX/hyprdots.git
synced 2025-12-20 07:15:23 +05:30
first commit
This commit is contained in:
8
hypr/screenshot
Executable file
8
hypr/screenshot
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
x="Screenshot copied to clipboard"
|
||||
[ "$*" = "fullclip" ] && grim - | xclip -selection clipboard -t image/png
|
||||
[ "$*" = "fullsave" ] && grim && x="Screenshot saved"
|
||||
[ "$*" = "selclip" ] && grim -g "$(slurp)" - | xclip -selection clipboard -t image/png
|
||||
|
||||
notify-send "$x"
|
||||
Reference in New Issue
Block a user