diff options
author | awy <awy@awy.one> | 2025-07-31 00:40:32 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2025-07-31 00:40:32 +0300 |
commit | 55f823f367e30b80080c63de1253c6e29b51458d (patch) | |
tree | c8c67c4fbc5e8a37c1cadf645eacc542fc448ab2 /.config/waybar | |
parent | 5883ef3bed4ddabc9b89ce6a386090c242110af9 (diff) | |
download | hyprdots-55f823f367e30b80080c63de1253c6e29b51458d.tar.gz |
album cover waybar module
Diffstat (limited to '.config/waybar')
-rw-r--r-- | .config/waybar/config.json | 9 | ||||
-rw-r--r-- | .config/waybar/style.css | 10 |
2 files changed, 17 insertions, 2 deletions
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; } |