Add volume controls

inky
Elnu 2 years ago
parent 504065ddc0
commit 6c28f6aff6

@ -4,7 +4,6 @@
- Make rofi power menu work by removing password requirement from shutdown, reboot, etc., which is normally done with `visudo` (see [this Stack Overflow thread](https://askubuntu.com/a/168885) and [Nix `sudo` option](https://search.nixos.org/options?channel=22.05&from=0&size=50&sort=relevance&type=packages&query=sudo).
- Package safe poweroff bash script required by rofi power menu
- Add volume and mute button controls to i3
- Limit number of stored rollbacks to remove need for manual garbage collection
- Theme lightdm
- Theme GRUB

@ -18,6 +18,10 @@ in {
keybindings = lib.mkOptionDefault {
"${mod}+Return" = "exec kitty";
"Mod1+Q" = "exec /etc/profiles/per-user/elnu/bin/rofi-power";
"XF86AudioRaiseVolume" = "exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10%";
"XF86AudioLowerVolume" = "exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10%";
"XF86AudioMute" = "exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle";
"XF86AudioMicMute" = "exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle";
};
keycodebindings = {
"133" = "--release exec rofi -show run -theme";

Loading…
Cancel
Save