94 lines
2.4 KiB
JSON
94 lines
2.4 KiB
JSON
|
// -*- mode: jsonc -*-
|
||
|
{
|
||
|
"layer": "top", // Waybar at top layer
|
||
|
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
||
|
"height": 40, // Waybar height (to be removed for auto height)
|
||
|
// "width": 1280, // Waybar width
|
||
|
"spacing": 8, // Gaps between modules (4px)
|
||
|
// Choose the order of the modules
|
||
|
"margin-top": 20,
|
||
|
"margin-left": 30,
|
||
|
"margin-right": 30,
|
||
|
"margin-bottom": 0,
|
||
|
|
||
|
"modules-left": [
|
||
|
"sway/workspaces"
|
||
|
],
|
||
|
"modules-center": [
|
||
|
"sway/window"
|
||
|
],
|
||
|
"modules-right": [
|
||
|
"cava",
|
||
|
"pulseaudio",
|
||
|
"backlight",
|
||
|
"battery",
|
||
|
"tray",
|
||
|
"clock"
|
||
|
],
|
||
|
|
||
|
"cava": {
|
||
|
"framerate": 30,
|
||
|
"autosens": 1,
|
||
|
"bars": 24,
|
||
|
"lower_cutoff_freq": 50,
|
||
|
"higher_cutoff_freq": 10000,
|
||
|
"method": "pipewire",
|
||
|
"source": "auto",
|
||
|
"stereo": true,
|
||
|
"bar_delimiter": 0,
|
||
|
"noise_reduction": 0.77,
|
||
|
"input_delay": 2,
|
||
|
"hide_on_silence": false,
|
||
|
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█" ]
|
||
|
},
|
||
|
|
||
|
"tray": {
|
||
|
// "icon-size": 21,
|
||
|
"spacing": 10
|
||
|
},
|
||
|
|
||
|
"clock": {
|
||
|
"format": "{:%d/%m/%y, %H:%M}"
|
||
|
},
|
||
|
|
||
|
"backlight": {
|
||
|
// "device": "acpi_video1",
|
||
|
"format": "{percent}% {icon}",
|
||
|
"format-icons": ["", "", "", "", "", "", "", "", ""]
|
||
|
},
|
||
|
"battery": {
|
||
|
"states": {
|
||
|
// "good": 95,
|
||
|
"warning": 30,
|
||
|
"critical": 15
|
||
|
},
|
||
|
"format": "{capacity}% {icon}",
|
||
|
"format-full": "{capacity}% {icon}",
|
||
|
"format-charging": "{capacity}% ",
|
||
|
"format-plugged": "{capacity}% ",
|
||
|
"format-alt": "{time} {icon}",
|
||
|
// "format-good": "", // An empty format will hide the module
|
||
|
// "format-full": "",
|
||
|
"format-icons": ["", "", "", "", ""]
|
||
|
},
|
||
|
"pulseaudio": {
|
||
|
// "scroll-step": 1, // %, can be a float
|
||
|
"format": "{volume}% {icon} ",
|
||
|
"format-bluetooth": "{volume}% {icon} ",
|
||
|
"format-bluetooth-muted": " {icon} ",
|
||
|
"format-muted": " {format_source}",
|
||
|
"format-source": "{volume}% ",
|
||
|
"format-source-muted": "",
|
||
|
"format-icons": {
|
||
|
"headphone": "",
|
||
|
"hands-free": "",
|
||
|
"headset": "",
|
||
|
"phone": "",
|
||
|
"portable": "",
|
||
|
"car": "",
|
||
|
"default": ["", "", ""]
|
||
|
},
|
||
|
"on-click": "pavucontrol"
|
||
|
},
|
||
|
}
|