feat(configs): introduce layout‑specific bind helper and extend keybindings with window controls, audio, and brightness

The changes add helper functions, new keybindings for layout manipulation, mouse drag/resize, and system controls while cleaning up old configurations.

New Features:
- Added `layout_bind` helper for layout‑specific key actions.
- Introduced mouse drag/resize via SUPER + LMB/RMB.
- Added audio volume/mute/mic mute and brightness controls bound to XF86 keys.
- Added playerctl media key handling.

Enhancements:
- Consolidated power‑off, reboot, and lock bindings under Ctrl‑L/P/R.
- Refactored keybindings layout for better readability.
- Updated window rules to properly float VSCodium and terminal windows.

Bug Fixes:
- Removed obsolete test notifications and redundant bindings.
- Fixed workspace cycle indexing to use keys 1‑9.
- Corrected ordering of special window rules.
This commit is contained in:
sankalp committed 2026-05-12 00:19:18 +05:45
1 parent efd38683cf
commit 602dc3cd24
2 files changed
+110 -94

No files matched your search

+4 -8
View File
@@ -92,7 +92,10 @@ local simple_rules = {
center = true,
size = "(monitor_w*0.35) (monitor_h*0.35)",
},
{ match = { class = "(codium|codium-url-handler|VSCodium)", title = "negative:(.*codium.*|.*VSCodium.*)" }, float = true },
{
match = { class = "(codium|codium-url-handler|VSCodium)", title = "negative:(.*codium.*|.*VSCodium.*)" },
float = true,
},
{ match = { class = "^(com.heroicgameslauncher.hgl)$", title = "negative:(Heroic Games Launcher)" }, float = true },
{ match = { class = "^([Ss]team)$", title = "negative:^([Ss]team)$" }, float = true },
{
@@ -205,13 +208,6 @@ local special_rules = {
center = true,
size = "(monitor_w*0.6) (monitor_h*0.65)",
},
{
name = "Floating Terminal",
match = { title = "^(float_kitty)$" },
float = true,
center = true,
size = "(monitor_w*0.6) (monitor_h*0.6)",
},
}
for _, rule in ipairs(special_rules) do