summaryrefslogtreecommitdiff
path: root/.config/waybar/config
blob: 4860f680fce459770cf34ca67a81efee7695c594 (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
70
71
72
73
74
{
	"layer": "top",
		"modules-left": ["hyprland/window", "tray"],
		"modules-center": ["hyprland/workspaces"],
		"modules-right": ["wireplumber", "custom/brightness", "battery", "cpu", "memory", "custom/separator", "network", "custom/separator", "clock"],

		"hyprland/workspaces": {
			"format": "{icon}",
			"format-icons": {
				"default": "",
				"active": "",
			},
			"persistent-workspaces": {
				"*": [ 1, 2, 3, 4, 5, 6 ]
			}
		},
		"custom/separator": {
			"exec": "echo \"|\"",
			"format": "{}",
			"class": "separator",
		},
		"custom/brightness": {
			"exec": "get-brightness-percentage",
			"interval": 1,
			"format": "{} 󰃝",
		},
		"network": {
			"format-wifi": "{essid} {signalStrength}% ",
			"format-ethernet": "{ipaddr}/{cidr}",
			"format-disconnected": "Disconnected ",
			"tooltip-format": "{ifname}: {gwaddr}",
			"format": "{ifname}: {essid}",
		},
		"hyprland/window": {
			"format": "{title}",
		},
		"cpu": {
			"format": "{usage}% ",
			"interval": 1,
		},
		"memory": {
			"format": "{percentage}% ",
			"interval": 1,
		},
		"clock": {
			"timezone": "America/New_York",
			"format": "{:%r}",
			"tooltip-format": "{:%d %B %Y}",
			"interval": 1,
		},
		"tray": {
			"icon-size": 8,
			"spacing": 8,
		},
		"wireplumber": {
			"format": "{volume}% {icon}",
			"format-muted": "",
			"tooltip-format": "{volume}% {node_name}",
			"scroll-step": 0,
			"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
			"on-click-right": "helvum",
			"format-icons": ["", "", ""]
		},
		"battery": {
			"bat": "BAT0",
			"interval": 0,
			"format-charging": "{capacity}% 󰂄",
			"format-not charging": "{capacity}% 󰂃",
			"format-discharging": "{capacity}% {icon}",
			"format": "{capacity}% {icon}",
			"format-icons": ["󱊡", "󱊢", "󱊣"],
			"interval": 1,
		},
}