add i3 bindings to volume python script
This commit is contained in:
parent
a764425702
commit
6dd39fedc7
|
@ -59,6 +59,7 @@
|
||||||
brightnessctl
|
brightnessctl
|
||||||
xorg.xev
|
xorg.xev
|
||||||
dunst
|
dunst
|
||||||
|
python311
|
||||||
i3status-rust
|
i3status-rust
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -60,6 +60,7 @@ in
|
||||||
# windows
|
# windows
|
||||||
## switch to resize mode
|
## switch to resize mode
|
||||||
"${mod}+r" = "mode resize";
|
"${mod}+r" = "mode resize";
|
||||||
|
"${mod}+m" = "mode media";
|
||||||
## focus
|
## focus
|
||||||
"${mod}+h" = "focus left";
|
"${mod}+h" = "focus left";
|
||||||
"${mod}+j" = "focus down";
|
"${mod}+j" = "focus down";
|
||||||
|
@ -88,6 +89,12 @@ in
|
||||||
h = "resize grow width 10 px or 10 ppt";
|
h = "resize grow width 10 px or 10 ppt";
|
||||||
k = "resize shrink height 10 px or 10 ppt";
|
k = "resize shrink height 10 px or 10 ppt";
|
||||||
};
|
};
|
||||||
|
media = {
|
||||||
|
Return = "mode default";
|
||||||
|
Escape = "mode default";
|
||||||
|
j = "exec python3 /etc/nixos/i3/audio.py 5%-";
|
||||||
|
k = "exec python3 /etc/nixos/i3/audio.py 5%+";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
window = {
|
window = {
|
||||||
|
|
Loading…
Reference in New Issue