I would like to toggle Do Not Disturb mode with a command, so I can suppress notifications programatically (specifically, I want to turn on Do Not Disturb when I am playing a game, but not while I’m in the game’s main menu). What command could I run to enable/disable Do Not Disturb?
Seems my Google-fu was not strong enough:
qdbus org.kde.kglobalaccel /component/plasmashell invokeShortcut "toggle do not disturb"