aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/AirplaneMode.sh
diff options
context:
space:
mode:
authorSherLock707 <kirangeorge1995@gmail.com>2023-12-26 14:59:52 +0530
committerSherLock707 <kirangeorge1995@gmail.com>2023-12-26 14:59:52 +0530
commit3678f78162e273580e40416c2ad984c66ceb1d72 (patch)
tree95e5a499a9c10d83020970fcfffb12caaa62ef2b /config/hypr/scripts/AirplaneMode.sh
parent76672ae5a6ac03c416bc705d51dec363f88b7a40 (diff)
Replaced dunst with swaync
Diffstat (limited to 'config/hypr/scripts/AirplaneMode.sh')
-rwxr-xr-xconfig/hypr/scripts/AirplaneMode.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/scripts/AirplaneMode.sh b/config/hypr/scripts/AirplaneMode.sh
index 428a09bd..6e2eecff 100755
--- a/config/hypr/scripts/AirplaneMode.sh
+++ b/config/hypr/scripts/AirplaneMode.sh
@@ -5,8 +5,8 @@ dunst_notif="$HOME/.config/dunst/images/bell.png"
wifi="$(nmcli r wifi | awk 'FNR = 2 {print $1}')"
if [ "$wifi" == "enabled" ]; then
rfkill block all &
- dunstify -u normal -i "$dunst_notif" -t 1000 'airplane mode: active'
+ notify-send -e -u normal -i "$dunst_notif" -t 1000 'airplane mode: active'
else
rfkill unblock all &
- dunstify -u normal -i "$dunst_notif" -t 1000 'airplane mode: inactive'
+ notify-send -e -u normal -i "$dunst_notif" -t 1000 'airplane mode: inactive'
fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage