mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-20 03:35:41 +02:00
example: conf: use foreign-toplevel instead of i3’s ‘current’
This commit is contained in:
parent
cad9dd8efd
commit
7d715d81a8
1 changed files with 10 additions and 16 deletions
|
@ -105,23 +105,17 @@ bar:
|
||||||
unfocused: {string: {<<: *music}}
|
unfocused: {string: {<<: *music}}
|
||||||
invisible: {string: {<<: [*music, *invisible]}}
|
invisible: {string: {<<: [*music, *invisible]}}
|
||||||
urgent: {string: {<<: [*music, *urgent]}}
|
urgent: {string: {<<: [*music, *urgent]}}
|
||||||
current:
|
|
||||||
map:
|
|
||||||
left-margin: 7
|
|
||||||
tag: application
|
|
||||||
values:
|
|
||||||
"":
|
|
||||||
- map: {<<: *i3_mode}
|
|
||||||
- string: {text: "{title}"}
|
|
||||||
default:
|
|
||||||
list:
|
|
||||||
spacing: 0
|
|
||||||
items:
|
|
||||||
- map: {<<: *i3_mode}
|
|
||||||
- string: {text: "{application}", max: 10, foreground: ffa0a0ff}
|
|
||||||
- string: {text: ": "}
|
|
||||||
- string: {text: "{title}", max: 35}
|
|
||||||
|
|
||||||
|
- foreign-toplevel:
|
||||||
|
content:
|
||||||
|
map:
|
||||||
|
tag: activated
|
||||||
|
values:
|
||||||
|
false: {empty: {}}
|
||||||
|
true:
|
||||||
|
- string: {text: "{app-id}", foreground: ffa0a0ff}
|
||||||
|
- string: {text: ": "}
|
||||||
|
- string: {text: "{title}"}
|
||||||
center:
|
center:
|
||||||
- mpd:
|
- mpd:
|
||||||
host: /run/mpd/socket
|
host: /run/mpd/socket
|
||||||
|
|
Loading…
Add table
Reference in a new issue