// -*- mode: jsonc -*- { // "layer": "top", // Waybar at top layer // "position": "bottom", // Waybar position (top|bottom|left|right) "height": 62, // 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" ], "modules-center": [ "hyprland/window" ], "modules-right": [ "pulseaudio", "group/traydrawer", "group/powerdrawer", "clock" ], "tray": { // "icon-size": 21, "spacing": 10 // "icons": { // "blueman": "bluetooth", // "TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png" // } }, "clock": { "format": "{:%I:%M %p}", "locale": "ja_JP", "tooltip-format": "{:%Y %B}\n{calendar}", "format-alt": "{:%Y-%m-%d}" }, "memory": { "format": "{}% " }, "pulseaudio": { // "scroll-step": 1, // %, can be a float "format": "{volume}% {icon}", "format-bluetooth": "{volume}% {icon}", "format-bluetooth-muted": " {icon} {format_source}", "format-muted": "", "format-source": "{volume}% ", "format-source-muted": "", "format-icons": { "headphone": "", "hands-free": "", "headset": "", "phone": "", "portable": "", "default": ["", "", ""] }, "on-click": "pwvucontrol" }, "group/traydrawer": { "orientation": "horizontal", "drawer": { "transition-duration": 500 }, "modules": [ "custom/traybutton", "tray" ] }, "custom/traybutton": { "format": "", "tooltip": "false" }, "group/powerdrawer": { "orientation": "horizontal", "drawer": { "transition-duration": 500 }, "modules": [ "custom/power", "custom/exit", "custom/lock" ], "spacing": "20" }, "custom/power": { "format": "", "on-click": "shutdown now", "tooltip": "false" }, "custom/lock": { "format": "󰍁", "on-click": "hyprlock", "tooltip": "false" }, "custom/exit": { "format": "󰗼", "on-click": "hyprctl dispatch exit", "tooltip": "false" }, // "custom/notification": { // "tooltip": true, // "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 // } }