arch-waybar/configs/[TOP] Custom Minimal
Nicholai 62ea3661e5 Fix workspace buttons and audio controls
- Changed workspace buttons to use numbers (1-10) instead of icons
- Increased workspace button font size from 8px to 14px for readability
- Fixed workspace button colors: light text on semi-transparent backgrounds
- Added scroll wheel volume control for pulseaudio modules (pamixer)
- Changed to dynamic workspaces with minimum of 1 visible
- Workspace buttons now only show when occupied (not all 10 persistent)
2025-11-23 23:07:49 -07:00

94 lines
1.9 KiB
Plaintext

/* ---- 💫 Custom Minimal Layout 💫 ---- */
// Based on original minimal config with Hyprlust integration
{
"include": "~/.config/waybar/modules",
"layer": "top",
"position": "top",
"margin-top": 8,
"margin-bottom": 0,
"modules-left": [
"hyprland/workspaces#4",
"tray"
],
"modules-center": [
"clock"
],
"modules-right": [
"custom/temps",
"pulseaudio",
"pulseaudio#microphone"
],
// Customize clock format - 12-hour with AM/PM
"clock": {
"format": "{:%I:%M %p %a, %b %e}",
"tooltip": true,
"tooltip-format": "{calendar}",
"calendar": {
"mode": "month",
"on-scroll": 1,
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
}
},
// Pulseaudio with scroll control
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": " Muted",
"on-click": "pamixer -t",
"on-scroll-up": "pamixer -i 5",
"on-scroll-down": "pamixer -d 5",
"scroll-step": 5,
"format-icons": {
"default": ["", "", ""]
}
},
"pulseaudio#microphone": {
"format": "{format_source}",
"format-source": " {volume}%",
"format-source-muted": " Muted",
"on-click": "pamixer --default-source -t",
"on-scroll-up": "pamixer --default-source -i 5",
"on-scroll-down": "pamixer --default-source -d 5",
"scroll-step": 5
},
// Dynamic workspaces with minimum of 1
"hyprland/workspaces#4": {
"format": "{icon}",
"show-special": false,
"active-only": false,
"on-click": "activate",
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"all-outputs": true,
"sort-by-number": true,
"persistent-workspaces": {
"*": 1
},
"format-icons": {
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"10": "10",
"default": "●"
}
}
}