.files/.config/waybar/config
2024-10-17 19:41:08 +02:00

166 lines
3.9 KiB
Text
Executable file

[
{
"battery": {
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-icons": [
"",
"",
"",
"",
""
],
"states": {
"critical": 15,
"warning": 30
}
},
"bluetooth": {
"format": "On ",
"format-connected": "{device_alias} ",
"format-off": "Off ",
"on-click": "blueman-manager",
"on-click-right": "sh $HOME/.config/waybar/scripts/toggle_bluetooth"
},
"cava": {
"actions": {
"on-click-right": "mode"
},
"autosens": 1,
"bar_delimiter": 0,
"bars": 14,
"format-icons": [
"▁",
"▂",
"▃",
"▄",
"▅",
"▆",
"▇",
"█"
],
"framerate": 30,
"higher_cutoff_freq": 10000,
"input_delay": 2,
"lower_cutoff_freq": 50,
"method": "pulse",
"monstercat": false,
"noise_reduction": 0.77,
"reverse": false,
"sensitivity": 100,
"source": "auto",
"stereo": true,
"waves": false
},
"clock": {
"calendar": {
"format": {
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"months": "<span color='#ffead3'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>{}</b></span>"
},
"mode": "year",
"mode-mon-col": 3
},
"format": "{:%R %b %d}",
"on-click": "thunderbird",
"timezone": "Europe/Brussels",
"tooltip-format": "<tt>{calendar}</tt>"
},
"cpu":{
"format": "{}% "
},
"custom/media": {
"escape": true,
"exec": "waybar-mpris --autofocus --order 'SYMBOL:ARTIST:TITLE'",
"on-click": "waybar-mpris --send toggle",
"return-type": "json"
},
"custom/weather": {
"exec": "sh $HOME/.dotfiles/scripts/wittr.sh",
"format": "{}",
"interval": 900,
"return-type": "json",
"spacing": 10,
"tooltip": true
},
"wlr/taskbar": {
"format": "{icon} {app_id}",
"icon-theme": "McMojave-circle-brown",
"active-first": true,
"tooltip-format": "{title} - {name}",
"rewrite": {
"Firefox Web Browser": "Firefox",
"kitty": "Terminal"
},
"on-click": "minimize-raise",
"app_ids-mapping": {
"kitty": "terminal",
"org.kde.dolphin": "dolphin"
},
},
"layer": "bottom",
"margin": "5",
"modules-center": [
],
"modules-left": [
"wlr/taskbar"
],
"modules-right": [
"cpu",
"temperature",
"network",
"bluetooth",
"battery",
"pulseaudio",
"clock",
"tray"
],
"network": {
"format-disabled": "Off 睊",
"format-disconnected": "Disconnected 睊",
"format-wifi": "{essid} [{signalStrength}%] 直",
"on-click": "kitty -e nmtui",
"on-click-right": "$HOME/.config/waybar/scripts/toggle_wifi",
"tooltip-format": "{ifname} @ {ipaddr}"
},
"output": [
"HDMI-A-1",
"DP-1",
"eDP-1"
],
"position": "top",
"pulseaudio": {
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon} ",
"format-icons": [
"奔",
"墳"
],
"format-muted": "婢",
"on-click": "amixer sset Master toggle",
"on-click-right": "pavucontrol",
"scroll-step": 1
},
"reload_style_on_change": true,
"spacing": 0,
"temperature": {
"critical-threshold": 90,
"format": "{temperatureC}°C {icon}",
"format-critical": "{temperatureC}°C ",
"format-icons": [
"",
"",
"",
""
]
},
"tray": {
"icon-size": 18,
"show-passive-items": true,
"spacing": 10
}
}
]