aboutsummaryrefslogtreecommitdiff
path: root/desktop/home/mosder/.config/waybar/config.jsonc
blob: 73a5c38cec44cd962d320445b11a5d193c819e0e (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
    "layer": "top",
    "modules-left": ["hyprland/workspaces"],
    "modules-center": ["hyprland/window"],
    "modules-right": ["hyprland/language", "wireplumber", "backlight", "cpu", "memory", "network", "battery", "clock"],
    "hyprland/workspaces": {
        "format": "{id}{icon}",
        "format-icons": {
            "1": " 󰖟 ",
            "2": "  ",
            "3": "  ",
            "4": "  ",
            "5": "  ",
            "default": ""
        },
        "tooltip": false
    },
    "hyprland/window": {
        "max-length": 50
    },
    "hyprland/language": {
        "format": "{}",
        "format-en": "EN",
        "format-pl": "PL"
    },
    "wireplumber": {
        "format": "{volume}% {icon}",
        "format-icons": ["", "", ""],
        "format-muted": "{volume}% ",
        "tooltip": false,
        "max-volume": 95
    },
    "backlight": {
        "format": "{percent}% {icon}",
        "format-icons": ["󰃞", "󰃟", "󰃠"],
        "tooltip": false
    },
    "cpu": {
        "format": "{usage}% ",
        "interval": 3
    },
    "memory": {
        "format": "{}% ",
        "interval": 3,
        "tooltip-format": "RAM: {percentage}%\nSwap: {swapPercentage}%"
    },
    "network": {
        "format": "{ifname}",
        "format-wifi": "{essid} ({signalStrength}%) ",
        "format-ethernet": "Ethernet ",
        "format-disconnected": "Disconnected",
        "max-length": 50,
        "tooltip": false
    },
    "battery": {
        "format": "{capacity}% {icon}",
        "format-icons": ["", "", "", "", ""],
        "full-at": 99,
        "states": {
            "warning": 30,
            "critical": 15
        },
        "tooltip": false
    },
    "clock": {
        "format": "{:%Y-%m-%d  %H:%M (%Z)}",
        "tooltip-format": "<b>{tz_list}</b>\n<tt><small>{calendar}</small></tt>",
        "timezones": [
            "Europe/Warsaw",
            "Etc/UTC",
            "America/New_York",
            "America/Los_Angeles"
        ],
        "calendar": {
            "format": {
                "months": "<span color='#ffead3'><b>{}</b></span>",
                "days": "<span color='#ecc6d9'><b>{}</b></span>",
                "weekdays": "<span color='#ffcc66'><b>{}</b></span>",
                "today": "<span color='#ff6699'><b>{}</b></span>"
            }
        }
    }
}