{ //  // "layer": "top", // Waybar at top layer "position": "bottom", // Waybar position (top|bottom|left|right) "height": 24, // Waybar height (to be removed for auto height) // "width": 1280, // Waybar width // Choose the order of the modules "modules-left": [ "sway/workspaces", // "sway/language", "sway/mode", "mpd" //"custom/media", ], "modules-center": [ "tray", "idle_inhibitor" //"sway/window", ], "modules-right": [ "network#bridge", "network#wifi", "temperature#wifi", "cpu", "temperature#cpu", // "custom/gpu-usage", "temperature#igpu", "custom/gpu-usage", "memory", "disk", "temperature#nvme", "pulseaudio", "clock" ], // Modules configuration "sway/workspaces": { "disable-scroll": false, "disable-scroll-wraparound": true, "enable-bar-scroll": true, "all-outputs": false, "format": "{icon} {name}", "format-icons": {"urgent": "", "focused": "", "default": ""} //"format-icons": {"1": "", "2": "", "3": "", "4": "", "5": "", "urgent": "", "focused": "", "default": ""} }, "sway/mode": { "format": "{}" }, "mpd": { "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{filename} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩", //  "format-disconnected": "Disconnected", //  "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped", //  "unknown-tag": "", "max-length": 70, "interval": 2, "consume-icons": {"on": " "}, "random-icons": { "off": " ", "on": " " }, "repeat-icons": {"on": " "}, "single-icons": {"on": "1 "}, "state-icons": { "paused": "", "playing": "" }, "tooltip-format": "MPD (connected)", "tooltip-format-disconnected": "MPD (disconnected)" }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" } }, "tray": { // "icon-size": 21, "spacing": 5 }, "clock": { // "timezone": "America/New_York", // "timezone": "", "locale": "ja_JP.utf8", "tooltip-format": "{:%Y %B}\n{calendar}", "format": "{:%A %d %B %H:%M:%S %Z}", "format-alt": "{:%c}", "interval": 1 }, "cpu": { // "format": "{usage:3}%", // "format": " {usage:3}%", // "min-length": 5, // "max-length": 5, "tooltip": true, "interval": 1 }, "custom/gpu-usage": { //"exec": "cat /sys/class/hwmon/hwmon1/device/gpu_busy_percent", // "exec": "cat /sys/class/drm/card0/device/gpu_busy_percent", // "exec": "sed -e :a -e 's/^.\\{1,3\\}$/ &/;ta' /sys/class/drm/card*/device/gpu_busy_percent", // // "format": "GPU: {}%", // "format": "{}%", //"return-type": "", // "min-length": 5, // "max-length": 5, "exec": "/home/luke/.config/waybar/gpu_monitor", "interval": 1 }, "memory": { "format": " {avail:0.1f} GiB free", // when fontawesome updates to 5.0.13, otherwise  "format-alt": " {used:0.1f}/{total:0.1f} GiB", "interval": 5 }, "disk": { "interval": 15, "format": " {free} free", // "format-alt": " {used} used, {free} free", "path": "/" }, "temperature": { //k10temp-pci-00c3 // "thermal-zone": 2, // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "hwmon-path": "/sys/class/drm/card0/device/hwmon/hwmon1/temp1_input", "critical-threshold": 80, // "format-critical": "{temperatureC}°C {icon}", //"format": "{icon} {temperatureC} °C", "format": " {temperatureC}°C", "format-icons": ["", "", ""], "interval": 1 }, "temperature#cpu": { //k10temp-pci-00c3 // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "hwmon-path-abs": "/sys/devices/pci0000:00/0000:00:18.3/hwmon", "input-filename": "temp1_input", "critical-threshold": 92, //°C "format": " {temperatureC}℃", "format-icons": ["", "", ""], "interval": 1 }, "temperature#igpu": { // "hwmon-path": "/sys/class/drm/card0/device/hwmon/hwmon1/temp1_input", "hwmon-path-abs": "/sys/devices/pci0000:00/0000:00:08.1/0000:08:00.0/hwmon", "input-filename": "temp1_input", "critical-threshold": 80, "format": " {temperatureC}℃", "format-icons": ["", "", ""], "interval": 1 }, "temperature#dgpu": { // "hwmon-path": "/sys/class/drm/card1/device/hwmon/hwmon1/temp1_input", "hwmon-path-abs": "/sys/devices/pci0000:00/0000:00:02.3/0000:05:00.0/0000:06:00.0/0000:07:00.0/hwmon", "input-filename": "temp1_input", "critical-threshold": 80, "format": " {temperatureC}℃", "format-icons": ["", "", ""], "interval": 1 }, "temperature#nvme": { //nvme-pci-0100 "hwmon-path": "/sys/class/nvme/nvme0/hwmon0/temp1_input", "critical-threshold": 80, "format": " {temperatureC}℃", "format-icons": ["", "", ""], "interval": 1 }, "temperature#wifi": { //iwlwifi_1-virtual-0 // "hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input", "hwmon-path": "/sys/class/hwmon/hwmon4/temp1_input", // "hwmon-path-abs": "/sys/devices/virtual/thermal/thermal_zone0/", // "input-filename": "temp1_input", "critical-threshold": 80, "format": " {temperatureC}℃", "format-icons": ["", "", ""], "interval": 1 }, "backlight": { // "device": "acpi_video1", "format": "{percent}% {icon}", "format-icons": ["", ""] }, "battery": { "states": { // "good": 95, "warning": 30, "critical": 15 }, "format": "{capacity}% {icon}", "format-charging": "{capacity}% ", "format-plugged": "{capacity}% ", "format-alt": "{time} {icon}", // "format-good": "", // An empty format will hide the module // "format-full": "", "format-icons": ["", "", "", "", ""] }, "battery#bat2": { "bat": "BAT2" }, "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) ", "format-disconnected": "Disconnected ⚠", "format-alt": "{ifname}: {ipaddr}/{cidr}" }, "network#bridge": { "interface": "bridge_wired", // (Optional) To force the use of this interface "format-wifi": " {essid} ({signalStrength}%)", "format-ethernet": " br: {ipaddr} ", "format-linked": "br (No IP) ", "format-disconnected": "Disconnected ⚠", "format-alt": "br: {ipaddr}/{cidr}" }, "network#GBE": { "interface": "enp3s0", // (Optional) To force the use of this interface "format-wifi": " {essid} ({signalStrength}%)", "format-ethernet": " {ifname}: {ipaddr} ", "format-linked": "{ifname} (No IP) ", "format-disconnected": "Disconnected ⚠", "format-alt": "{ifname}: {ipaddr}/{cidr}" }, "network#2.5GBE": { "interface": "eno1", // (Optional) To force the use of this interface "format-wifi": " {essid} ({signalStrength}%)", "format-ethernet": " {ifname}: {ipaddr} ", "format-linked": "{ifname} (No IP) ", "format-disconnected": "Disconnected ⚠", "format-alt": "{ifname}: {ipaddr}/{cidr}" }, "network#wifi": { "interface": "wlp*", // (Optional) To force the use of this interface "format-wifi": " {essid} ({signalStrength}%)", "format-disconnected": "Disconnected ⚠", "format-alt": "{ifname}: {ipaddr}/{cidr}" }, "pulseaudio": { // "scroll-step": 1, // %, can be a float "format": "{volume}% {icon} {format_source}", "format-bluetooth": "{volume}% {icon} {format_source}", "format-bluetooth-muted": " {icon} {format_source}", "format-muted": " {format_source}", "format-source": "{volume}% ", "format-source-muted": "", "format-icons": { "headphone": "", "hands-free": "", "headset": "", "phone": "", "portable": "", "car": "", "default": ["", "", ""] }, "on-click": "pavucontrol" }, "custom/media": { "format": "{icon}{}", "return-type": "json", "format-icons": {"Playing": " ", "Paused": " "}, "max-length":70, "exec": "playerctl metadata --format '{\"text\": \"{{title}}\", \"tooltip\": \"{{playerName}} : {{title}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F", "on-click": "playerctl play-pause", } //"custom/media": { // "format": "{icon} {}", // "return-type": "json", // "max-length": 40, // "format-icons": { // "spotify": "", // "default": "🎜" // }, // "escape": true, // "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder // // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name //} }