// waybar config — refined hacker-terminal: pill-shaped modules, Nerd Font // icons, subtle spacing/rounding. Ported from ~/.config/polybar/config; // polybar itself is untouched, this only runs under sway. { "layer": "top", "position": "top", "output": "DP-1", "height": 26, "spacing": 0, "margin-top": 0, "margin-bottom": 0, "margin-left": 0, "margin-right": 0, "modules-left": [ "sway/workspaces", "sway/mode" ], "modules-center": [ "custom/blackbeard420" ], "modules-right": [ "disk", "memory", "cpu", "temperature", "network", "clock", "tray" ], "sway/workspaces": { "format": "{index}", "disable-scroll": false, "all-outputs": false }, "sway/mode": { "format": " {} " }, "custom/blackbeard420": { "format": "blackbeard420", "tooltip": false }, "disk": { "path": "/", "interval": 25, "format": " {free}" }, "memory": { "interval": 2, "format": " {used:0.1f}G/{total:0.1f}G ({percentage}%)" }, "cpu": { "interval": 2, "format": " {usage}%" }, "temperature": { "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "critical-threshold": 60, "format": " {temperatureC}°C", "format-critical": " {temperatureC}°C" }, "network": { "interface": "enp42s0", "interval": 3, "format-ethernet": " {ipaddr}", "format-disconnected": " down", "tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}" }, "clock": { "interval": 5, "format": " {:%Y-%m-%d %H:%M}", "tooltip-format": "{:%Y %B}\n{calendar}" }, "tray": { "spacing": 10 } }