// -*- mode: jsonc -*- { // "layer": "top", // Waybar at top layer // "position": "bottom", // Waybar position (top|bottom|left|right) "height": 26, // 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" //"hyprland/submap" //"wlr/taskbar" ], "modules-center": [ "hyprland/window" ], "modules-right": [ "tray", "pulseaudio", "hyprland/language", "custom/notification", "clock", "custom/power" ], "tray": { "icon-size": 18, "spacing":14 }, "wlr/taskbar" : { "current-output": true, "all-outputs": false }, "clock": { "timezone": "Europe/Prague", "format": "{:%a %B %d %H:%M}", "tooltip": false }, "pulseaudio": { // "scroll-step": 1, // %, can be a float "format": "{volume}% {icon}", "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" }, "hyprland/window": { "separate-outputs": true, "max-length": 32, "rewrite": { "^$": "megnas@megnas" } }, "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 }, "hyprland/workspaces": { "format": "{icon}: {windows}", "workspace-taskbar": { // Enable the workspace taskbar. Default: false "enable": true, // If true, the active/focused window will have an 'active' class. Could cause higher CPU usage due to more frequent redraws. Default: false "update-active-window": true, // Format of the windows in the taskbar. Default: "{icon}". Allowed variables: {icon}, {title} "format": "{icon}", // Icon size in pixels. Default: 16 "icon-size": 20, // Either the name of an installed icon theme or an array of themes (ordered by priority). If not set, the default icon theme is used. "icon-theme": "some_icon_theme", // Orientation of the taskbar ("horizontal" or "vertical"). Default: "horizontal". "orientation": "horizontal" } }, "hyprland/language": { "format": "{}", "format-en": "US", "format-cs": "CZ" }, "custom/power": { "format": "⏻ ", "tooltip": false, "on-click": "~/.scripts/power.sh" } }