#!/bin/bash makoctl mode -t dnd if ! makoctl mode | grep -q dnd; then eww update nf-enabled=true if [[ "$LANG" =~ ^fr ]]; then text="Notifications activées." else text="Notifications enabled." fi notify-send "$text" else eww update nf-enabled=false fi