better i3 shortcuts

This commit is contained in:
Ingolf Wagner 2022-10-12 19:48:04 +02:00
parent b0c1b414bf
commit 3b07f15c04
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -57,6 +57,9 @@ in
xsession.windowManager.i3 = { xsession.windowManager.i3 = {
enable = true; enable = true;
extraConfig = ''
default_border pixel
'';
config = { config = {
modifier = "Mod4"; modifier = "Mod4";
startup = startup =
@ -115,7 +118,8 @@ in
}]; }];
keybindings = { keybindings = {
"${cfg.config.modifier}+Return" = "exec ${cfg.config.terminal}"; "${cfg.config.modifier}+Return" = "exec ${cfg.config.terminal}";
"${cfg.config.modifier}+Shift+q" = "kill"; "${cfg.config.modifier}+Shift+q" = "exit";
"${cfg.config.modifier}+q" = "kill";
"${cfg.config.modifier}+Left" = "focus left"; "${cfg.config.modifier}+Left" = "focus left";
"${cfg.config.modifier}+Down" = "focus down"; "${cfg.config.modifier}+Down" = "focus down";