mango/config.jsonc 1.7 K raw
1
// -*- mode: jsonc -*-
2
{
3
    "layer": "top", 
4
    "position": "top", 
5
    "height": 30, 
6
    "spacing": 4, 
7
8
    // Choose the order of the modules
9
    "modules-left": [
10
        "ext/workspaces",
11
        "custom/sep",
12
        "dwl/window",
13
        "custom/sep"
14
    ],
15
    "modules-center": [
16
    ],
17
18
    "modules-right": [
19
        "custom/sep",
20
        "cpu",
21
        "custom/sep",
22
        "memory",
23
        "custom/sep",
24
        "disk",
25
        "custom/sep",
26
        "clock",
27
        "custom/sep",
28
        "tray"
29
    ],
30
31
    // Modules configuration
32
    "ext/workspaces": {
33
        "format": "{icon}",
34
        "ignore-hidden": false,
35
        "on-click": "activate",
36
        "sort-by-id": true
37
    },
38
    "dwl/window" : {
39
        "format": "[{layout}]{title}"
40
    },
41
    "tray": {
42
        // "icon-size": 21,
43
        "spacing": 10
44
        // "icons": {
45
        //   "blueman": "bluetooth",
46
        //   "TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png"
47
        // }
48
    },
49
    "clock": {
50
        "format-alt": "{:%Y-%m-%d}"
51
    },
52
    "cpu": {
53
        "format": "CPU: {usage}%",
54
        "tooltip": false
55
    },
56
    "memory": {
57
        "format": "Mem: {used}GiB"
58
    },
59
    "disk": {
60
        "interval": 60,
61
        "path": "/",
62
        "format": "Disk: {free}"
63
    },
64
    "battery": {
65
        "states": {
66
            "good": 95,
67
            "warning": 30,
68
            "critical": 15
69
        },
70
        "format": "Bat: {capacity}% {icon} {time}",
71
        "format-plugged": "{capacity}% ",
72
        "format-alt": "Bat {capacity}%",
73
        "format-time": "{H}:{M}",
74
        "format-icons": ["", "", "", "", ""]
75
    },
76
    "custom/sep": {
77
        "format" : "|",
78
        "interval" : 0
79
    }
80
}