summaryrefslogtreecommitdiff
path: root/config/hyprland/waybar/config.jsonc
blob: 5428f79dd59d3affd3c78f8db72242f39a99e746 (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
91
92
93
94
95
96
97
98
{
	"position": "top", 
	"height": 25,

	"modules-left":   ["wlr/workspaces"],
	"modules-center": ["custom/media"],
	"modules-right":  ["battery", "network", "pulseaudio", "clock", "tray"],

	"wlr/workspaces": {
		"disable-scroll": true,
		"all-outputs": true,
		"on-click": "activate",
	//"format": "{icon}",
	"persistent_workspaces": {
		"1": [],
		"2": [],
		"3": [],
		"4": [],
		"5": [],
		"6": [],
		"7": [],
		"8": [],
		"9": [],
		"10": []
	},
	/*"format-icons": {
	  "1": "",
	  "2": "",
	  "3": "",
	  "4": "",
	  "5": "",
	  "6": "",
	  "7": "",
	  "8": "",
	  "9": "",
	  "10": "",
	  "default": "",
	  "active": ""
	}*/
	},
	"battery": {
		"states": {
			"good": 95,
			"warning": 30,
			"critical": 15
		},
		"format": "{capacity}% {icon}",
		"format-charging": "{capacity}% ",
		"format-plugged": "{capacity}% ",
		"format-alt": "{time} {icon}",
		// "format-good": "", // An empty format will hide the module
		// "format-full": "",
		"format-icons": ["", "", "", "", ""]
	},
	"battery#bat2": {
		"bat": "BAT2"
	},
	"clock": {
		"format": "{: %R   %d/%m}",
		"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
	},
	"network": {
		"format-wifi": "  {essid}",
		"format-ethernet": " {essid}",
		"format-linked": "{ifname} (No IP) ",
		"format-disconnected": "睊 Disconnected",
		"tooltip-format-wifi": "Signal Strenght: {signalStrength}% | Down Speed: {bandwidthDownBits}, Up Speed: {bandwidthUpBits}"
	},
	"pulseaudio": {
		"format": "{icon} {volume}%",
		"format-muted": "Muted",
		"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
		"scroll-step": 1,
		"format-icons": {
			"headphone": "",
			"hands-free": "",
			"headset": "",
			"phone": "",
			"portable": "",
			"car": "",
			"default": ["", "", "墳", ""]
		}
	},
	"mpd": {
		"format": "{icon} {}",
		"return-type": "json",
		"max-length": 40,
		"format-icons": {
			"spotify": "",
			"default": ""
		},
		"escape": true,
	},
	"tray": {
		"icon-size": 13,
		"spacing": 10
	},
}