]> Git — Sourcephile - julm/julm-nix.git/blob - homes/softwares/xmonad/xmobar.hs
backup: try to fix zfs-force-import
[julm/julm-nix.git] / homes / softwares / xmonad / xmobar.hs
1 Config {
2 -- font = "xft:Fixed-8",
3 -- font = "xft:DejaVu Sans Mono:pixelsize=9:antialias=true",
4 -- font = "-*-terminal-*-*-*-*-14-*-*-*-*-*-*-*",
5 font = "-misc-fixed-*-*-*-*-12-*-*-*-*-*-*-*",
6 bgColor = "#000000",
7 fgColor = "#ffffff",
8 position = OnScreen 0 (TopW L 90),
9 lowerOnStart = True,
10 commands =
11 [ Run StdinReader
12 , Run Network "enp0s26u1u1"
13 [ "-t","<rx>vE^<tx> "
14 , "-H","1000000" -- 1000KB/s
15 , "-L", "20000" -- 20KB/s
16 , "-h","red"
17 , "-n","white"
18 , "-m","3"
19 ] 10
20 , Run Network "enp0s25"
21 [ "-t","<rx>vE^<tx> "
22 , "-H","1000000" -- 1000KB/s
23 , "-L", "20000" -- 20KB/s
24 , "-h","red"
25 , "-n","white"
26 , "-m","3"
27 ] 10
28 , Run Network "wlp2s0"
29 [ "-t","<rx><fc=,#666666>vW^</fc><tx> "
30 , "-H","1000000" -- 1000KB/s
31 , "-L", "20000" -- 20KB/s
32 , "-h","red"
33 , "-n","white"
34 , "-m","3"
35 ] 10
36 , Run DateZone "%A %d %H:%M:%S" "fr_FR.UTF-8" "Europe/Paris" "parisTime" 1
37 , Run ThermalZone 0
38 [ "-t","<temp>C"
39 , "-L","70"
40 , "-H","90"
41 , "-h","red"
42 ] 30
43 , Run BatteryP ["BAT0"]
44 [ "-t","<left>B"
45 , "-L","50"
46 , "-H","95"
47 , "-l","red"
48 , "-h","green"
49 ]
50 600
51 ],
52 sepChar = "%",
53 alignSep = "}{",
54 template = "%StdinReader% }{ <fc=#999999>%enp0s26u1u1%%enp0s25%%wlp2s0%%thermal0% %battery% %parisTime%</fc>"
55 }