From 75246220513ce1c7e06467af1ee2c5a0bec7b6e9 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Tue, 6 Oct 2026 09:52:40 -0400 Subject: [PATCH] feat(config): add SUPER keybindings for window width resizing and notification dismissal --- dot_config/hypr/bindings.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dot_config/hypr/bindings.lua b/dot_config/hypr/bindings.lua index b71c4d7..0a74114 100644 --- a/dot_config/hypr/bindings.lua +++ b/dot_config/hypr/bindings.lua @@ -180,6 +180,17 @@ o.bind("ALT + L", "Grow window width", hl.dsp.window.resize({ x = 100, y = 0, re o.bind("ALT + K", "Shrink window height", hl.dsp.window.resize({ x = 0, y = -100, relative = true })) o.bind("ALT + J", "Grow window height", hl.dsp.window.resize({ x = 0, y = 100, relative = true })) +-- Same width steps on SUPER + , / SUPER + . (the < and > keys). Key names are +-- the lower-case xkb keysyms; "COMMA"/"PERIOD" would not match. +hl.unbind("SUPER + comma") -- was: dismiss last notification (now SUPER + SHIFT + BACKSPACE) +o.bind("SUPER + comma", "Shrink window width", hl.dsp.window.resize({ x = -100, y = 0, relative = true })) +o.bind("SUPER + period", "Grow window width", hl.dsp.window.resize({ x = 100, y = 0, relative = true })) + +-- The notification dismiss SUPER + comma gave up. SUPER + SHIFT + comma still +-- dismisses all. +hl.unbind("SUPER + SHIFT + BACKSPACE") -- was: toggle window gaps +o.bind("SUPER + SHIFT + BACKSPACE", "Dismiss last notification", "omarchy-shell notifications dismissOne") + -- Column fitting. These are scrolling layout messages, so they do nothing on -- a dwindle workspace. Mod+F (expand to available width) has no exact match; -- the Omarchy default SUPER + ALT + F (full width) is the closest.