Skip to content

feat(notifs): add custom shortcut to toggle do not disturb#1654

Open
j0n4y wants to merge 6 commits into
caelestia-dots:mainfrom
j0n4y:feat/dnd-shortcut
Open

feat(notifs): add custom shortcut to toggle do not disturb#1654
j0n4y wants to merge 6 commits into
caelestia-dots:mainfrom
j0n4y:feat/dnd-shortcut

Conversation

@j0n4y

@j0n4y j0n4y commented Jun 30, 2026

Copy link
Copy Markdown

Description

Added a CustomShortcut in Notifs.qml to allow toggling the Do Not Disturb (DND) state globally.

Motivation

Currently, there isn't a direct way to toggle the DND state using a keybind. I wanted to bind a key on my keyboard to do it so I can silence notifications easily, but I needed this change to do so. I think it would be nice for other users too.

Changes

  • Added a CustomShortcut named dnd.
  • Used props.dnd = !props.dnd to flip the boolean state.
  • Added // qmllint disable/enable comments to match the existing code style used in clearNotifs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant