aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar/config
blob: ac426bef5044f75af325574730fc63c1b9d6e44c (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
{
	"layer": "top", // Waybar at top layer
		"mode": "hide",
		"passthrough": "false",
		"spacing": 0,
		"position": "right", // Waybar position (top|bottom|left|right)
		/* "height": 10, // Waybar height (to be removed for auto height) */
						 // Choose the order of the modules
		"modules-left": ["custom/hour", "custom/minutes", "sway/workspaces"],
		// "modules-center": ["custom/transparent"],
		"modules-right": ["tray", "idle_inhibitor", "network", "pulseaudio", "clock"],
		// Modules configuration
		"sway/workspaces": {
			"disable-scroll": true,
			"all-outputs": true,
			"format": "<span font='15'>{index}</span> <span font='15'>{icon}</span>", 
			"format-icons": {
				"1": "",
				"2": "",
				"3": "",
				"4": "",
				"5": "",
				"6": "",
				"urgent": "",
				"focused": "",
				"default": ""
			}
		},
		"sway/mode": {
			"format": "<span style=\"italic\">{}</span>"
		},
		"idle_inhibitor": {
			"format": "{icon}",
			"format-icons": {
				"activated": "",
				"deactivated": ""
			}
		},
		"tray": {
			"icon-size": 14,
		},
		"clock": {
			// "timezone": "America/Chicago",
			"format": "{:%H\n%M\n%S}",
			"interval": 1,
			"tooltip-format": "{:%m/%d/%y %H:%M:%S}",
			"format-alt": "{:%m\n%d\n%y}"
		},
		"custom/transparent": {
		},
		"cpu": {
			"format": "{usage}% ",
			"tooltip": false
		},
		"memory": {
			"format": "{}% "
		},
		"temperature": {
			"critical-threshold": 80,
			"format": "{temperatureC}°C {icon}",
			"format-icons": [""]
		},
		"pulseaudio": {
			"format": "<span font='18'>{icon}</span>",
			"format-bluetooth": "{volume}% {icon}",
			"format-muted": "",
			"format-icons": {
				"headphone": "",
				"default": ["", ""]
			},
			"scroll-step": 1,
			"on-click": "pavucontrol"
		},
		"network": {
			// "interface": "wlp2*", // (Optional) To force the use of this interface
			"format-wifi": "",
			"format-ethernet": "",
			"tooltip-format": "{ifname} via {gwaddr} ",
			"format-linked": "{ifname} (No IP) ",
			"format-disconnected": "Disconnected ⚠",
		}
}