diff --git a/waybar/.config/waybar/config b/waybar/.config/waybar/config index 25a8175..e22e083 100644 --- a/waybar/.config/waybar/config +++ b/waybar/.config/waybar/config @@ -1,29 +1,13 @@ +// vi: ft=json5 { - "layer": "top", // Waybar at top layer - "position": "top", // Waybar position (top|bottom|left|right) - "height": 36, // Waybar height (to be removed for auto height) - // "width": 1280, // Waybar width - // Choose the order of the modules + "layer": "top", + "position": "top", + "height": 36, "modules-left": ["idle_inhibitor", "sway/workspaces", "custom/usb", "sway/mode"], "modules-center": ["clock"], "modules-right": ["network", "pulseaudio", "backlight", "cpu", "memory", "battery", "tray"], - // Modules configuration "sway/workspaces": { "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": { "max-length": 64 @@ -56,15 +40,6 @@ "memory": { "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": { "states": { "good": 95, @@ -78,7 +53,6 @@ "format-icons": ["\uf244", "\uf243", "\uf242", "\uf241", "\uf240"] // battery-empty, battery-quarter, battery-half, battery-three-quarters, battery-full }, "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)", @@ -111,6 +85,6 @@ "format": "{} USB", "exec": "$HOME/.config/waybar/usb-status.sh", "return-type": "json", - "interval": 1, + "interval": 1 } }