summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.config/waybar/config
blob: 3b3a90f3466853e568cc963eb7e82866889dbc85 (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
{
    "layer": "top",
    "position": "top",
    "height": 30,
    "spacing": 4,

    "modules-left": ["hyprland/workspaces"],
    "modules-center": ["hyprland/window"],
    "modules-right": ["tray", "battery", "disk", "clock"],

    "hyprland/workspaces": {
        "format": "{name}",
        "on-click": "activate",
        "sort-by-number": true
    },

    "hyprland/window": {
        "format": "{}",
        "max-length": 50
    },

    "tray": {
        "spacing": 10
    },

    "battery": {
        "bat": "BAT0",
        "interval": 30,
        "states": {
            "warning": 30,
            "critical": 15
        },
        "format": "󱊣 {capacity}% {icon}",
        "format-charging": "󱊣 {capacity}% ",
        "format-plugged": "󱊣 {capacity}% ",
        "format-icons": ["", "", "", "", ""]
    },

    "disk": {
        "interval": 30,
        "format": " {used}/{total}",
        "path": "/"
    },

    "clock": {
        "interval": 30,
        "format": " {:%a %B %d}  󰥔 {:%I:%M %p %Z}",
        "tooltip-format": "<tt>{calendar}</tt>"
    }
}