feat(config): add SUPER keybindings for window width resizing and notification dismissal

This commit is contained in:
Prad Nukala committed 2026-10-06 09:52:40 -04:00
1 parent c3828a747c
commit 7524622051
1 file changed
+11
+11
View File
@@ -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 + 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 })) 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 -- 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; -- a dwindle workspace. Mod+F (expand to available width) has no exact match;
-- the Omarchy default SUPER + ALT + F (full width) is the closest. -- the Omarchy default SUPER + ALT + F (full width) is the closest.