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,
|
||||
"margin": "6px",
|
||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||
"modules-center": [],
|
||||
"modules-center": ["sway/window"],
|
||||
"modules-right": ["custom/update", "pulseaudio", "battery", "network", "clock", "custom/power"],
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
|
@ -24,6 +24,9 @@
|
|||
"10": "ﱘ",
|
||||
}
|
||||
},
|
||||
"sway/window": {
|
||||
"max-length": 50,
|
||||
},
|
||||
"custom/update": {
|
||||
"format": "累 {}",
|
||||
"exec": "update-count",
|
||||
|
|
|
@ -28,6 +28,11 @@
|
|||
border-radius: 6px;
|
||||
}
|
||||
|
||||
window#waybar.empty #window {
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#workspaces button:first-child {
|
||||
border-top-left-radius: 6px;
|
||||
border-bottom-left-radius: 6px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue