add i3 bindings to volume python script

This commit is contained in:
zoe 2022-10-31 18:40:05 +01:00
parent a764425702
commit 6dd39fedc7
2 changed files with 8 additions and 0 deletions

View File

@ -59,6 +59,7 @@
brightnessctl
xorg.xev
dunst
python311
i3status-rust
];
};

View File

@ -60,6 +60,7 @@ in
# windows
## switch to resize mode
"${mod}+r" = "mode resize";
"${mod}+m" = "mode media";
## focus
"${mod}+h" = "focus left";
"${mod}+j" = "focus down";
@ -88,6 +89,12 @@ in
h = "resize grow width 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 = {