diff --git a/hyprland.nix b/hyprland.nix index be71f34..306436e 100644 --- a/hyprland.nix +++ b/hyprland.nix @@ -96,12 +96,32 @@ "$mod SHIFT, 3, movetoworkspace, 3" "$mod SHIFT, 4, movetoworkspace, 4" - ", XF86MonBrightnessUp, exec, light -A 10" - ", XF86MonBrightnessDown, exec, light -U 10" + { + key = "XF86MonBrightnessUp"; + mods = ""; + command = "light -A 10"; + } + { + key = "XF86MonBrightnessDown"; + mods = ""; + command = "light -U 10"; + } - ", XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_SINK@ +5%" - ", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_SINK@ -5%" - ", XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle" + { + key = "XF86AudioRaiseVolume"; + mods = ""; + command = "wpctl set-volume @DEFAULT_SINK@ 5%+"; + } + { + key = "XF86AudioLowerVolume"; + mods = ""; + command = "wpctl set-volume @DEFAULT_SINK@ 5%-"; + } + { + key = "XF86AudioMute"; + mods = ""; + command = "wpctl set-mute @DEFAULT_SINK@ toggle"; + } ]; }; };