You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/widgets/(Widget)-WiFi.md
+7-4
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
|`label_alt`| string |`"{wifi_name} {wifi_strength}%"`| The alternative label format for the WiFi widget. |
7
7
|`update_interval`| integer |`1000`| Update interval in milliseconds. |
8
8
|`wifi_icons`| list |`[ "\udb82\udd2e", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28" ]`| Icons for different WiFi signal strengths. |
9
+
|`ethernet_icon`| string | "\ueba9" | The icon to indicate Ethernet connection. |
9
10
|`callbacks`| dict |`{ 'on_left': 'next_layout', 'on_middle': 'toggle_monocle', 'on_right': 'prev_layout' }`| Callbacks for mouse events on the widget. |
10
11
|`animation`| dict |`{'enabled': True, 'type': 'fadeInOut', 'duration': 200}`| Animation settings for the widget. |
-**label:** The format string for the active window title. You can use placeholders like `{win[title]}` to dynamically insert window information. Default is `"{icon}"`.
37
39
-**label_alt:** The format string for the active window title when the widget is in the alternative state. Default is `"{wifi_name} {wifi_strength}%"`.
38
40
-**update_interval:** The interval in milliseconds at which the widget updates. Default is `1000`.
41
+
-**ethernet_icon**: The icon that indicates an active Ethernet connection. It will be used as `{wifi_icon}` whenever there's no active WiFi connection. Default is "\ueba9".
39
42
-**wifi_icons:** A list of icons to use for different WiFi signal strengths. Default is `["\udb82\udd2e","\udb82\udd1f","\udb82\udd22","\udb82\udd25","\udb82\udd28",]`.
40
43
-**callbacks:** A dictionary of callbacks for mouse events on the widget. Default is `{'on_left': 'toggle_label', 'on_middle': 'do_nothing', 'on_right': 'do_nothing'}`.
41
44
-**animation:** A dictionary specifying the animation settings for the widget. It contains three keys: `enabled`, `type`, and `duration`. The `type` can be `fadeInOut` and the `duration` is the animation duration in milliseconds.
0 commit comments