aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/ScreenShot.sh
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2023-12-26 19:17:12 +0900
committerGitHub <noreply@github.com>2023-12-26 19:17:12 +0900
commit453d8b3f439d022569ea0b077e7c69039d96746a (patch)
tree52e89ada62c8696d600675e12bd7cea663d74f8d /config/hypr/scripts/ScreenShot.sh
parent76672ae5a6ac03c416bc705d51dec363f88b7a40 (diff)
parent8440999fa6f62305b125b366d6f6309a25d06ebf (diff)
Merge pull request #103 from SherLock707/development
Development: Replaced dunst with Swaync
Diffstat (limited to 'config/hypr/scripts/ScreenShot.sh')
-rwxr-xr-xconfig/hypr/scripts/ScreenShot.sh4
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
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage