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
|
// -*- mode: jsonc -*-
{
// "height": 10,
"spacing": 20,
"reload_style_on_change": true,
"modules-left": [ "niri/workspaces" ],
"modules-center": [],
"modules-right": [
"tray",
"cpu",
"memory",
"network",
"backlight",
"wireplumber",
"battery",
"clock",
"clock#calendar"
],
// MODULES
"niri/workspaces": {
"format": "{value}"
},
"clock": {
"format": "{:%R} ",
"format-alt": "{:%r} "
},
"clock#calendar": {
"format": "{:%a %d %B} ",
"format-alt": "{:%Y-%m-%d} ",
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
},
"actions": {
"on-click": "mode"
}
},
"battery": {
"interval": 60,
"states": {
"warning": 20,
"critical": 10
},
"format": "{capacity}% {icon}",
"format-alt": "({time}) {capacity}% {icon}",
"format-icons": [" "," "," "," "," "," "," "," "," "," "]
},
"wireplumber": {
"format": "{volume}% {icon}",
"format-muted": " ",
"on-click": "pulsemixer",
"format-icons": [" ", " ", " "]
},
"tray": {
"icon-size": 21,
"spacing": 10,
"icons": {
"blueman": "bluetooth",
"TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png"
}
},
"network": {
"format": "{ifname}",
"format-wifi": "{essid} ",
"format-ethernet": "{ipaddr}/{cidr} ",
"format-disconnected": "", //An empty format will hide the module.
"tooltip-format": "{ifname} via {gwaddr} ",
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
"tooltip-format-ethernet": "{ifname} " ,
"tooltip-format-disconnected": "Disconnected",
"max-length": 100
},
"memory": {
"interval": 30,
"format": "{used:0.1f}G "
},
"cpu": {
"interval": 10,
"format": "{}% ",
"max-length": 10
},
"backlight": {
"format": "{percent}% {icon}",
"format-icons": [" "," "," "," "," "," "," "," "," "," "]
},
// NOT ENABLED
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 14,
"icon-theme": "Numix-Circle",
"tooltip-format": "{title}",
"on-click": "activate",
"on-click-middle": "close",
"ignore-list": [
"Alacritty"
],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition"
},
"rewrite": {
"Firefox Web Browser": "Firefox",
"Foot Server": "Terminal"
}
},
"pulseaudio/slider": {
"min": 0,
"max": 100,
"orientation": "horizontal"
}
}
|