summaryrefslogtreecommitdiff
path: root/.config/waybar/config
blob: 0c493cb07848dd4d504bc07b73d61456013e1de6 (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
53
54
55
56
57
58
59
60
61
62
{
    "layer": "top",
    "position": "top",
    "height": 10, 
    "spacing": 5,

    "modules-left": ["sway/workspaces"],
    "modules-right": ["wireplumber", "backlight", "battery", "group/net" ,"clock"],


    "group/net": {
        "orientation": "horizontal",
        "modules": ["network", "bluetooth"]
    },

    "sway/workspaces": {
        "disable-scroll": true,
        "all-outputs": true,
        "format": "{name}",
        "on-click": "activate"
    },

    "clock": {
        "format": "{:%d.%m.%Y   %H:%M}"
    },

    "wireplumber": {
        "format": "{volume}% 󰕾",
        "format-muted": "󰖁",  
        "max-volume": 100,
        "scroll-step": 5,
        "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle" 
    },

    "battery": {
        "bat": "BAT0",
        "interval": 10,
        "format": "{icon} {capacity}% ({time})",
        "format-charging": "󱐋 {icon} {capacity}%", 
        "format-plugged": " {capacity}%",     
        "format-icons": ["", "", "", "", ""],
        "tooltip-format": "{timeTo}"
    },

    "backlight": {
        "format": "{percent}% 󰃟"
    },

    "network": {
        "format-ethernet": "󰈀 ",
        "format-wifi": "{icon} ",
        "format-disconnected": "󰤮 ",
        "format-icons": ["󰤯", "󰤟", "󰤢", "󰤥", "󰤨"],
        "tooltip-format-wifi": "{essid} ({signalStrength}%)"
    },

    "bluetooth": {
        "format": "󰂯",
        "format-disabled": "󰂲",
        "format-connected": "󰂱"
    }
}