From 7d715d81a8e89bfd271c710cd89bb0181dc54d18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 24 Oct 2021 17:24:15 +0200 Subject: [PATCH] =?UTF-8?q?example:=20conf:=20use=20foreign-toplevel=20ins?= =?UTF-8?q?tead=20of=20i3=E2=80=99s=20=E2=80=98current=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/configurations/laptop.conf | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/examples/configurations/laptop.conf b/examples/configurations/laptop.conf index 0c31b20..65143cc 100644 --- a/examples/configurations/laptop.conf +++ b/examples/configurations/laptop.conf @@ -105,23 +105,17 @@ bar: unfocused: {string: {<<: *music}} invisible: {string: {<<: [*music, *invisible]}} 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: - mpd: host: /run/mpd/socket