Cleanup
This commit is contained in:
parent
422e98952b
commit
3cf5d8837f
|
@ -1,29 +1,13 @@
|
||||||
|
// vi: ft=json5
|
||||||
{
|
{
|
||||||
"layer": "top", // Waybar at top layer
|
"layer": "top",
|
||||||
"position": "top", // Waybar position (top|bottom|left|right)
|
"position": "top",
|
||||||
"height": 36, // Waybar height (to be removed for auto height)
|
"height": 36,
|
||||||
// "width": 1280, // Waybar width
|
|
||||||
// Choose the order of the modules
|
|
||||||
"modules-left": ["idle_inhibitor", "sway/workspaces", "custom/usb", "sway/mode"],
|
"modules-left": ["idle_inhibitor", "sway/workspaces", "custom/usb", "sway/mode"],
|
||||||
"modules-center": ["clock"],
|
"modules-center": ["clock"],
|
||||||
"modules-right": ["network", "pulseaudio", "backlight", "cpu", "memory", "battery", "tray"],
|
"modules-right": ["network", "pulseaudio", "backlight", "cpu", "memory", "battery", "tray"],
|
||||||
// Modules configuration
|
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
//"all-outputs": true,
|
|
||||||
/* "format": "{name}{icon}", */
|
|
||||||
"format-icons": {
|
|
||||||
"1": " \uf120", // terminal
|
|
||||||
"2": " \uf121", // code
|
|
||||||
"3": " \ue007", // firefox-browser
|
|
||||||
"4": " \uf3ed", // shield-alt
|
|
||||||
"5": " \uf0c0", // users
|
|
||||||
"6": " \uf086", // comments
|
|
||||||
"7": "",
|
|
||||||
"8": "",
|
|
||||||
"9": "",
|
|
||||||
"10": " \uf51f", // compact-disc
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"sway/window": {
|
"sway/window": {
|
||||||
"max-length": 64
|
"max-length": 64
|
||||||
|
@ -56,15 +40,6 @@
|
||||||
"memory": {
|
"memory": {
|
||||||
"format": "\uf538 {}%"
|
"format": "\uf538 {}%"
|
||||||
},
|
},
|
||||||
"temperature": {
|
|
||||||
//"thermal-zone": 2,
|
|
||||||
"hwmon-path": "/sys/class/hwmon/hwmon5/temp1_input",
|
|
||||||
"critical-threshold": 90,
|
|
||||||
"format-critical": "Critical! {temperatureC}°C {icon}",
|
|
||||||
"format": "{icon} {temperatureC}°C",
|
|
||||||
"format-icons": ["\uf2cb", "\uf76b", "\uf769"], // thermometer-empty, temperature-low, temperature-high
|
|
||||||
"tooltip": true
|
|
||||||
},
|
|
||||||
"battery": {
|
"battery": {
|
||||||
"states": {
|
"states": {
|
||||||
"good": 95,
|
"good": 95,
|
||||||
|
@ -78,7 +53,6 @@
|
||||||
"format-icons": ["\uf244", "\uf243", "\uf242", "\uf241", "\uf240"] // battery-empty, battery-quarter, battery-half, battery-three-quarters, battery-full
|
"format-icons": ["\uf244", "\uf243", "\uf242", "\uf241", "\uf240"] // battery-empty, battery-quarter, battery-half, battery-three-quarters, battery-full
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
||||||
"format-wifi": " {essid} ({signalStrength}%)",
|
"format-wifi": " {essid} ({signalStrength}%)",
|
||||||
"format-ethernet": " {ifname}: {ipaddr}/{cidr}",
|
"format-ethernet": " {ifname}: {ipaddr}/{cidr}",
|
||||||
"format-linked": " {ifname} (No IP)",
|
"format-linked": " {ifname} (No IP)",
|
||||||
|
@ -111,6 +85,6 @@
|
||||||
"format": "{} USB",
|
"format": "{} USB",
|
||||||
"exec": "$HOME/.config/waybar/usb-status.sh",
|
"exec": "$HOME/.config/waybar/usb-status.sh",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"interval": 1,
|
"interval": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue