feat(Bar): add class depend of window in the workspace

This commit is contained in:
Alex
2019-04-25 16:47:51 +02:00
parent 79a5e9ecee
commit bb8ff5a99f
3 changed files with 68 additions and 17 deletions

View File

@ -16,6 +16,24 @@ window#waybar.hidded {
opacity: 0.2;
}
/*
window#waybar.empty {
background: transparent;
}
window#waybar.solo {
background: #FFFFFF;
}
*/
window#waybar.termite {
background-color: #3F3F3F;
}
window#waybar.chromium {
background-color: #DEE1E6;
color: #000000;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#workspaces button {
padding: 0 5px;
@ -41,6 +59,7 @@ window#waybar.hidded {
#clock, #battery, #cpu, #memory, #temperature, #backlight, #network, #pulseaudio, #custom-media, #tray, #mode, #idle_inhibitor {
padding: 0 10px;
margin: 0 5px;
color: #ffffff;
}
#clock {