blob: aeac4f4c1963c5da6c2e33a7dad0a92c2495120a (
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
46
47
48
49
50
51
52
53
54
55
|
{ depot, pkgs, ... }:
let
launcher = "${pkgs.xfce4-appfinder}/bin/xfce4-appfinder --disable-server";
in
{
mainBar = {
layer = "top";
position = "bottom";
modules-left = [ "custom/start" ];
"custom/start" = {
format = " Start";
on-click = "xfce4-appfinder --disable-server";
};
modules-right = [ "tray" "backlight" "battery" "pulseaudio" "clock" ];
pulseaudio = {
on-click = "pavucontrol";
format = " "; #styling only
states = {
low = 1;
medium = 40;
high = 75;
};
};
battery = {
format = " "; # styling only
interval = 10;
states = {
full = 100;
good = 85;
medium = 60;
low = 40;
warning = 20;
critical = 10;
};
};
backlight = {
format = "{percent}%"; # styling only
on-scroll-up = "light -A 1";
on-scroll-down = "light -U 1";
};
clock.format-alt = "{:%a, %d. %b %H:%M}";
tray = {
icon-size = 20;
spacing = 10;
};
};
}
|