Dot-config/waybar/config.jsonc

133 lines
3.8 KiB
JSON
Raw Normal View History

2025-12-15 17:21:35 +01:00
// -*- 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": [
"sway/workspaces",
"hyprland/workspaces",
"sway/mode",
"hyprland/submap"
//"sway/scratchpad",
//"custom/media"
],
"modules-center": [
"sway/window",
"hyprland/window"
],
"modules-right": [
"tray",
"pulseaudio",
"sway/language",
"hyprland/language",
"custom/notification",
"clock"
],
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"sway/scratchpad": {
"format": "{icon} {count}",
"show-empty": false,
"format-icons": ["", ""],
"tooltip": true,
"tooltip-format": "{app}: {title}"
},
"sway/language": {
"format": "{}",
"on-click": "swaymsg input type:keyboard xkb_switch_layout next",
},
"tray": {
"icon-size": 18,
"spacing":14,
},
"clock": {
"timezone": "Europe/Prague",
"format": "{:%B %d | %H:%M}  ",
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
},
"actions": {
"on-click-right": "mode",
"on-scroll-up": "tz_up",
"on-scroll-down": "tz_down",
"on-scroll-up": "shift_up",
"on-scroll-down": "shift_down"
}
},
"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
},
"custom/notification": {
"tooltip": true,
"format": "<span size='12pt'>{icon}</span>",
"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": {
"workspace-taskbar": {
"enable": true,
"update-active-window": true
}
},
"hyprland/language": {
"format": "{}",
"format-en": "US",
"format-cs": "CZ"
},
"hyprland/workspaces": {
"format": "{icon}",
"format-window-separator": "\n",
"on-scroll-up": "hyprctl dispatch split-cycleworkspacesnowrap next",
"on-scroll-down": "hyprctl dispatch split-cycleworkspacesnowrap prev"
}
}