Compare commits

..

2 commits

Author SHA1 Message Date
03ca915506
fix: audio adjustment
Some checks failed
/ test (push) Failing after 1s
2025-02-02 21:26:58 +01:00
21fa71be48
chore: update nysh 2025-02-02 21:26:49 +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": 1738527932,
"narHash": "sha256-TIZ/DfbAuadnLRCOxQHVowrSwaCgedxh91rVBLlkLSs=",
"ref": "refs/heads/main",
"rev": "47db00f317a2a2d77330b1497f6d855b7c80a0c3",
"revCount": 103,
"rev": "0da0c35a16321e49d32a10336730db8e9a72ccbe",
"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";