// -*- mode: jsonc -*- { "layer": "top", // Waybar at top layer // "position": "bottom", // Waybar position (top|bottom|left|right) "height": 30, // Waybar height (to be removed for auto height) // "width": 1280, // Waybar width "spacing": 4, // Gaps between modules (4px) // Choose the order of the modules "modules-left": [ "hyprland/workspaces", "tray" ], "modules-center": [ "custom/spotify" ], "modules-right": [ "wireplumber", "network", "cpu", "memory", "temperature", "idle_inhibitor", "clock" ], "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "󰒳", "deactivated": "󰒲" } }, "tray": { // "icon-size": 21, "spacing": 10 }, "clock": { "timezone": "America/New_York", "tooltip-format": "{:%Y %B}\n{calendar}", "format-alt": "{:%Y-%m-%d}", "on-click": "" }, "cpu": { "format": "󰻠 {usage}%", "tooltip": true }, "memory": { "format": "{}% 󰍛" }, "temperature": { // "thermal-zone": 2, // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "critical-threshold": 80, // "format-critical": "{temperatureC}°C {icon}", "format": "{icon} {temperatureC}°C", "format-icons": ["", "", ""] }, "wireplumber": { "format": " {volume}%", "format-mute": " {volume}%" }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface "tooltip-format": "{essid}", "format-wifi": " {signalStrength}%", "format-ethernet": "󰈀", "format-linked": "{ifname} (No IP) ", "format-disconnected": "󰖪" //"format-alt": "{ifname}: {ipaddr}/{cidr}" }, "custom/spotify": { "format": "{}", "return-type": "json", "max-length": 40, "format-icons": { "spotify": "", "default": "🎜" }, "exec": "/usr/bin/python3 $HOME/.config/waybar/modules/mediaplayer.py --player spotify" // Filter player based on name } }