ft: hyprland to home manager
This commit is contained in:
@@ -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")]];
|
||||
|
||||
Reference in New Issue
Block a user