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/AirplaneMode.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/AirplaneMode.sh')
| -rwxr-xr-x | config/hypr/scripts/AirplaneMode.sh | 4 |
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 |
