summaryrefslogtreecommitdiff
path: root/artix/home/.config/waybar/config.jsonc
blob: c13824a6970ada1a1c161357117ee82a449b1cce (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
	"margin-top": 15,
	"margin-left": 15,
	"margin-right": 15,
	"layer": "top",
	"position": "top",
	"spacing": 3,
	// All modules : battery, pulseaudio, tray, hyprland/workspaces, clock, cpu, memory, network
	"modules-left": [
		"hyprland/workspaces",
		"hyprland/window"
	],
	"modules-center": [
		"clock"
	],
	"modules-right": [
		"tray",
		"battery",
		"pulseaudio",
		"temperature",
		"cpu",
		"memory",
		"network"
	],
	"temperature": {
		"format": "TEMP: {temperatureC}°C",
		"hwmon-path": [
			"/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input"
		],
		"critical-threshold": 65,
		"interval": 3
	},
	"hyprland/workspaces": {
		"format": "{id}",
		"show-special": true
	},
	"hyprland/window": {
		"format": "{initialTitle}",
		"tooltip": false,
		"icon": true
	},
	"network": {
		"format": "{ifname}",
		"format-disconnected": "NULL",
		"interval": 5,
		"tooltip": true,
		"tooltip-format": "{essid}"
	},
	"cpu": {
		"format": "CPU: {usage}%",
		"interval": 3,
		"states": {
			"warning": 40,
			"urgent": 60,
			"critical": 80
		}
	},
	"memory": {
		"format": "MEM: {percentage}%",
		"format-alt": "MEM: {used} GiB",
		"interval": 3,
		"states": {
			"warning": 40,
			"urgent": 60,
			"critical": 80
		},
		"tooltip": true,
		"tooltip-format": "{used}/{total} GiB"
	},
	"pulseaudio": {
		"format": "VOL: {volume}%",
		"format-bluetooth": "VOL: {volume}%",
		"format-muted": "MUTED",
		"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
	},
	"battery": {
		"format": "BAT: {capacity}%",
		"interval": 5,
		"states": {
			"warning": 60,
			"urgent": 35,
			"critical": 20
		}
	},
	"clock": {
		"format": "{:%H:%M:%S - %a %d %B %Y}",
		"tooltip": false,
		"interval": 1
	}
}