Browse Source

fix window title bar, possibly break stuff

main
Evelyn Alicke 3 years ago
parent
commit
05c752167e
  1. 5
      waybar/config
  2. 10
      waybar/style.css

5
waybar/config

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
// "width": 1280, // Waybar width
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode", "custom/media"],
"modules-center": [],
"modules-center": ["sway/window"],
"modules-right": ["idle_inhibitor", "network", "bluetooth", "battery", "battery#bat2", "clock", "tray"],
// Modules configuration
// "sway/workspaces": {
@ -27,6 +27,9 @@ @@ -27,6 +27,9 @@
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"sway/window": {
"max-length": 50
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {

10
waybar/style.css

@ -9,17 +9,16 @@ @@ -9,17 +9,16 @@
window#waybar {
background-color: rgba(0,0,0, 0.8);
color: white;
color: transparent;
transition-property: all;
transition-duration: 200ms;
transition-timing-function: ease-in-out;
}
window#waybar.hidden {
opacity: 0.8;
background-color: yellow;
}
window#waybar.empty {
background-color: transparent;
}
@ -27,7 +26,6 @@ window#waybar.solo { @@ -27,7 +26,6 @@ window#waybar.solo {
background-color: rgba(0,0,0,0.8);
}
window#waybar.termite {
background-color: #3F3F3F;
}
@ -175,7 +173,7 @@ label:focus { @@ -175,7 +173,7 @@ label:focus {
}
#network {
background-color: rgba(110, 178, 179, 0.6);
background-color: rgba(10, 120, 120, 0.6);
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
transition-property: background-color;
@ -184,7 +182,7 @@ label:focus { @@ -184,7 +182,7 @@ label:focus {
}
#network.disconnected {
background-color: rgba(141, 110, 179, 0.6);
background-color: rgba(120, 10, 120, 0.6);
}
#bluetooth {

Loading…
Cancel
Save