From f29cf8d115f5c8a765d3f51af1e285502391cb9d Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 25 Jan 2026 22:08:30 -0600 Subject: 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 --- dotfiles/hyprland/.config/hypr/hyprland.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dotfiles/hyprland/.config') 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 )) -- cgit v1.2.3