Compare commits

...

2 commits

Author SHA1 Message Date
ea7dd623ed
fix: audio adjustment
Some checks failed
/ test (push) Failing after 1s
2025-02-02 21:53:08 +01:00
005822eacb
chore: update nysh 2025-02-02 21:53:08 +01:00
2 changed files with 9 additions and 7 deletions

8
flake.lock generated
View file

@ -191,11 +191,11 @@
"quickshell": "quickshell"
},
"locked": {
"lastModified": 1738357726,
"narHash": "sha256-AThPO3TqwB8B0mzx5WTJpyFoxMQ0+dc36MQy6RI46ms=",
"lastModified": 1738528812,
"narHash": "sha256-NgGylCEFg500fF8bDZfKhS+wSGT4wkHIg567XAwrFZ0=",
"ref": "refs/heads/main",
"rev": "47db00f317a2a2d77330b1497f6d855b7c80a0c3",
"revCount": 103,
"rev": "f269a01ec07c12a19482caacbf67223a4eab22d3",
"revCount": 104,
"type": "git",
"url": "https://git.ccnlc.eu/nydragon/nysh.git"
},

View file

@ -86,9 +86,11 @@ lib.mkIf osConfig.programs.sway.enable {
"${mod}+n" = "exec nysh msg dash toggle";
"--locked XF86MonBrightnessUp" = "exec --no-startup-id ${getExe pkgs.brightnessctl} s +10%";
"--locked XF86MonBrightnessDown" = "exec --no-startup-id ${getExe pkgs.brightnessctl} s 10%-";
"--locked XF86AudioRaiseVolume" = "exec --no-startup-id ${getExe pkgs.pw-volume} change +5%";
"--locked XF86AudioLowerVolume" = "exec --no-startup-id ${getExe pkgs.pw-volume} change -5%";
"--locked XF86AudioMute" = "exec --no-startup-id ${getExe pkgs.pw-volume} mute toggle";
"--locked XF86AudioRaiseVolume" =
"exec --no-startup-id ${getExe pkgs.pamixer} -u && ${getExe pkgs.pamixer} -i 5";
"--locked XF86AudioLowerVolume" =
"exec --no-startup-id ${getExe pkgs.pamixer} -u && ${getExe pkgs.pamixer} -d 5";
"--locked XF86AudioMute" = "exec --no-startup-id ${getExe pkgs.pamixer} -t";
"--locked XF86AudioPlay" = "exec ${getExe pkgs.playerctl} play-pause";
"--locked XF86AudioPause" = "exec ${getExe pkgs.playerctl} play-pause";
"--locked XF86AudioNext" = "exec ${getExe pkgs.playerctl} next";