fix: make audio keys work in new pipewire env

feat: set git work email
This commit is contained in:
Swarsel 2024-08-12 08:32:48 +02:00
parent a0bb1ef2eb
commit 5fc2637159
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
5 changed files with 158 additions and 12 deletions

View file

@ -1,4 +1,4 @@
_:
{ lib, ... }:
{
programs.git = {
enable = true;
@ -19,8 +19,8 @@ _:
key = "0x76FD3810215AE097";
signByDefault = true;
};
userEmail = "leon.schwarzaeugl@gmail.com";
userName = "Swarsel";
userEmail = lib.mkDefault "leon.schwarzaeugl@gmail.com";
userName = "Leon Schwarzäugl";
difftastic.enable = true;
lfs.enable = true;
includes = [

View file

@ -96,9 +96,12 @@ in
"${modifier}+Shift+e" = "exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'";
"${modifier}+r" = "mode resize";
"${modifier}+Return" = "exec kitty";
"XF86AudioRaiseVolume" = "exec pactl set-sink-volume @DEFAULT_SINK@ +5%";
"XF86AudioLowerVolume" = "exec pactl set-sink-volume @DEFAULT_SINK@ -5%";
"XF86AudioMute" = "exec pactl set-sink-mute @DEFAULT_SINK@ toggle";
# "XF86AudioRaiseVolume" = "exec pa 5%";
"XF86AudioRaiseVolume" = "exec pamixer -i 5";
# "XF86AudioLowerVolume" = "exec pactl set-sink-volume @DEFAULT_SINK@ -5%";
"XF86AudioLowerVolume" = "exec pamixer -d 5";
# "XF86AudioMute" = "exec pactl set-sink-mute @DEFAULT_SINK@ toggle";
"XF86AudioMute" = "exec pamixer -t";
"XF86MonBrightnessUp" = "exec brightnessctl set +5%";
"XF86MonBrightnessDown" = "exec brightnessctl set 5%-";
"XF86Display" = "exec wl-mirror eDP-1";

View file

@ -263,4 +263,6 @@
};
};
programs.git.userEmail = "leon.schwarzaeugl@imba.oeaw.ac.at";
}