aboutsummaryrefslogtreecommitdiff
path: root/waybar-vert/dot-config/waybar/config.jsonc
blob: 87887657f9e816ca792dd551ed8e132762a358a4 (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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
    "position": "right",
    "exclusive": false,
    "layer": "top",
    "margin": "5 2 5 0",
    // "height": 18,
    "spacing": 5,
    "reload_style_on_change": true,
    "modules-left": [
    ],
    "modules-right": [
    ],
    "modules-center": [
        "niri/workspaces",
        "custom/weather",
        "idle_inhibitor",
        "wireplumber",
        "network",
        "power-profiles-daemon",
        "backlight",
        "niri/language",
        "battery",
        "tray",
        "clock"
    ],
    "idle_inhibitor": {
        "format": "{icon}",
        "format-icons": {
            "activated": "󰒳",
            "deactivated": "󰒲"
        }
    },
    "tray": {
        "icon-size": 12,
        "spacing": 5
    },
    "clock": {
        "interval": 60,
        "format": "{:%a\n%d\n%b\n\n%H\n%M}",
        "tooltip-format": "<big>{:%Y %B}</big>\n<tt>{calendar}</tt>",
        "justify": "center"
    },
    "backlight": {
        "format": "{icon}",
        "format-icons": [
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            ""
        ],
        "tooltip-format": "{percent}%"
    },
    "battery": {
        "states": {
            "warning": 30,
            "critical": 10
        },
        "format": "{icon}\n{capacity}",
        "format-full": "{icon}",
        "format-charging": "󰢝\n{capacity}%",
        "format-plugged": "",
        "format-icons": [
            "",
            "",
            "",
            "",
            ""
        ],
        "justify": "center",
        "tooltip-format": "{capacity}% {power}W ({time})"
    },
    "power-profiles-daemon": {
        "format": "{icon}",
        "tooltip-format": "Power profile: {profile}\nDriver: {driver}",
        "tooltip": true,
        "format-icons": {
            "performance": "",
            "balanced": "󰞍",
            "power-saver": ""
        }
    },
    "network": {
        "format-wifi": "",
        "format-ethernet": "",
        "format-disconnected": "󰲛",
        "tooltip-format-ethernet": "{ipaddr}/{cidr}",
        "tooltip-format-wifi": "{essid} ({signalStrength}%) {gwaddr}",
        "tooltip-format-disconnected": "Disconnected",
        "format-linked": "-",
        "justify": "center",
        "on-click": "runapp -o -- alacritty -e impala"
    },
    "wireplumber": {
        "format": "{icon}",
        "format-muted": "",
        "on-click": "runapp -o -- alacritty -e bash -c 'wpctl status | less'",
        "on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && update-led-mute sink",
        "max-volume": 100,
        "scroll-step": 5,
        "format-icons": {
            "headphone": "",
            "hands-free": "",
            "headset": "",
            "phone": "",
            "portable": "",
            "car": "",
            "default": [
                "",
                "",
                ""
            ]
        },
        "justify": "center"
    },
    "niri/language": {
        "format": "{}",
        "format-en": "en",
        "format-fa": "فا"
    },
    "niri/window": {
        "icon": true,
        "icon-size": 13
    },
    "custom/weather": {
        "format": "{}°",
        "tooltip": true,
        "interval": 3600,
        "exec": "wttrbar",
        "return-type": "json"
    }
}