ErikReider / SwayNotificationCenter

A simple GTK based notification daemon for SwayWM
GNU General Public License v3.0
1.3k stars 62 forks source link

Add client flags to turn dnd on/off #169

Closed bvergnaud closed 2 years ago

bvergnaud commented 2 years ago

Hello 👋🏻

This is a QoL PR I offer, for which I'll be the first client. Unless I missed something, setting dnd state to on or off currently requires getting the current dnd state, and toggling if necessary. With this MR, it'll be doable in a single call to the client. Less bash scripts everywhere can only be a good thing for the world. 😛

Fair warning:

Thanks !