summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.config/waybar/config
blob: 1a867f43525c812e4de535d235050c6ce10c2389 (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
{
    "layer": "top",
    "position": "top",
    "height": 30,
    "spacing": 4,
    "margin-top": 6,
    "margin-left": 10,
    "margin-right": 10,

    "modules-left": [
        "hyprland/workspaces"
    ],
    "modules-center": [],
    "modules-right": [
        "group/sysmonitor",
        "tray",
        "clock",
        "wireplumber"
    ],

    "group/sysmonitor": {
        "orientation": "horizontal",
        "modules": [
            "cpu",
            "memory",
            "disk"
        ]
    },

    "hyprland/workspaces": {
        "disable-scroll": true,
        "all-outputs": true,
        "format": "{name}",
        "sort-by-number": true
    },

    "cpu": {
        "interval": 10,
        "format": " {}%"
    },

    "memory": {
        "interval": 30,
        "format": " {}%"
    },

    "disk": {
        "interval": 30,
        "format": " {percentage_used}%",
        "path": "/"
    },

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

    "clock": {
        "format": "{:%a %d-%m-%Y %I:%M %p}",
        "tooltip-format": "<small>{calendar}</small>",
        "calendar": {
            "format": {
                "today": "<span color='#daa520'><b><u>{}</u></b></span>"
            }
        }
    },

    "wireplumber": {
        "format": "{volume}% {icon}",
        "format-muted": "Muted 󰝟",
        "format-icons": ["", "", ""],
        "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
        "on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+",
        "on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
    }
}