summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-11-26 18:21:00 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-11-26 18:21:00 +0530
commit5b220ca7c9e1d4d98e150760b20f042988855e98 (patch)
tree9a6d027d731ee4010a06dd8e667e8065e61898ff
parent97647fbaf89d9a5795b713f4ff60a51b6212139e (diff)
hypr: XF86 Keys for Spotify Play/Pause and Track control + comment outdated option
-rw-r--r--.config/hypr/hyprland.conf9
1 files changed, 8 insertions, 1 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index f8b8fca..8582744 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -59,10 +59,11 @@ master {
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 3
- multisample_edges = true
+ #multisample_edges = true
active_opacity=0.99
inactive_opacity=0.94
fullscreen_opacity=1.0
+
blur {
enabled = true
size = 4
@@ -212,6 +213,12 @@ binde = ,XF86MonBrightnessDown, exec, brillo -s intel_backlight -U 4 && dunsti
bind = $MOD, F2 , exec, rofi -show calc -modi calc -no-show-match -no-sort
bind = , XF86Calculator, exec, rofi -show calc -modi calc -no-show-match -no-sort
+#Toggle play/pause in spotify (universal)
+bind = , XF86AudioPlay, exec, playerctl -p spotify play-pause
+# Change tracks spotify only
+bind = , XF86AudioPrev, exec, playerctl -p spotify previous
+bind = , XF86AudioNext, exec, playerctl -p spotify next
+
#master-stack layout
bind = $MOD, Return,layoutmsg, swapwithmaster