12 lines
213 B
Bash
Executable file
12 lines
213 B
Bash
Executable file
#!/bin/bash
|
|
|
|
makoctl mode -t dnd
|
|
|
|
if ! makoctl mode | grep -q dnd; then
|
|
if [[ "$LANG" =~ ^fr ]]; then
|
|
text="Notifications activées."
|
|
else
|
|
text="Notifications enabled."
|
|
fi
|
|
notify-send "$text"
|
|
fi
|