mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-12 06:02:30 +02:00
feat(custom): make spotify module generic
Set class via json attribute Choose icon via alt attribute
This commit is contained in:
@ -30,7 +30,7 @@ window#waybar {
|
||||
border-bottom: 3px solid #ffffff;
|
||||
}
|
||||
|
||||
#clock, #battery, #cpu, #memory, #temperature, #backlight, #network, #pulseaudio, #custom-spotify, #tray, #mode, #idle_inhibitor {
|
||||
#clock, #battery, #cpu, #memory, #temperature, #backlight, #network, #pulseaudio, #custom-media, #tray, #mode, #idle_inhibitor {
|
||||
padding: 0 10px;
|
||||
margin: 0 5px;
|
||||
}
|
||||
@ -97,11 +97,19 @@ window#waybar {
|
||||
color: #2a5c45;
|
||||
}
|
||||
|
||||
#custom-spotify {
|
||||
#custom-media {
|
||||
background: #66cc99;
|
||||
color: #2a5c45;
|
||||
}
|
||||
|
||||
.custom-spotify {
|
||||
background: #66cc99;
|
||||
}
|
||||
|
||||
.custom-vlc {
|
||||
background: #ffa000;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
background: #f0932b;
|
||||
}
|
||||
|
Reference in New Issue
Block a user