From 583b02ec456294a6865993bdc6a43850f4ab5b15 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Fri, 18 Aug 2023 16:28:48 +1200 Subject: [PATCH] add: some hyprland binds --- home/ooks/opt/desktop/hyprland/binds.nix | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/home/ooks/opt/desktop/hyprland/binds.nix b/home/ooks/opt/desktop/hyprland/binds.nix index dc99321..f6ede53 100644 --- a/home/ooks/opt/desktop/hyprland/binds.nix +++ b/home/ooks/opt/desktop/hyprland/binds.nix @@ -21,11 +21,24 @@ "SUPER,e,exec,${editor}" "SUPER,m,exec,${spotify}" - #Media + # Media - "SUPER,bracketright,exec,${playerctl} next" - "SUPER,bracketleft,exec,${playerctl} previous" - "SUPER,backslash,exec,${playerctl} play-pause" + "SUPER,bracketright,exec,${playerctl} --player=spotify_player next" + "SUPER,bracketleft,exec,${playerctl} --player=spotify_player previous" + "SUPER,backslash,exec,${playerctl} --player=spotify_player play-pause" + + # Brightness + + ",XF86MonBrightnessUp,exec,light -A 10" + ",XF86MonBrightnessDown,exec,light -U 10" + + # Volume + + ",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" + "SHIFT,XF86AudioMute,exec,${pactl} set-source-mute @DEFAULT_SOURCE@ toggle" + ",XF86AudioMicMute,exec,${pactl} set-source-mute @DEFAULT_SOURCE@ toggle" # Window Management