fix: binding incosistency
This commit is contained in:
parent
35e3a47fe0
commit
3e87972f4b
3 changed files with 8 additions and 5 deletions
|
|
@ -46,7 +46,7 @@ on-focus-changed = [
|
||||||
alt-v = 'split vertical'
|
alt-v = 'split vertical'
|
||||||
alt-shift-v = 'split horizontal'
|
alt-shift-v = 'split horizontal'
|
||||||
|
|
||||||
alt-f = 'fullscreen'
|
alt-z = 'fullscreen'
|
||||||
|
|
||||||
alt-s = 'layout v_accordion'
|
alt-s = 'layout v_accordion'
|
||||||
alt-t = 'layout h_accordion'
|
alt-t = 'layout h_accordion'
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,8 @@ in
|
||||||
'';
|
'';
|
||||||
windowManager.i3 =
|
windowManager.i3 =
|
||||||
let
|
let
|
||||||
modifier = "Mod1"; # Alt key for i3, freeing Super for macOS-like app shortcuts
|
modifier = "Mod4"; # Alt key for i3, freeing Super for macOS-like app shortcuts
|
||||||
|
# superModifier = "Mod1";
|
||||||
powerManagementMode = " : Screen [l]ock, [e]xit, [s]uspend, [h]ibernate, [R]eboot, [S]hutdown";
|
powerManagementMode = " : Screen [l]ock, [e]xit, [s]uspend, [h]ibernate, [R]eboot, [S]hutdown";
|
||||||
miscellaneousMode = "D [p]ause, D [c]ontinue";
|
miscellaneousMode = "D [p]ause, D [c]ontinue";
|
||||||
resizeMode = " : [h] , [j] , [k] , [l] ";
|
resizeMode = " : [h] , [j] , [k] , [l] ";
|
||||||
|
|
@ -178,6 +179,8 @@ in
|
||||||
"${modifier}+Shift+p" = "focus mode_toggle";
|
"${modifier}+Shift+p" = "focus mode_toggle";
|
||||||
"${modifier}+Shift+c" = "reload";
|
"${modifier}+Shift+c" = "reload";
|
||||||
"${modifier}+Shift+r" = "restart";
|
"${modifier}+Shift+r" = "restart";
|
||||||
|
"${modifier}+z" = "fullscreen";
|
||||||
|
"${modifier}+f" = "nop";
|
||||||
# mode
|
# mode
|
||||||
"${modifier}+r" = ''mode "${resizeMode}"'';
|
"${modifier}+r" = ''mode "${resizeMode}"'';
|
||||||
"${modifier}+Escape" = ''mode "${powerManagementMode}"'';
|
"${modifier}+Escape" = ''mode "${powerManagementMode}"'';
|
||||||
|
|
@ -209,7 +212,7 @@ in
|
||||||
# others
|
# others
|
||||||
"${modifier}+space" = "exec --no-startup-id ${dmenu}";
|
"${modifier}+space" = "exec --no-startup-id ${dmenu}";
|
||||||
"${modifier}+b" = "exec --no-startup-id ${terminal} -e ${yazi}";
|
"${modifier}+b" = "exec --no-startup-id ${terminal} -e ${yazi}";
|
||||||
"${modifier}+z" = "exec --no-startup-id ${boomer}"; # tsoding's zoom
|
"${modifier}+x" = "exec --no-startup-id ${boomer}"; # tsoding's zoom
|
||||||
# "${modifier}+Shift+Return" = "exec ${second_terminal}";
|
# "${modifier}+Shift+Return" = "exec ${second_terminal}";
|
||||||
# reset
|
# reset
|
||||||
"${modifier}+Shift+e" = null;
|
"${modifier}+Shift+e" = null;
|
||||||
|
|
|
||||||
|
|
@ -87,8 +87,8 @@
|
||||||
commonSettings
|
commonSettings
|
||||||
{
|
{
|
||||||
main = {
|
main = {
|
||||||
leftalt = "layer(meta)";
|
# leftalt = "layer(meta)";
|
||||||
leftmeta = "layer(alt)";
|
# leftmeta = "layer(alt)";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue