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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
-- https://projects.haskell.org/xmobar/
-- uses font awesome
-- vim:se syntax=haskell:
Config { font = "xft:Lato:weight=bold:pixelsize=12:antialias=true:hinting=true"
, additionalFonts = [ "xft:Font Awesome 5 Free Solid:pixelsize=12"
, "xft:Font Awesome 5 Brands:pixelsize=14"
-- sitelen pona pona by jackhumbert
--, "xft:sitelen\-pona:pixelsize=20:antialias=true:hinting=true"
-- linja pona
, "xft:linja pona:pixelsize=22:antialias=true:hinting=true"
]
, bgColor = "#19191a"
, fgColor = "#cadcde"
, position = TopSize C 100 24
, lowerOnStart = True
, hideOnStart = False
, persistent = True
, iconRoot = ".xmonad/xpm/"
, commands = [ Run UnsafeStdinReader
, Run Com "uname" ["-r"] "" 0
, Run Uptime
["-t"
-- normie
--, "<fc=#7f9848><fn=1>\xf017</fn> uptime: <days>d</fc>"
-- sitelen pona pona by jackhumbert
--, "<fc=#7f9848><fn=3>\xee6b\xee64\xee3d</fn><days></fc>"
-- linja pona
, "<fc=#7f9848><fn=3>\xe66b\xe664\xe63d</fn><days></fc>"
-- tenpo suno nanpa
] 60
, Run Cpu
["-t"
-- normie
--, "<fc=#c74444><fn=1>\xf108</fn>cpu: <total>%</fc>"
-- sitelen pona pona by jackhumbert
--, "<fc=#c74444><fn=3>\xee24\xee4d\xee0e\xee3d</fn>: <total>%</fc>"
-- linja pona
, "<fc=#c74444><fn=3>\xe624\xe730\xe60e\xe63d</fn>: <total>%</fc>"
-- lawa pi ilo sona
, "-H", "50", "--high", "red"
] 20
, Run Memory
["-t"
-- normie
--, "<fc=#d7a06d><fn=1>\xf538</fn> ram: <used>M (<usedratio>%)</fc>"
-- sitelen pona pona by jackhumbert
--, "<fc=#d7a06d><fn=3>\xee53\xee49</fn>: <used>M (<usedratio>%)</fc>"
-- linja pona
, "<fc=#d7a06d><fn=3>\xe653\xf174</fn>: <used>M (<usedratio>%)</fc>"
-- poki pali
] 20
, Run DiskU
[("/home"
-- normie
--, "<fc=#4e96d5><fn=1>\xf0a0</fn> hdd: <free> free</fc>")
-- sitelen pona pona by jackhumbert
--, "<fc=#4e96d5><fn=3>\xee53\xee08</fn>: <free></fc>")
-- linja pona
, "<fc=#4e96d5><fn=3>\xe653\xf109</fn>: <free></fc>")
-- poki awen
] [] 60
, Run Kbd
-- normie
--[ ("us", "<fc=#55b795><fn=1>\xf11c</fn> EN</fc>")
--, ("ru", "<fc=#55b795><fn=1>\xf11c</fn> RU</fc>")
--]
-- sitelen pona pona by jackhumbert
--[ ("us", "<fc=#55b795><fn=3>\xee6c\xee4d\xee0e\xee60 inli</fn></fc>")
--, ("ru", "<fc=#55b795><fn=3>\xee6c\xee4d\xee0e\xee60 losi</fn></fc>")
--]
-- toki pi ilo sitelen
-- linja pona
[ ("us", "<fc=#55b795><fn=3>\xe66c\xe730\xe619\xe660 [_I_N_LI]</fn></fc>")
, ("ru", "<fc=#55b795><fn=3>\xe66c\xe730\xe619\xe660 [_L_O_SI]</fn></fc>")
]
-- toki pi ilo sitelen
, Run Date
-- normie
--"<fc=#ceced2><fn=1>\xf017</fn> %d %b %Y %R</fc>"
-- sitelen pona pona by jackhumbert
--"<fc=#ceced2><fn=3>\xee6b</fn> %d-%m-%Y %R</fc>"
-- linja pona
"<fc=#ceced2><fn=3>\xe66b</fn> %d-%m-%Y %R</fc>"
-- tenpo
"date" 50
, Run Network "wg0"
["-t"
-- normie
--, "<fc=#ceced2><fn=1>\xf6d5</fn></fc>"
-- sitelen pona pona by jackhumbert
--, "<fc=#ceced2><fn=3>\xee01</fn></fc>"
-- linja pona
, "<fc=#ceced2><fn=3>\xe601</fn></fc>"
-- akesi
] 20
, Run Com ".xmonad/xmobar/trayer-padding-icon.sh"
["panel"] "trayerpad" 10
, Run Com ".xmonad/xmobar/separator.sh" [] "s" 0
]
, sepChar = "%"
, alignSep = "}{"
-- ... }{ <fc=#ceced2><fn=2></fn> ... -- normie
-- ... }{ <fc=#ceced2><fn=3> linu</fn> ... -- sitelen pona pona by jackhumbert
-- ... }{ <fc=#ceced2><fn=3> [_L_IN_U]</fn> ... -- linja pona
, template = " <action=`dm-logout`><icon=la_ninpre.xpm/></action> %s% %UnsafeStdinReader% }{ <fc=#ceced2><fn=3> [_L_IN_U]</fn> <action=`alacritty --class Alacritty,splash --hold -e neofetch`>%uname%</action></fc> %s% %uptime% %s% <action=`alacritty -e htop`>%cpu%</action> %s% <action=`alacritty -e htop`>%memory%</action> %s% <action=`alacritty --class Alacritty,splash --hold -e df -h / /timeshift /home`>%disku%</action> %s% %kbd% %s% <action=`alacritty -e calcurse`>%date%</action> %s% %wg0% %trayerpad%"
}
|