You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1023 B
31 lines
1023 B
{
|
|
"layer": "top",
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
|
"modules-center": ["custom/date","custom/clock"],
|
|
"modules-right": ["network","battery","custom/nmtui","tray"],
|
|
"sway/window": {
|
|
"max-length": 50
|
|
},
|
|
"network": {
|
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
|
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
|
"format-linked": "{ifname} (No IP) ",
|
|
"format-disconnected": "Disconnected ⚠",
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
|
},
|
|
"custom/nmtui": {
|
|
"format": " ",
|
|
"tooltip": "NetworkManager",
|
|
"on-click": "foot --title ~nmtui nmtui"
|
|
},
|
|
"custom/clock": {
|
|
"interval": 1,
|
|
"exec": "date \"+%Y-%m-%d %H:%M:%S\""
|
|
},
|
|
"battery": {
|
|
"format": "{capacity}% {icon}",
|
|
"format-icons": ["", "", "", "", ""]
|
|
}
|
|
}
|