yambar: simplify wireless network status
1 files changed, 4 insertions(+), 11 deletions(-)

M dot.config/yambar/config.yml
M dot.config/yambar/config.yml +4 -11
@@ 51,7 51,7 @@ bar:
                         conditions:
                           state == up && ipv4 != "": {string: {text: , font: *awesome}}
     - network:
-        poll-interval: 1000
+        poll-interval: 5000
         content:
           map:
             default: {empty: {}}

          
@@ 61,16 61,9 @@ bar:
                   default: {string: {text: , font: *awesome, foreground: ffffff66}}
                   conditions:
                     state == down: {string: {text: , font: *awesome, foreground: ff0000ff}}
-                    state == up:
-                      map:
-                        default:
-                          - 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}
+                    state == up || state == unknown:
+                      - string: {text: , font: *awesome}
+                      - string: {text: "{ssid} {ipv4}"}
     - battery:
         name: BAT0
         poll-interval: 30000