summaryrefslogtreecommitdiff
path: root/config/hyprland/waybar/config.jsonc
blob: 456d85d65bf12f3e1ee537a1566dc043812b73f1 (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
{
	"layer": "top",
	"modules-left": ["battery", "wlr/workspaces", "mpd"],
	"modules-center": ["hyprland/window"],
	"modules-right": ["network", "pulseaudio", "temperature", "cpu", "custom/memory", "clock", "tray"],
	"wlr/workspaces": {
		"on-click": "activate",
	},
	"mpd": {
		"tooltip": false,
		"format": "{artist} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})",
		"artist-len": 24,
		"format-disconnected": "ﳌ",
		"format-stopped": "",
		"state-icons": {
			"playing": "",
			"paused": "",
		},
		"on-click": "mpc toggle",
	},
	"battery": {
		"interval": 10,
	},
	"hyprland/window": {
		"format": "{}",
		"separate-outputs": true,
	},
	"pulseaudio": {
		"tooltip": false,
		"scroll-step": 5,
		"format": "{icon} {volume}%",
		"format-icons": {
			"default": ["奄", "奔", "墳"]
		},
		"on-click": "pavucontrol",
	},
	"temperature": {
		"interval": 3,
		"format": "{icon} {temperatureC}°C",
		"format-icons": {
			"default":["", "", "", "", ""]
		},
	},
	"network": {
		"format-wifi": "",
		"tooltip-format-wifi": "{ifname} {essid}",
		"format-ethernet": "",
		"tooltip-format-ethernet": "{ifname} {ipaddr}",
		"format-disconnected": "裏",
	},
	"cpu": {
		"tooltip": false,
		"format": " {usage:2}%",
		"interval": 3,
	},
	"custom/memory": {
		"exec": "free -h | awk '(NR==2){ print $3 }'",
		"format": "{}",
		"restart-interval": 3,
	},
	"clock": {
		"format": "{:%H:%M}",
		"format-alt": " {:%A, %B %d, %Y (%R)}",
		"interval": 1,
	},
	"tray": {
		"spacing": 5,
	}
}