summaryrefslogtreecommitdiffstats
path: root/.config/waybar/config
blob: 15a4b264a0761cf9a080bc2f69d5ca1d8da8d807 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
    "layer": "bottom",
    "position": "top",
    "height": 25,

    "modules-left": ["sway/workspaces", "sway/mode"],
    "modules-center": ["sway/window"],
    "modules-right": ["tray", "battery", "clock"],
    "sway/workspaces": {
        "format": "{name}",
        "disable-scroll": true
    },
    "sway/mode": {
        "format": " {}"
    },
    "sway/window": {
        "max-length": 80,
        "tooltip": false
    },
    "clock": {
        "format": "{:%a %d %H:%M}",
        "tooltip": false
    },
    "battery": {
        "format": "{capacity}% {icon}",
        "format-alt": "{time} {icon}",
        "format-icons": ["", "", "", "", ""],
        "format-charging": "{capacity}% ",
        "interval": 30,
        "states": {
            "warning": 25,
            "critical": 10
        },
        "tooltip": false
    },
    "tray": {
        "icon-size": 18
    }
}