From 86cc3f0918429c30308780098041182015ec49f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 2 Jan 2021 13:09:12 +0100 Subject: [PATCH] examples: laptop: add i3-mode Closes #27 --- examples/configurations/laptop.conf | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/examples/configurations/laptop.conf b/examples/configurations/laptop.conf index d124e72..f6c1df5 100644 --- a/examples/configurations/laptop.conf +++ b/examples/configurations/laptop.conf @@ -45,6 +45,15 @@ bar: - urgent: &urgent foreground: 000000ff deco: {stack: [background: {color: bc2b3fff}, <<: *std_underline]} + - map: &i3_mode + tag: mode + default: + - string: + text: "{mode}" + deco: {background: {color: cc421dff}} + - empty: {right-margin: 7} + values: + default: {empty: {}} content: "": map: @@ -100,11 +109,14 @@ bar: left-margin: 7 tag: application values: - "": {string: {text: "{title}"}} + "": + - 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}