blob: 7afa83c1c07c8c3c8694fa028de2f4be9df57500 (
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
|
{pkgs, ...}: {
spacing = 4;
modules-left = ["custom/launcher" "hyprland/workspaces"];
modules-center = ["hyprland/window"];
modules-right = ["bluetooth" "wireplumber" "battery" "clock" "custom/power"];
"custom/launcher" = {
format = " ";
on-click = "${pkgs.fuzzel}/bin/fuzzel";
};
"hyprland/workspaces" = {
disable-scroll = true;
all-outputs = true;
warp-on-scroll = false;
format = "{icon}";
format-icons = {
"1" = "";
"2" = "";
"3" = "";
"4" = "";
"5" = "";
};
};
"hyprland/window" = {
on-click = "hyprctl dispatch float";
};
"bluetooth" = {
format = "";
format-connected = " {device_alias}";
};
"battery" = {
format = "{icon} {capacity}%";
format-alt = "{icon}";
format-icons = [" " " " " " " " " "];
};
"wireplumber" = {
format = "{icon} {volume}%";
format-alt = "{icon}";
format-muted = " {volume}%";
format-icons.default = ["" "" ""];
tooltip = false;
};
"clock" = {
format = "{:%I:%M}";
format-alt = "/{:%Y/%b/%d-%a}";
tooltip = false;
};
"custom/power" = {
format = " collin";
tooltip = false;
menu = "on-click";
menu-file = "${./power_menu.xml}";
menu-actions = {
logout = "hyprctl dispatch exit";
reboot = "reboot";
shutdown = "poweroff";
};
};
}
|