.files/.config/waybar/config

167 lines
3.6 KiB
Text
Executable file

[
{
"custom/workspaces": {
"exec": "sh $HOME/.config/waybar/scripts/workspaces",
"return-type": "json",
"format": "{}",
"markup": "pango",
"env": {
"NUMBER": "4",
"SYMBOLS": ";;;"
}
},
"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"
},
"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",
"height": "28",
"margin": "5",
"modules-center": [
"custom/workspaces",
],
"modules-left": [
"wlr/taskbar"
],
"modules-right": [
"network",
"bluetooth",
"battery",
"pulseaudio",
"clock",
"tray"
],
"network": {
"format-disabled": "Off 睊",
"format-disconnected": "Disconnected 睊",
"format-wifi": "[{signalStrength}%] 直",
"on-click": "kitty -e nmtui",
"on-click-right": "$HOME/.config/waybar/scripts/toggle_wifi",
"tooltip-format": "{ipaddr} @ {essid}"
},
"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": "kitty -e pulsemixer",
"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
}
}
]