nf-toggle-notif: Add baguette support
This commit is contained in:
parent
e36d9805bf
commit
e4301645d1
1 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,12 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
makoctl mode -t dnd
|
makoctl mode -t dnd
|
||||||
|
|
||||||
if ! makoctl mode | grep -q dnd; then
|
if ! makoctl mode | grep -q dnd; then
|
||||||
notify-send "Notifications enabled"
|
if [[ "$LANG" =~ ^fr ]]; then
|
||||||
|
text="Notifications activées."
|
||||||
|
else
|
||||||
|
text="Notifications enabled."
|
||||||
|
fi
|
||||||
|
notify-send "$text"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue