-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.jsonc
140 lines (135 loc) · 3.61 KB
/
config.jsonc
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
137
138
139
140
{
// General
"layer": "top",
"position": "top",
"height": 24,
// Module layout
"spacing": 5,
"modules-left": [
"network",
"sway/window"
],
"modules-center": ["sway/workspaces"],
"modules-right": [
"cpu",
"memory",
"temperature",
"pulseaudio",
"backlight",
"bluetooth",
"battery",
"battery#bat2",
"clock",
"tray"
],
// Modules
"sway/workspaces": {
"all-outputs": true,
"disable-scroll": true,
"format": "{icon}",
"format-icons": {
"focused": "",
"urgent": "",
"default": ""
},
"persistent-workspaces": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
"6": [],
"7": [],
"8": [],
"9": [],
"10": []
}
},
"sway/window": {
"format": " {} ",
"max-length": 40,
"interval": 1,
},
"tray": {
"spacing": 10
},
"clock": {
"format-alt": "{:%Y-%m-%d}"
},
// Statiststics
"cpu": {
"format": "CPU: {usage}%",
"tooltip": false
},
"memory": {
"format": "RAM: {used:0.1f}G"
},
"temperature": {
"format": "{temperatureC}°C {icon}",
"critical-threshold": 80,
"format-icons": ["", "", ""]
},
// Indicators
"bluetooth": {
"format": " {status}",
"format-disabled": "",
"format-connected": " {num_connections} connected",
"tooltip-format": "{controller_alias}\t{controller_address}",
"tooltip-format-connected":
"{controller_alias}\t{controller_address}\n\n{device_enumerate}",
"tooltip-format-enumerate-connected":
"{device_alias}\t{device_address}",
"on-click": "blueman-manager"
},
"backlight": {
"format": "{percent}% {icon}",
"format-icons": ["", "", "", "", "", "", "", "", ""]
},
"network": {
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": "",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"phone": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol"
},
// Battery
"battery": {
"bat": "BAT0",
"states": {
"warning": 30,
"critical": 15
},
"format": "{capacity}%",
"format-discharging": "{capacity}% ({power:0.1f}w)",
"format-charging": "{capacity}%",
"format-plugged": "{capacity}%",
"format-alt": "{time} {icon}"
},
"battery#bat2": {
"bat": "BAT1",
"states": {
"warning": 30,
"critical": 15
},
"format": "{capacity}%",
"format-discharging": "{capacity}% ({power:0.1f}w)",
"format-charging": "{capacity}%",
"format-plugged": "{capacity}%",
"format-alt": "{time} {icon}"
}
}