summaryrefslogtreecommitdiff
path: root/common/home/programs/waybar/default.nix
blob: 523277b7c99af6207a1ada4e7c853300a3f064d3 (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
{ ... }:
{
	enable = true;
	systemd.enable = true;
	settings = {
		mainBar = {
			layer = "top";
			position = "top";
			height = 10;
			outputs = "*";
			spacing = 0;
			modules-left = [ "hyprland/workspaces" ];
			modules-center = [ ];
			modules-right = [
				"pulseaudio"
				"bluetooth"
				"battery"
				"tray"
			];

			"hyprland/workspaces" = {
				format = "{icon}";
				format-icons = {
					"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" = "κ";
				};
				all-outputs = false;
			};

			"hyprland/window" = {
				separate-outputs = true;
			};

			bluetooth = {
				format = "";
				format-disabled = "󰂲";
				format-off = "󰂲";
				format-on = "";
				format-connected = "󰂱";
				on-click = "blueberry";
			};

			battery = {
				states = {
					warning = 15;
					critical = 5;
				};
			};

			tray = {
				icon-size = 12;
				spacing = 10;
			};

			"pulseaudio/slider" = {
				min = 0;
				max = 100;
				orientation = "horizontal";
			};
		};
	};
	style = ./style.css;
}