Derp, asset redirection in dev mode

This commit is contained in:
coolnsx
2024-02-29 15:17:10 +05:30
parent 09ab6e0765
commit 80de39466a
11 changed files with 81 additions and 41 deletions

View File

@@ -3,5 +3,5 @@
icon="/usr/share/icons/Papirus/16x16/apps/applets-screenshooter.svg"
killall grim slurp
[ "$*" = "fullclip" ] && grim - | wl-copy -t image/png && notify-send -i "$icon" "Screenshot copied to clipboard"
[ "$*" = "fullsave" ] && grim && notify-send -i "$icon" "Screenshot saved"
[ "$*" = "fullsave" ] && grim "$HOME/Pictures/$(date -u "+%Y-%m-%d_%H-%M-%S").png" && notify-send -i "$icon" "Screenshot saved"
[ "$*" = "selclip" ] && grim -g "$(slurp)" - | wl-copy -t image/png && notify-send -i "$icon" "Screenshot copied to clipboard"