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
|
{
"layer": "bottom",
"position": "bottom",
"height": 24,
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": [""],
"modules-right": ["mpd", "network", "idle_inhibitor", "battery", "custom/storage", "cpu", "memory", "custom/weather", "tray", "clock"],
"sway/mode": {
"format": " {}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"clock": {
"format": "{:%a, %b %d | %H:%M}",
"tooltip": true,
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
},
"battery": {
"format": "| {capacity}% {icon} | ",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""],
"format-charging": "{capacity}% CHR",
"interval": 30,
"states": {
"warning": 25,
"critical": 10
},
"tooltip": false
},
"network": {
"interface": "wlp3s0",
"format": "{ifname}",
"format-wifi": "{essid} ({signalStrength}%) | ",
"format-ethernet": "{ifname} ",
"format-disconnected": "", //An empty format will hide the module.
"tooltip-format": "{ifname}",
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
"tooltip-format-ethernet": "{ifname} ",
"tooltip-format-disconnected": "Disconnected",
"on-click": "alacritty -e nmtui",
"tooltip": false
},
"pulseaudio": {
"format": "{icon}",
"format-alt": "{volume} {icon} | ",
"format-alt-click": "click-right",
"format-muted": "",
"format-icons": {
"phone": [" ", " ", " ", " "],
"default": ["", "", "", ""]
},
"scroll-step": 10,
"on-click": "pavucontrol",
"tooltip": false
},
"mpd": {
"format": "{stateIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) | ",
"format-disconnected": "Disconnected ",
"format-stopped": "Stopped ",
"interval": 2,
"state-icons": {
"paused": "",
"playing": ""
},
"tooltip": false,
"on-click": "mpc toggle",
"on-click-right": "mpc next"
},
"custom/storage": {
"format": "{} |",
"format-alt": "{percentage}% ",
"format-alt-click": "click-right",
"return-type": "json",
"interval": 60,
"exec": "$HOME/.config/waybar/modules/storage.sh"
},
"backlight": {
"format": "{icon}",
"format-alt": "{percent}% {icon} | ",
"format-alt-click": "click-right",
"format-icons": ["", ""],
"on-scroll-down": "light -A 1",
"on-scroll-up": "light -U 1"
},
"custom/weather": {
"format": "{} |",
"format-alt": "{alt}: {}",
"format-alt-click": "click-right",
"interval": 1800,
"return-type": "json",
"exec": "$HOME/.config/waybar/modules/weather.sh",
"exec-if": "ping wttr.in -c1"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
},
"tooltip": false
},
"cpu": {
"format": "{usage}% | ",
"tooltip": false
},
"memory": {
"format": "{used:0.1f}G/{total:0.1f}G | "
},
"tray": {
"icon-size": 14
}
}
|