summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-08-16 13:15:36 -0500
committerzachir <zachir@librem.one>2023-08-16 13:19:37 -0500
commit4dc7cfd4bab368b26c9803fb14715297ba5505ee (patch)
tree435b475fe934f3aa88eba59bcc0c268d649b5e5e
parent58be66b66e6afcd92c1a14e4182df941bb3d36da (diff)
Fix menu bindings and add xf86
-rw-r--r--hypr/hyprland.conf8
1 files changed, 6 insertions, 2 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index 86b4557..aa2c040 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -267,8 +267,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
@@ -329,6 +329,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