// -*- mode: jsonc -*- { // "layer": "top", // Waybar at top layer // "position": "bottom", // Waybar position (top|bottom|left|right) "output": "DP-1", "position": "top", "height": 40, // 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": [ "custom/os_button", "hyprland/workspaces", ], "modules-center": [ "hyprland/window", ], "modules-right": [ "tray", "idle_inhibitor", "network", "custom/notification", "pulseaudio", "clock", ], "custom/os_button": { "format": "", "on-click": "rofi -show drun -theme skycontrast", "tooltip": false }, "custom/notification": { "tooltip": false, "format": "{icon}", "format-icons": { "notification": "", "none": "", "dnd-notification": "", "dnd-none": "", "inhibited-notification": "", "inhibited-none": "", "dnd-inhibited-notification": "", "dnd-inhibited-none": "" }, "return-type": "json", "exec-if": "which swaync-client", "exec": "swaync-client -swb", "on-click": "swaync-client -t -sw", "on-click-right": "swaync-client -d -sw", "escape": true }, "wlr/taskbar": { "format": "{icon}", "icon-size": 28, "spacing": 3, "on-click-middle": "close", "tooltip-format": "{title}", "ignore-list": [], "on-click": "activate" }, "hyprland/workspaces": { "format": "{icon}", "format-icons": { "urgent": "⨀", "active": "⬤", "default": "⬤" }, "persistent-workspaces": { "DP-1": [1,2,3,4,5], } }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" } }, "tray": { "icon-size": 22, "spacing": 10 }, "clock": { "format": "{:%I:%M %p}", "timezone": "America/Chicago", "tooltip-format": "{:%Y %B}\n{calendar}", "format-alt": "{:%Y-%m-%d}" }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface "format-wifi": "({signalStrength}%) ", "format-ethernet": "", "tooltip-format": "{ifname} via {gwaddr}", "format-linked": "{ifname} (No IP)", "format-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} {text}", "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 }, "custom/power": { "format" : "⏻ ", "tooltip": false, "menu": "on-click", "menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder "menu-actions": { "poweroff": "poweroff", "reboot": "reboot", "suspend": "systemctl suspend", "logout": "hyprctl dispatch exit" } } }