mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
conf/waybar: import network example
as I don't use NetworkManager, the SSID is nice to know. Direct copy-paste form https://man.archlinux.org/man/waybar-network.5.en
This commit is contained in:
parent
38a675932a
commit
f7a1de9d44
@ -2,7 +2,7 @@
|
|||||||
"layer": "top",
|
"layer": "top",
|
||||||
"position": "left",
|
"position": "left",
|
||||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||||
"modules-right": ["cpu", "memory", "battery", "pulseaudio", "sway/language", "bluetooth", "tray", "clock"],
|
"modules-right": ["cpu", "memory", "battery", "pulseaudio", "sway/language", "network", "bluetooth", "tray", "clock"],
|
||||||
"sway/window": {
|
"sway/window": {
|
||||||
"max-length": 50
|
"max-length": 50
|
||||||
},
|
},
|
||||||
@ -32,6 +32,19 @@
|
|||||||
"format": "KBD {short} {variant}",
|
"format": "KBD {short} {variant}",
|
||||||
"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
|
"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
|
||||||
},
|
},
|
||||||
|
"network": {
|
||||||
|
"interface": "wlan0",
|
||||||
|
"format": "{ifname}",
|
||||||
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||||
|
"format-ethernet": "{ifname} ",
|
||||||
|
"format-disconnected": "", //An empty format will hide the module.
|
||||||
|
"format-disconnected": "",
|
||||||
|
"tooltip-format": "{ifname}",
|
||||||
|
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
|
||||||
|
"tooltip-format-ethernet": "{ifname} ",
|
||||||
|
"tooltip-format-disconnected": "Disconnected",
|
||||||
|
"max-length": 50
|
||||||
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{:%a. %d.\n%b.\n%Y-%j\n%G-W%V-%u\n%F\n%H.%M.%S}"
|
"format": "{:%a. %d.\n%b.\n%Y-%j\n%G-W%V-%u\n%F\n%H.%M.%S}"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user