summaryrefslogtreecommitdiff
path: root/home/.config/waybar/config
blob: 6c3897aecca89877cce7da8d93d2c35c149a7f41 (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
{
    "position": "bottom", // Waybar position (top|bottom|left|right)
    "height": 30, // Waybar height (to be removed for auto height)
    "modules-left": ["custom/osname", "sway/workspaces"],
    "include" : ["~/.config/waybar/additional.d/*"],
    // Modules configuration
    "custom/osname": {
        "format": " w<span color=\"#3685D0\"></span>zul "
    },
    "tray": {
        // "icon-size": 21,
        "spacing": 10
    },
    "clock": {
        // "timezone": "America/New_York",
        "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
		"format" : "{:%Y-%m-%d, %a %H:%M}",
        "format-alt": "{:%H:%M}",
		"locale": "en_GB.UTF-8"
    },
    "pulseaudio": {
        // "scroll-step": 1, // %, can be a float
        "format": "{volume}% {icon} {format_source}",
        "format-bluetooth": "{volume}% {icon} {format_source}",
        "format-bluetooth-muted": " {icon} {format_source}",
        "format-muted": " {format_source}",
        "format-source": "{volume}% ",
        "format-source-muted": "",
        "format-icons": {
            "headphone": "",
            "hands-free": "",
            "headset": "",
            "phone": "",
            "portable": "",
            "car": "",
            "default": ["", "", ""]
        },
        "on-click": "pavucontrol"
    },
    "custom/sshd": {
	"format" : " {}",
	"exec" : "bash $HOME/.selfconfigs/waybar/sshd_poll",
	"return-type" : "json",
	"interval" : 60
    }
}