Browse Source

fix window title bar, possibly break stuff

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

5
waybar/config

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

10
waybar/style.css

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

Loading…
Cancel
Save