Add focused window title to Waybar
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
8d8864836b
commit
ae974d2eba
2 changed files with 9 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
"spacing": 6,
|
"spacing": 6,
|
||||||
"margin": "6px",
|
"margin": "6px",
|
||||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||||
"modules-center": [],
|
"modules-center": ["sway/window"],
|
||||||
"modules-right": ["custom/update", "pulseaudio", "battery", "network", "clock", "custom/power"],
|
"modules-right": ["custom/update", "pulseaudio", "battery", "network", "clock", "custom/power"],
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
|
@ -24,6 +24,9 @@
|
||||||
"10": "ﱘ",
|
"10": "ﱘ",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"sway/window": {
|
||||||
|
"max-length": 50,
|
||||||
|
},
|
||||||
"custom/update": {
|
"custom/update": {
|
||||||
"format": "累 {}",
|
"format": "累 {}",
|
||||||
"exec": "update-count",
|
"exec": "update-count",
|
||||||
|
|
|
@ -28,6 +28,11 @@
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window#waybar.empty #window {
|
||||||
|
padding: 0;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
#workspaces button:first-child {
|
#workspaces button:first-child {
|
||||||
border-top-left-radius: 6px;
|
border-top-left-radius: 6px;
|
||||||
border-bottom-left-radius: 6px;
|
border-bottom-left-radius: 6px;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue