Merge branch 'add-i3-mode-to-example-conf'

Closes #27
This commit is contained in:
Daniel Eklöf 2021-01-04 20:25:03 +01:00
commit 7af5e56e4b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -45,6 +45,16 @@ bar:
- urgent: &urgent - urgent: &urgent
foreground: 000000ff foreground: 000000ff
deco: {stack: [background: {color: bc2b3fff}, <<: *std_underline]} deco: {stack: [background: {color: bc2b3fff}, <<: *std_underline]}
- map: &i3_mode
tag: mode
default:
- string:
margin: 5
text: "{mode}"
deco: {background: {color: cc421dff}}
- empty: {right-margin: 7}
values:
default: {empty: {}}
content: content:
"": "":
map: map:
@ -100,11 +110,14 @@ bar:
left-margin: 7 left-margin: 7
tag: application tag: application
values: values:
"": {string: {text: "{title}"}} "":
- map: {<<: *i3_mode}
- string: {text: "{title}"}
default: default:
list: list:
spacing: 0 spacing: 0
items: items:
- map: {<<: *i3_mode}
- string: {text: "{application}", max: 10, foreground: ffa0a0ff} - string: {text: "{application}", max: 10, foreground: ffa0a0ff}
- string: {text: ": "} - string: {text: ": "}
- string: {text: "{title}", max: 35} - string: {text: "{title}", max: 35}