i3 changes
This commit is contained in:
parent
f2583a01f4
commit
ec340880e1
|
@ -8,7 +8,8 @@ let
|
|||
color_inactive = "#${config.color.cyan}";
|
||||
color_indicator = "#${config.color.magenta}";
|
||||
color_evil = "#${config.color.red}";
|
||||
in {
|
||||
in
|
||||
{
|
||||
home-manager.users.zoe.xsession.windowManager.i3.config = {
|
||||
modifier = mod;
|
||||
terminal = term;
|
||||
|
@ -64,6 +65,7 @@ in {
|
|||
"exec find-cursor --color '#282828' -o 2 --outline-color '#EBDBB2'";
|
||||
## switch to resize mode
|
||||
"${mod}+r" = "mode resize";
|
||||
"${mod}+b" = "mode brightness";
|
||||
"${mod}+m" = "mode media";
|
||||
## focus
|
||||
"${mod}+h" = "focus left";
|
||||
|
@ -94,7 +96,7 @@ in {
|
|||
|
||||
## wifi
|
||||
"XF86WLAN" = "exec rfkill toggle wifi";
|
||||
|
||||
|
||||
## tablet to next screen
|
||||
"${mod}+p" = "exec xsetwacom set 'Wacom Intuos S 2 Pen stylus' MapToOutput next";
|
||||
};
|
||||
|
@ -108,6 +110,11 @@ in {
|
|||
h = "resize grow width 10 px or 10 ppt";
|
||||
k = "resize shrink height 10 px or 10 ppt";
|
||||
};
|
||||
brightness = {
|
||||
Escape = "mode default";
|
||||
k = "exec /etc/nixos/i3/brightness.py 100+";
|
||||
j = "exec /etc/nixos/i3/brightness.py 100-";
|
||||
};
|
||||
media = {
|
||||
Return = "mode default";
|
||||
Escape = "mode default";
|
||||
|
|
Loading…
Reference in New Issue