.dotfiles/.config/waybar/config
2023-07-06 23:38:19 +02:00

95 lines
1.6 KiB
Plaintext

{
"layer": "top",
"position": "bottom",
"height": 24,
"spacing": 6,
"mode": "dock",
"modules-left": [
"wlr/workspaces"
],
"modules-center": [
],
"modules-right": [
"network",
"temperature",
"cpu",
"memory",
"custom/pacman",
"custom/weather",
"clock",
"tray"
],
"wlr/workspaces": {
"on-click": "activate",
"all-outputs": true,
"sort-by-number": true,
"persistent_workspaces": {
"01": [],
"02": [],
"03": [],
"04": [],
"05": [],
"06": [],
"07": [],
"08": [],
"09": [],
"10": []
}
},
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"format": "{name}",
"persistent_workspaces": {
"01": [],
"02": [],
"03": [],
"04": [],
"05": [],
"06": [],
"07": [],
"08": [],
"09": [],
"10": []
}
},
"hyprland/window": {
"max-length": 128
},
"clock": {
"interval": 1,
"format": " {:%Y-%m-%d %H:%M:%S}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
},
"cpu": {
"format": " {usage}%"
},
"memory": {
"format": " {percentage}%"
},
"network": {
"format": " {ipaddr}"
},
"temperature": {
"format": " {temperatureC}°C"
},
"tray": {
"spacing": 4
},
"custom/pacman": {
"format": " {}",
"interval": 3600,
"exec": "~/.config/waybar/custom/pacman",
"on-click": "alacritty -e 'archlinux-update'",
"return-type": "json",
"signal": 8
},
"custom/weather": {
"exec": "~/.config/waybar/custom/weather",
"return-type": "json",
"format": "{}",
"tooltip": true,
"interval": 1200
}
}