Update keyboard shortcuts script to show all runtime keybinds (#70)

* feat: Add a keyboard shortcuts helper

This commit:

* Changes keybinds to use `bindd` and adds descriptions for each one
* Changes the keybinds script to use `hyprctl binds` to inspect runtime keybinds
and generate a wofi menu to search/inspect keybinds

* Rely on 'order defined' for sorting

Using `hyprctl binds` lets us get the binds in the order they're
defined. This lets us be deliberate about what keybinds we want to show
up at the top of the presented window.

* Skip cache file for keybinds

* Strip extra newline causing double spacing
This commit is contained in:
Nathan Anderson
2025-07-13 20:17:48 -04:00
committed by GitHub
parent 41b5893d32
commit 6433511873
8 changed files with 148 additions and 131 deletions

8
bin/omarchy-toggle-dnd Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash
set -e
makoctl mode -t do-not-disturb > /dev/null
makoctl mode | grep -q 'do-not-disturb' \
&& notify-send "Silenced notifications" \
|| notify-send "Enabled notifications"