aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar/config
blob: 082b55a19064bea86b82d96a6d6667effafe36c9 (plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
// vim:ft=json
{
    "modules-left": ["sway/workspaces", "sway/mode"],
    "modules-center": ["sway/window"],
    "modules-right": ["tray", "bluetooth", "network", "pulseaudio", "battery", "clock"],

    "sway/window": {
        "max-length": 50
    },

    "bluetooth": {
        "format": ": {status}",
        "format-connected": ": {device_alias}",
        "format-connected-battery": ": {device_alias} {device_battery_percentage}%"
    },

    "pulseaudio": {
        "format": "{icon}: {volume}%",
        "format-bluetooth": "{icon}: {volume}%",
        "format-muted": "",
        "format-icons": {
            "headphone": "",
            "hands-free": "",
            "headset": "",
            "phone": "",
            "portable": "",
            "car": "",
            "default": ["", ""]
        },
        "scroll-step": 1,
        "on-click": "pavucontrol"
    },

    "network": {
        "format-wifi": ": {essid} ({signalStrength}%)",
        "max-length": 50
    },

    "battery": {
        "format": "{icon}: {capacity}%",
        "format-icons": ["", "", "", "", ""]
    },

    "clock": {
        "format": "{:%a %d %b %H:%M}"
    },

    "tray": {
        "icon-size": 18,
        "spacing": 10
    }
}