From 885a67f96e2f21d9b9b0c97e0c5997ec9ac34c0a Mon Sep 17 00:00:00 2001 From: zachir Date: Wed, 16 Aug 2023 13:15:36 -0500 Subject: Fix menu bindings and add xf86 --- hypr/hyprland.conf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'hypr') diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 52766be..33b74d0 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -266,8 +266,8 @@ submap = reset #}}} #{{{ Menu bindings -bind = $mainMod, R, exec, exec tofi-drun -c ~/.config/tofi/themes/dmenu_vertical --prompt-text "Run:" -bind = $mainMod, D, exec, exec tofi-run -c ~/.config/tofi/themes/dmenu_vertical --prompt-text "Run:" +bind = $mainMod, R, exec, exec sh -c "$(tofi-drun -c ~/.config/tofi/themes/dmenu_vertical --prompt-text Run:)" +bind = $mainMod, D, exec, exec sh -c "$(tofi-run -c ~/.config/tofi/themes/dmenu_vertical --prompt-text Run:)" bind = $mainMod $secdMod, Q, exec, qbc bind = $mainMod $secdMod, W, exec, lwc bind = $mainMod $secdMod, E, exec, mbc @@ -328,6 +328,10 @@ submap = reset bindl = $secdMod, P, exec, playerctl play-pause bindel = , XF86AudioRaiseVolume, exec, volsv -i 5 bindel = , XF86AudioLowerVolume, exec, volsv -d 5 +bind = , XF86AudioPlay, exec, playerctl play-pause +bind = , XF86AudioStop, exec, playerctl stop +bind = , XF86AudioPrev, exec, playerctl previous +bind = , XF86AudioNext, exec, playerctl next bind = , XF86AudioMute, exec, volsv -t bindl = , XF86AudioMicMute, exec, volsv -m bindel = , XF86MonBrightnessUp, exec, bl -i -- cgit v1.2.3