From cdd9d8f1ed361618b6b73b289f07d8b9c621818b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik.tjader@nordicsemi.no>
Date: Sat, 29 Jun 2024 20:00:15 +0200
Subject: [PATCH] Fix custom media

---
 .config/waybar/config.jsonc   | 4 ++--
 .config/waybar/mediaplayer.py | 0
 .config/waybar/style.css      | 5 +++--
 3 files changed, 5 insertions(+), 4 deletions(-)
 mode change 100644 => 100755 .config/waybar/mediaplayer.py

diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc
index e3c62b4..4adbbeb 100644
--- a/.config/waybar/config.jsonc
+++ b/.config/waybar/config.jsonc
@@ -11,8 +11,7 @@
     "modules-left": [
         "sway/workspaces",
         "sway/mode",
-        "sway/scratchpad",
-        "custom/media"
+        "sway/scratchpad"
     ],
     //"modules-center": ["sway/window"],
     "modules-center": [
@@ -20,6 +19,7 @@
         "idle_inhibitor",
     ],
     "modules-right": [
+        "custom/media",
         "custom/disk_home",
         "temperature",
         "cpu",
diff --git a/.config/waybar/mediaplayer.py b/.config/waybar/mediaplayer.py
old mode 100644
new mode 100755
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
index 1827d26..bd74df3 100644
--- a/.config/waybar/style.css
+++ b/.config/waybar/style.css
@@ -213,8 +213,9 @@ label:focus {
 }
 
 #custom-media {
-    background-color: #66cc99;
-    color: #2a5c45;
+    /* background-color: #66cc99; */
+    background-color: rgba(88, 88, 88, 0.6);
+    /* color: #2a5c45; */
     min-width: 100px;
 }
 
-- 
GitLab