blob: 89d038c0b4759ba3d12aac04e1a02120bab246ab (
plain) (
blame)
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
|
{pkgs, ...}: {
programs.waybar = {
enable = true;
package = pkgs.waybar-hyprland;
settings = [
{
mainBar = {
layer = "top";
position = "top";
output = [
"eDP-1"
"DP-2"
];
};
modules-left = [
"wlr/workspaces"
"hyprland/mode"
"wlr/taskbar"
];
modules-center = [
"hyprland/window"
];
modules-right = [
"battery"
"clock"
];
"wlr/workspaces" = {
"format" = "{icon}";
"on-scroll-up" = "${pkgs.hyprland}/bin/hyprctl dispatch workspace e+1";
"on-scroll-down" = "${pkgs.hyprland}/bin/hyprctl dispatch workspace e-1";
"on-click" = "activate";
};
"clock" = {
"timezone" = "Europe/Berlin";
"tooltip-format" = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
"format-alt" = "{:%Y-%m-%d}";
};
}
];
systemd = {
enable = true;
target = "hyprland-session.target";
};
};
}
|