-
Notifications
You must be signed in to change notification settings - Fork 0
/
config
160 lines (160 loc) · 5.59 KB
/
config
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
[
{
"name": "topbar",
"layer": "top",
"position": "top",
"height": 30,
"modules-left": ["sway/workspaces", "disk", "memory", "cpu", "custom/cputemperature", "custom/gputemperature", "pulseaudio", "idle_inhibitor", "custom/media"],
"modules-center": ["wlr/taskbar"],
"modules-right": ["mpd", "sway/mode", "network#vpn", "network#wifi", "network#ethernet", "network#disconnected", "custom/mail", "custom/weather", "clock", "custom/poweroff"],
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"clock": {
"interval": 1,
"format": "<b>{:%H:%M:%S}</b>",
"format-alt": "{:%Y-%m-%d}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
},
"cpu": {
"format": " {usage}%",
"tooltip": false
},
"disk": {
"format": " {}%",
"tooltip-format": "{used} / {total} used"
},
"memory": {
"format": " {}%",
"tooltip-format": "{used:0.1f}G / {total:0.1f}G used"
},
"custom/cputemperature": {
"exec": "python $HOME/.config/waybar/scripts/temps.py cpu",
"interval": 10,
"tooltip": false
},
"custom/gputemperature": {
"exec": "python $HOME/.config/waybar/scripts/temps.py gpu",
"interval": 10,
"tooltip": false
},
"network#disconnected": {
"tooltip-format": "No connection!",
"format-ethernet": "",
"format-wifi": "",
"format-linked": "",
"format-disconnected": "",
"on-click": "nm-connection-editor"
},
"network#ethernet": {
"interface": "enp*",
"format-ethernet": "",
"format-wifi": "",
"format-linked": "",
"format-disconnected": "",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}",
"on-click": "nm-connection-editor"
},
"network#wifi": {
"interface": "wlp*",
"format-ethernet": "",
"format-wifi": " {essid} ({signalStrength}%)",
"format-linked": "",
"format-disconnected": "",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}",
"on-click": "nm-connection-editor"
},
"network#vpn": {
"interface": "tun0",
"format": "",
"format-disconnected": "",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}",
"on-click": "nm-connection-editor"
},
"pulseaudio": {
"scroll-step": 1,
"format": "{icon} {volume}%{format_source}",
"format-bluetooth": "{icon} {volume}%{format_source}",
"format-bluetooth-muted": " {icon}{format_source}",
"format-muted": " {format_source}",
"format-source": " {volume}%",
"format-source-muted": " ",
"format-icons": {
"headphone": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol"
},
"custom/weather": {
"return-type": "json",
"exec": "bash $HOME/.config/waybar/scripts/weather.sh",
"interval": 300,
"on-click": "firefox https://wttr.in"
},
"custom/poweroff": {
"tooltip": false,
"format": "",
"on-click": "bash $HOME/.config/waybar/scripts/poweroff.sh"
},
"custom/mail": {
"tooltip": false,
"exec": "python $HOME/.config/waybar/scripts/mail.py",
"interval": 30,
"on-click": "evolution && swaymsg '[app_id=evolution] focus'"
},
"wlr/taskbar": {
"format": "{icon} {app_id}",
"icon-size": 13,
"tooltip": false,
"on-click": "activate",
"on-click-right": "close"
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"mpd": {
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) [{songPosition}|{queueLength}]",
"format-disconnected": "Disconnected",
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped",
"unknown-tag": "N/A",
"interval": 2,
"consume-icons": {
"on": " "
},
"random-icons": {
"off": "",
"on": " "
},
"repeat-icons": {
"on": " "
},
"single-icons": {
"on": "1 "
},
"state-icons": {
"paused": "",
"playing": ""
},
"tooltip-format": "MPD (connected)",
"tooltip-format-disconnected": "MPD (disconnected)"
},
"custom/media": {
"format": "{icon} {}",
"return-type": "json",
"max-length": 40,
"format-icons": {
"spotify": "",
"default": "🎜"
},
"escape": true,
"exec": "python $HOME/.config/waybar/scripts/mediaplayer.py --player mpc"
}
}
]