A small POSIX compliant shell script that automatically disables and re-enables notifications when a window is in full screen mode on Hyprland.
- hyprland
- jq
- socat
- swaync
Warning
Always read and understand scripts before executing them!
curl -fsSL https://raw.githubusercontent.com/DHDcc/autodnd/refs/heads/main/install.sh | sh
$ git clone https://github.com/DHDcc/autodnd.git
$ cd autodnd
$ chmod u+x src/autodnd
$ mkdir -p ~/.local/bin ~/.config/systemd/user
$ cp src/autodnd ~/.local/bin
$ cp systemd/autodnd.service ~/.config/systemd/user
$ systemctl --user daemon-reload
$ systemctl --user enable --now autodnd.service
OR
exec-once = $HOME/.local/bin/autodnd