nixos-dotfiles

nixos-dotfiles

https://git.tonybtw.com/nixos-dotfiles.git git://git.tonybtw.com/nixos-dotfiles.git
1,989 bytes 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
        "hyprland/workspaces",
11
        "custom/sep",
12
        "hyprland/window",
13
        "custom/sep"
14
    ],
15
    "modules-center": [
16
    ],
17
18
    "modules-right": [
19
        "custom/sep",
20
        "network",
21
        "custom/sep",
22
        "cpu",
23
        "custom/sep",
24
        "memory",
25
        "custom/sep",
26
        "disk",
27
        "custom/sep",
28
        "clock",
29
        "custom/sep",
30
        "tray"
31
    ],
32
33
    // Modules configuration
34
    "hyprland/workspaces": {
35
        "disable-scroll": true,
36
        "all-outputs": true,
37
        "warp-on-scroll": false,
38
        "format": "{name}",
39
        "persistent-workspaces": {
40
            "*" : 9
41
        }
42
    },
43
    "hyprland/window" : {
44
        "max-length": 40,
45
        "seperate-outputs": false
46
    },
47
    "tray": {
48
        // "icon-size": 21,
49
        "spacing": 10
50
        // "icons": {
51
        //   "blueman": "bluetooth",
52
        //   "TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png"
53
        // }
54
    },
55
    "clock": {
56
        "format-alt": "{:%Y-%m-%d}"
57
    },
58
    "cpu": {
59
        "format": "CPU: {usage}%",
60
        "tooltip": false
61
    },
62
    "memory": {
63
        "format": "Mem: {used}GiB"
64
    },
65
    "disk": {
66
        "interval": 60,
67
        "path": "/",
68
        "format": "Disk: {free}"
69
    },
70
    "battery": {
71
        "states": {
72
            "good": 95,
73
            "warning": 30,
74
            "critical": 15
75
        },
76
        "format": "Bat: {capacity}% {icon} {time}",
77
        "format-plugged": "{capacity}% ",
78
        "format-alt": "Bat {capacity}%",
79
        "format-time": "{H}:{M}",
80
        "format-icons": ["", "", "", "", ""]
81
    },
82
    "network": {
83
        "format": "Online",
84
        "format-disconnected": "Disconnected ⚠"
85
    },
86
    "custom/sep": {
87
        "format" : "|",
88
        "interval" : 0
89
    }
90
}