mirror of
https://github.com/basecamp/omarchy.git
synced 2025-08-04 07:39:24 +00:00

* fix: Use dynamic bindings list in omarchy-menu-keybindings We can use `hyprctl binds` to get a dynamic list of the currently-set key bindings. This allows for a custom user configuration that is split into arbitrary config files, and which makes use of `unbind` to remove default Omarchy key bindings. * chore: Support optional description for key bindings If the description is present, use it in the key bindings menu, instead of displaying some version of the dispatched command. * chore: Add some key binding description strings
17 lines
1.0 KiB
Plaintext
17 lines
1.0 KiB
Plaintext
# Only display the OSD on the currently focused monitor
|
|
$osdclient = swayosd-client --monitor "$(hyprctl monitors -j | jq -r '.[] | select(.focused == true).name')"
|
|
|
|
# Laptop multimedia keys for volume and LCD brightness (with OSD)
|
|
bindeld = ,XF86AudioRaiseVolume, Volume up, exec, $osdclient --output-volume raise
|
|
bindeld = ,XF86AudioLowerVolume, Volume down, exec, $osdclient --output-volume lower
|
|
bindeld = ,XF86AudioMute, Mute, exec, $osdclient --output-volume mute-toggle
|
|
bindeld = ,XF86AudioMicMute, Mute microphone, exec, $osdclient --input-volume mute-toggle
|
|
bindeld = ,XF86MonBrightnessUp, Brightness up, exec, $osdclient --brightness raise
|
|
bindeld = ,XF86MonBrightnessDown, Brightness down, exec, $osdclient --brightness lower
|
|
|
|
# Requires playerctl
|
|
bindld = , XF86AudioNext, Next track, exec, $osdclient --playerctl next
|
|
bindld = , XF86AudioPause, Pause, exec, $osdclient --playerctl play-pause
|
|
bindld = , XF86AudioPlay, Play, exec, $osdclient --playerctl play-pause
|
|
bindld = , XF86AudioPrev, Previous track, exec, $osdclient --playerctl previous
|