From 5b220ca7c9e1d4d98e150760b20f042988855e98 Mon Sep 17 00:00:00 2001
From: Saumit Dinesan <justsaumit@protonmail.com>
Date: Sun, 26 Nov 2023 18:21:00 +0530
Subject: hypr: XF86 Keys for Spotify Play/Pause and Track control + comment
 outdated option

---
 .config/hypr/hyprland.conf | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

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
-- 
cgit v1.2.3