examples: conf: laptop: repair network modules

Closes #374
This commit is contained in:
Daniel Eklöf 2024-04-11 15:47:38 +02:00
parent 3c572c70c9
commit 13f46a314a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -174,13 +174,14 @@ bar:
default: {empty: {}} default: {empty: {}}
conditions: conditions:
name == enp1s0: name == enp1s0:
conditions: map:
~carrier: {empty: {}} conditions:
carrier: ~carrier: {empty: {}}
map: carrier:
default: {string: {text: , font: *awesome, foreground: ffffff66}} map:
conditions: default: {string: {text: , font: *awesome, foreground: ffffff66}}
state == up && ipv4 != "": {string: {text: , font: *awesome}} conditions:
state == up && ipv4 != "": {string: {text: , font: *awesome}}
- network: - network:
poll-interval: 1000 poll-interval: 1000
content: content:
@ -198,10 +199,10 @@ bar:
- string: {text: , font: *awesome} - string: {text: , font: *awesome}
- string: {text: "{ssid} {dl-speed:mb}/{ul-speed:mb} Mb/s"} - string: {text: "{ssid} {dl-speed:mb}/{ul-speed:mb} Mb/s"}
conditions: conditions:
ipv4 == "": ipv4 == "":
- string: {text: , font: *awesome, foreground: ffffff66} - string: {text: , font: *awesome, foreground: ffffff66}
- string: {text: "{ssid} {dl-speed:mb}/{ul-speed:mb} Mb/s", foreground: ffffff66} - string: {text: "{ssid} {dl-speed:mb}/{ul-speed:mb} Mb/s", foreground: ffffff66}
- alsa: - alsa:
card: hw:PCH card: hw:PCH
mixer: Master mixer: Master