diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-25 22:08:30 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-25 22:08:30 -0600 |
| commit | f29cf8d115f5c8a765d3f51af1e285502391cb9d (patch) | |
| tree | c6787afeeaf6539a031f4e0456f29cab56b98887 /dotfiles/hyprland/.config | |
| parent | 4f30bd0ee49b21893616eb0aa9e07ed852228525 (diff) | |
feat(hyprland): change focus mode keybindings to mod+O
Change xtra-dispatchers plugin keybindings from Z to O for better
ergonomics. Mnemonic: O = Only/Others (throw unfocused, bring back,
close others).
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'dotfiles/hyprland/.config')
| -rw-r--r-- | dotfiles/hyprland/.config/hypr/hyprland.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf index df44e23..1ab1a84 100644 --- a/dotfiles/hyprland/.config/hypr/hyprland.conf +++ b/dotfiles/hyprland/.config/hypr/hyprland.conf @@ -165,6 +165,11 @@ bind = $mod SHIFT, SPACE, togglefloating bind = $mod, I, layoutmsg, addmaster bind = $mod, D, layoutmsg, removemaster +# Focus mode (xtra-dispatchers plugin) +# O = "Only this window" / "bring back Others" / "close Others" +bind = $mod, O, exec, hyprctl dispatch plugin:xtd:throwunfocused 10 +bind = $mod SHIFT, O, exec, hyprctl dispatch plugin:xtd:bringallfrom 10 +bind = $mod CTRL, O, exec, hyprctl dispatch plugin:xtd:closeunfocused # Gaps (from DWM) bind = $mod, MINUS, exec, hyprctl keyword general:gaps_out $(( $(hyprctl getoption general:gaps_out -j | jq -r '.custom' | cut -d' ' -f1) - 5 )) && hyprctl keyword general:gaps_in $(( $(hyprctl getoption general:gaps_in -j | jq -r '.custom' | cut -d' ' -f1) - 5 )) |
