aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/AirplaneMode.sh
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-01-16 10:53:08 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-01-16 10:53:08 +0900
commit47a6c42c77244b4b18f6e074542c15bc43bc4273 (patch)
treea50caee93fc0c2f0d8c02f6d0120af71cc24f1ac /config/hypr/scripts/AirplaneMode.sh
parent2647d90c60a88e91b12ec6c059d16512bc08d275 (diff)
updated some scripts for better notification visibility. Swaync notification width reduce to look better
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 cd061c76..89546e76 100755
--- a/config/hypr/scripts/AirplaneMode.sh
+++ b/config/hypr/scripts/AirplaneMode.sh
@@ -9,8 +9,8 @@ wifi_blocked=$(rfkill list wifi | grep -o "Soft blocked: yes")
if [ -n "$wifi_blocked" ]; then
rfkill unblock wifi
- notify-send -u low -i "$notif" "$(printf "\n Airplane mode: OFF")"
+ notify-send -u low -i "$notif" " Airplane mode:" " Switched OFF"
else
rfkill block wifi
- notify-send -u low -i "$notif" "$(printf "\n Airplane mode: ON")"
+ notify-send -u low -i "$notif" " Airplane mode:" " Switched ON"
fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage