From 13f46a314a433e899671212545c5468a37f3150f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 11 Apr 2024 15:47:38 +0200 Subject: [PATCH] examples: conf: laptop: repair network modules Closes #374 --- examples/configurations/laptop.conf | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/examples/configurations/laptop.conf b/examples/configurations/laptop.conf index cee2639..e57ebb3 100644 --- a/examples/configurations/laptop.conf +++ b/examples/configurations/laptop.conf @@ -174,13 +174,14 @@ bar: default: {empty: {}} conditions: name == enp1s0: - conditions: - ~carrier: {empty: {}} - carrier: - map: - default: {string: {text: , font: *awesome, foreground: ffffff66}} - conditions: - state == up && ipv4 != "": {string: {text: , font: *awesome}} + map: + conditions: + ~carrier: {empty: {}} + carrier: + map: + default: {string: {text: , font: *awesome, foreground: ffffff66}} + conditions: + state == up && ipv4 != "": {string: {text: , font: *awesome}} - network: poll-interval: 1000 content: @@ -198,10 +199,10 @@ bar: - string: {text: , font: *awesome} - string: {text: "{ssid} {dl-speed:mb}/{ul-speed:mb} Mb/s"} - conditions: - ipv4 == "": - - string: {text: , font: *awesome, foreground: ffffff66} - - string: {text: "{ssid} {dl-speed:mb}/{ul-speed:mb} Mb/s", foreground: ffffff66} + conditions: + ipv4 == "": + - string: {text: , font: *awesome, foreground: ffffff66} + - string: {text: "{ssid} {dl-speed:mb}/{ul-speed:mb} Mb/s", foreground: ffffff66} - alsa: card: hw:PCH mixer: Master