{ // Bar Options "output": "DP-3", "position": "left", "width": 36, "margin-left": 8, "margin-top": 8, "margin-bottom": 8, // Placing Modules "modules-left": [ "clock", "custom/cpu-label", "cpu", "custom/memory-label", "memory", "custom/disk-label", "disk", "custom/nvidia-label", "custom/nvidia" ], "modules-center": [ "niri/workspaces" ], "modules-right": [ "wireplumber#source", "wireplumber#sink", "tray", "custom/power" ], // Module Configuration "niri/workspaces": { "format": "{icon}", "format-icons": { "active": "󰄯", "default": "󰄰" } }, "clock": { "interval": 60, "format": "{:%H\n%M}", "format-alt": "{:%d\n%m}", "tooltip": false, "justify": "center" }, "custom/cpu-label": { "format": "CPU", "tooltip": false }, "cpu": { "interval": "30", "format": "{usage}%", "max-length": 2 }, "custom/memory-label": { "format": "MEM", "tooltip": false }, "memory": { "interval": "30", "format": "{percentage}%", "max-length": 2 }, "custom/disk-label": { "format": "SSD", "tooltip": false }, "disk": { "interval": "30", "format": "{percentage_used}%", "max-length": 2 }, "custom/nvidia-label": { "format": "GPU", "tooltip": false }, "custom/nvidia": { "exec": "nvidia-smi --query-gpu=temperature.gpu --format=csv,nounits,noheader", "format": "{}°", "tooltip": false, "interval": 10 }, "wireplumber#source": { "node-type": "Audio/Source", "on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle", "on-click-right": "pwvucontrol", "scroll-step": 5.0, "tooltip-format": "{node_name} ({source_volume}%)", "format": "{icon}", "format-muted": "󰍭", "format-icons": { "default": [ "󰍬" ] } }, "wireplumber#sink": { "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", "on-click-right": "pwvucontrol", "scroll-step": 5.0, "tooltip-format": "{node_name} ({volume}%)", "format": "{icon}", "format-muted": "󰖁", "format-icons": { "default": [ "󰕿", "󰖀", "󰕾" ] } }, "tray": { "icon-size": 14, "spacing": 18 }, "custom/power": { "format": "󰐥", "tooltip": false, "menu": "on-click", "menu-file": "~/.config/waybar/power_menu.xml", "menu-actions": { "lock": "hyprlock", "reboot": "reboot", "shutdown": "shutdown" } } }