dotfiles/.config/waybar/config

87 lines
2.5 KiB
Plaintext
Raw Normal View History

2023-12-01 21:11:36 +01:00
{
"layer": "top", // Waybar at top layer
2024-01-20 00:03:32 +01:00
"height": 35, // Waybar height (to be removed for auto height)
2023-12-01 21:11:36 +01:00
"spacing": 4, // Gaps between modules (4px)
2024-03-26 12:59:04 +01:00
"output": "DP-3",
2023-12-13 00:16:13 +01:00
"modules-left": ["wlr/taskbar"],
2023-12-01 21:11:36 +01:00
"modules-center": ["hyprland/workspaces"],
2024-01-20 00:03:32 +01:00
"modules-right": ["tray", "wireplumber", "cpu#cpu2", "cpu", "memory", "custom/updates", "temperature", "battery", "clock", "clock#clock2"],
2023-12-13 00:16:13 +01:00
"wlr/taskbar": {
"on-click": "activate",
"on-click-right": "close",
2024-01-20 00:03:32 +01:00
"format": "{icon} {title:.20}",
2024-01-07 14:56:12 +01:00
"all-outputs": true
2023-12-13 00:16:13 +01:00
},
2023-12-01 21:11:36 +01:00
"wireplumber": {
"format": "{icon} {volume}%",
"format-muted": "",
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
"format-icons": ["", "", ""]
},
"hyprland/workspaces": {
"disable-scroll": true,
2023-12-02 17:33:12 +01:00
"all-outputs": true,
2023-12-02 12:42:53 +01:00
"warp-on-scroll": false,
"format": "{name}"
2023-12-01 21:11:36 +01:00
},
2023-12-02 00:03:50 +01:00
"hyprland/window": {
"max-length": 50,
},
2023-12-01 21:11:36 +01:00
"tray": {
// "icon-size": 21,
"spacing": 10
},
2024-01-20 00:03:32 +01:00
"clock#clock2": {
2023-12-01 21:11:36 +01:00
"timezone": "Europe/Brussels",
"format": "{:%H:%M:%S}",
"interval": 1,
2024-01-07 14:56:12 +01:00
},
2024-01-20 00:03:32 +01:00
"clock": {
2024-01-07 14:56:12 +01:00
"timezone": "Europe/Brussels",
"format": "{:%Y-%m-%d}",
"interval": 3600,
2023-12-01 21:11:36 +01:00
},
"cpu": {
"format": "{max_frequency}GHz",
"tooltip": false,
"interval": 5
},
2023-12-02 17:33:12 +01:00
"cpu#cpu2": {
"format": "CPU {usage}%",
"tooltip": false,
"interval": 5
},
2023-12-02 00:03:50 +01:00
"custom/updates": {
"exec": "bash -c \"checkupdates | wc -l\"",
"on-click": "alacritty -e bash -c \"yay ; echo '\nDone, press any key to exit...' ; read\"",
"interval": 60,
"format": "{}  ",
},
2023-12-01 21:11:36 +01:00
"memory": {
"interval": 5,
"format": "{used:0.2f}G"
},
"temperature": {
2023-12-02 17:33:12 +01:00
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"interval": 5,
2023-12-01 21:11:36 +01:00
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C",
// "format-icons": ["", "", ""]
},
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon}",
2023-12-07 22:24:13 +01:00
"tooltip-format": "{capacity}% ({time})",
2023-12-01 21:11:36 +01:00
"format-plugged": "{capacity}% ",
"format-alt": "{capacity}% {time} {icon}",
"format-icons": [" ", " ", " ", " ", " "]
},
}