ft: hyprland to home manager

This commit is contained in:
2026-10-02 01:57:43 +02:00
parent 0e3a6b116d
commit 37fb63549e
5 changed files with 14 additions and 11 deletions

View File

@@ -3,10 +3,11 @@
let
inherit (hyprLib)
bind
makeSubmap
muldsp
pass
sendShortcut
submap
makeSubmap
;
makePassthrough = window: binds:
@@ -17,7 +18,7 @@ let
v = builtins.elemAt mapping 1;
d = if builtins.length mapping >= 3 then builtins.elemAt mapping 2 else "";
in
[k (sendShortcut v window) d]
[k (muldsp [(sendShortcut v window) (submap "reset")]) d]
) binds;
in
customBinds ++ [["ESCAPE" (submap "reset")]];