From c51cc539132e16ab73bbf06775a11b7a365e0af0 Mon Sep 17 00:00:00 2001 From: Felix Schulze Date: Sun, 22 Jun 2025 15:26:21 +0200 Subject: [PATCH] laptop media keys hurricane: 57 current 2025-06-22 15:34:24 25.05.20250620.b2485d5 6.15.3 * media keys hurricane: 58 current 2025-06-22 15:36:29 25.05.20250620.b2485d5 6.15.3 * --- modules/home/hyprland.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/modules/home/hyprland.nix b/modules/home/hyprland.nix index 4169e94..c9652ae 100644 --- a/modules/home/hyprland.nix +++ b/modules/home/hyprland.nix @@ -140,17 +140,13 @@ in { # l -> do stuff even when locked # e -> repeats when key is held bindle = [ - ", XF86AudioRaiseVolume, exec, vol --up" - ", XF86AudioLowerVolume, exec, vol --down" - ", XF86MonBrightnessUp, exec, bri --up" - ", XF86MonBrightnessDown, exec, bri --down" - ", XF86Search, exec, launchpad" + ", XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+ --limit 1" + ", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-" + ", XF86MonBrightnessUp, exec, brightnessctl set +10%" + ", XF86MonBrightnessDown, exec, brightnessctl set 10%-" ]; bindl = [ ", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" - ", XF86AudioPlay, exec, playerctl play-pause" # the stupid key is called play , but it toggles - ", XF86AudioNext, exec, playerctl next" - ", XF86AudioPrev, exec, playerctl previous" ]; }; };