|
|
@ -2,29 +2,26 @@
|
|
|
|
"layer": "top",
|
|
|
|
"layer": "top",
|
|
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
|
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
|
|
|
"modules-center": ["custom/date","custom/clock"],
|
|
|
|
"modules-center": ["custom/date","custom/clock"],
|
|
|
|
"modules-right": ["network","battery","custom/nmtui","tray"],
|
|
|
|
"modules-right": ["network","battery","tray"],
|
|
|
|
"sway/window": {
|
|
|
|
"sway/window": {
|
|
|
|
"max-length": 50
|
|
|
|
"max-length": 50
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"network": {
|
|
|
|
"network": {
|
|
|
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
|
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
|
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
|
|
|
"format-wifi": "{essid}: {ipaddr} ({signalStrength}%) ",
|
|
|
|
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
|
|
|
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
|
|
|
"format-linked": "{ifname} (No IP) ",
|
|
|
|
"format-linked": "{ifname} (No IP) ",
|
|
|
|
"format-disconnected": "Disconnected ⚠",
|
|
|
|
"format-disconnected": "Disconnected ⚠",
|
|
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"custom/nmtui": {
|
|
|
|
|
|
|
|
"format": " ",
|
|
|
|
|
|
|
|
"tooltip": "NetworkManager",
|
|
|
|
|
|
|
|
"on-click": "foot --title ~nmtui nmtui"
|
|
|
|
"on-click": "foot --title ~nmtui nmtui"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"custom/clock": {
|
|
|
|
"custom/clock": {
|
|
|
|
"interval": 1,
|
|
|
|
"interval": 1,
|
|
|
|
|
|
|
|
"on-click": "foot --title ~khal khal interactive",
|
|
|
|
"exec": "date \"+%Y-%m-%d %H:%M:%S\""
|
|
|
|
"exec": "date \"+%Y-%m-%d %H:%M:%S\""
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"battery": {
|
|
|
|
"battery": {
|
|
|
|
"format": "{capacity}% {icon}",
|
|
|
|
"format": "{capacity}% {icon}",
|
|
|
|
"format-icons": ["", "", "", "", ""]
|
|
|
|
"format-icons": ["", "", "", "", ""],
|
|
|
|
|
|
|
|
"on-click": "tlpui"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|