diff options
| author | Ja.KooLit <jimmielovejay@gmail.com> | 2023-12-26 19:17:12 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-26 19:17:12 +0900 |
| commit | 453d8b3f439d022569ea0b077e7c69039d96746a (patch) | |
| tree | 52e89ada62c8696d600675e12bd7cea663d74f8d /config/hypr/scripts/ScreenShot.sh | |
| parent | 76672ae5a6ac03c416bc705d51dec363f88b7a40 (diff) | |
| parent | 8440999fa6f62305b125b366d6f6309a25d06ebf (diff) | |
Merge pull request #103 from SherLock707/development
Development: Replaced dunst with Swaync
Diffstat (limited to 'config/hypr/scripts/ScreenShot.sh')
| -rwxr-xr-x | config/hypr/scripts/ScreenShot.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/scripts/ScreenShot.sh b/config/hypr/scripts/ScreenShot.sh index 29fe776a..06826275 100755 --- a/config/hypr/scripts/ScreenShot.sh +++ b/config/hypr/scripts/ScreenShot.sh @@ -7,7 +7,7 @@ dir="$(xdg-user-dir)/Pictures/Screenshots" file="Screenshot_${time}_${RANDOM}.png" # notify and view screenshot -notify_cmd_shot="dunstify -h string:x-canonical-private-synchronous:shot-notify -u low -i ${iDIR}/picture.png" +notify_cmd_shot="notify-send -h string:x-canonical-private-synchronous:shot-notify -u low -i ${iDIR}/picture.png" notify_view() { ${notify_cmd_shot} "Copied to clipboard." ## viewnior ${dir}/"$file" @@ -21,7 +21,7 @@ notify_view() { # countdown countdown() { for sec in $(seq $1 -1 1); do - dunstify -h string:x-canonical-private-synchronous:shot-notify -t 1000 -i "$iDIR"/timer.png "Taking shot in : $sec" + notify-send -h string:x-canonical-private-synchronous:shot-notify -t 1000 -i "$iDIR"/timer.png "Taking shot in : $sec" sleep 1 done } |
