From 55f823f367e30b80080c63de1253c6e29b51458d Mon Sep 17 00:00:00 2001 From: awy Date: Thu, 31 Jul 2025 00:40:32 +0300 Subject: album cover waybar module --- .config/waybar/config.json | 9 +++++++++ .config/waybar/style.css | 10 ++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to '.config/waybar') diff --git a/.config/waybar/config.json b/.config/waybar/config.json index e04c578..4333e54 100644 --- a/.config/waybar/config.json +++ b/.config/waybar/config.json @@ -9,6 +9,7 @@ ], "modules-right": [ "custom/recording", + "image#album-art", "custom/tasks", "custom/music", "custom/packages", @@ -41,6 +42,14 @@ "exec" : "cat /tmp/recordingicon 2> /dev/null" }, + "image#album-art": { + "cursor": "false", + "signal": 11, + "size": 32, + "exec": "rmpcover", + "on-click": "mpc toggle" + }, + "custom/tasks" : { "cursor": false, "tooltip": false, diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 4c4d7e0..3fd3cb2 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -52,8 +52,14 @@ window#waybar { /* color: #fff; */ } -#custom-test { - color: green; +#image.album-art { + border-radius: 10px; + padding-top: 5px; + padding-bottom: 5px; + padding-right: 10px; +} + +#custom-recording { padding-right: 10px; } -- cgit v1.2.3