nix fmt
This commit is contained in:
parent
21f96dc68e
commit
b06e3582ff
23 changed files with 597 additions and 197 deletions
|
|
@ -10,7 +10,8 @@ M.BarSection {
|
|||
const parts = [];
|
||||
if (root.state === "wifi") {
|
||||
parts.push("WiFi: " + root.essid);
|
||||
if (root.signal) parts.push("Signal: " + root.signal + "%");
|
||||
if (root.signal)
|
||||
parts.push("Signal: " + root.signal + "%");
|
||||
} else if (root.state === "eth") {
|
||||
parts.push("Ethernet");
|
||||
} else if (root.state === "linked") {
|
||||
|
|
@ -18,8 +19,10 @@ M.BarSection {
|
|||
} else {
|
||||
return "Disconnected";
|
||||
}
|
||||
if (root.ipAddr) parts.push("IP: " + root.ipAddr);
|
||||
if (root.ifname) parts.push("Interface: " + root.ifname);
|
||||
if (root.ipAddr)
|
||||
parts.push("IP: " + root.ipAddr);
|
||||
if (root.ifname)
|
||||
parts.push("Interface: " + root.ifname);
|
||||
return parts.join("\n");
|
||||
}
|
||||
|
||||
|
|
@ -96,7 +99,10 @@ M.BarSection {
|
|||
|
||||
TapHandler {
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
onTapped: { menuLoader.active = !menuLoader.active; M.FlyoutState.visible = false; }
|
||||
onTapped: {
|
||||
menuLoader.active = !menuLoader.active;
|
||||
M.FlyoutState.visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
Loader {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue