xmobar/xmobarrc (view raw)
1-- https://projects.haskell.org/xmobar/
2-- uses font awesome
3-- vim:se syntax=haskell:
4
5Config { font = "xft:Lato:weight=bold:pixelsize=12:antialias=true:hinting=true"
6 , additionalFonts = [ "xft:Font Awesome 5 Free Solid:pixelsize=12"
7 , "xft:Font Awesome 5 Brands:pixelsize=14"
8 -- sitelen pona pona by jackhumbert
9 --, "xft:sitelen\-pona:pixelsize=20:antialias=true:hinting=true"
10 -- linja pona
11 , "xft:linja pona:pixelsize=22:antialias=true:hinting=true"
12 ]
13 , bgColor = "#19191a"
14 , fgColor = "#cadcde"
15 , position = TopSize C 100 24
16 , lowerOnStart = True
17 , hideOnStart = False
18 , persistent = True
19 , iconRoot = ".xmonad/xpm/"
20 , commands = [ Run UnsafeStdinReader
21 , Run Com "uname" ["-r"] "" 0
22 , Run Uptime
23 ["-t"
24 -- normie
25 --, "<fc=#7f9848><fn=1>\xf017</fn> uptime: <days>d</fc>"
26 -- sitelen pona pona by jackhumbert
27 --, "<fc=#7f9848><fn=3>\xee6b\xee64\xee3d</fn><days></fc>"
28 -- linja pona
29 , "<fc=#7f9848><fn=3>\xe66b\xe664\xe63d</fn><days></fc>"
30 -- tenpo suno nanpa
31 ] 60
32 , Run Cpu
33 ["-t"
34 -- normie
35 --, "<fc=#c74444><fn=1>\xf108</fn>cpu: <total>%</fc>"
36 -- sitelen pona pona by jackhumbert
37 --, "<fc=#c74444><fn=3>\xee24\xee4d\xee0e\xee3d</fn>: <total>%</fc>"
38 -- linja pona
39 , "<fc=#c74444><fn=3>\xe624\xe730\xe60e\xe63d</fn>: <total>%</fc>"
40 -- lawa pi ilo sona
41 , "-H", "50", "--high", "red"
42 ] 20
43 , Run Memory
44 ["-t"
45 -- normie
46 --, "<fc=#d7a06d><fn=1>\xf538</fn> ram: <used>M (<usedratio>%)</fc>"
47 -- sitelen pona pona by jackhumbert
48 --, "<fc=#d7a06d><fn=3>\xee53\xee49</fn>: <used>M (<usedratio>%)</fc>"
49 -- linja pona
50 , "<fc=#d7a06d><fn=3>\xe653\xf174</fn>: <used>M (<usedratio>%)</fc>"
51 -- poki pali
52 ] 20
53 , Run DiskU
54 [("/home"
55 -- normie
56 --, "<fc=#4e96d5><fn=1>\xf0a0</fn> hdd: <free> free</fc>")
57 -- sitelen pona pona by jackhumbert
58 --, "<fc=#4e96d5><fn=3>\xee53\xee08</fn>: <free></fc>")
59 -- linja pona
60 , "<fc=#4e96d5><fn=3>\xe653\xf109</fn>: <free></fc>")
61 -- poki awen
62 ] [] 60
63 , Run Kbd
64 -- normie
65 --[ ("us", "<fc=#55b795><fn=1>\xf11c</fn> EN</fc>")
66 --, ("ru", "<fc=#55b795><fn=1>\xf11c</fn> RU</fc>")
67 --]
68 -- sitelen pona pona by jackhumbert
69 --[ ("us", "<fc=#55b795><fn=3>\xee6c\xee4d\xee0e\xee60 inli</fn></fc>")
70 --, ("ru", "<fc=#55b795><fn=3>\xee6c\xee4d\xee0e\xee60 losi</fn></fc>")
71 --]
72 -- toki pi ilo sitelen
73 -- linja pona
74 [ ("us", "<fc=#55b795><fn=3>\xe66c\xe730\xe619\xe660 [_I_N_LI]</fn></fc>")
75 , ("ru", "<fc=#55b795><fn=3>\xe66c\xe730\xe619\xe660 [_L_O_SI]</fn></fc>")
76 ]
77 -- toki pi ilo sitelen
78 , Run Date
79 -- normie
80 --"<fc=#ceced2><fn=1>\xf017</fn> %d %b %Y %R</fc>"
81 -- sitelen pona pona by jackhumbert
82 --"<fc=#ceced2><fn=3>\xee6b</fn> %d-%m-%Y %R</fc>"
83 -- linja pona
84 "<fc=#ceced2><fn=3>\xe66b</fn> %d-%m-%Y %R</fc>"
85 -- tenpo
86 "date" 50
87 , Run Network "wg0"
88 ["-t"
89 -- normie
90 --, "<fc=#ceced2><fn=1>\xf6d5</fn></fc>"
91 -- sitelen pona pona by jackhumbert
92 --, "<fc=#ceced2><fn=3>\xee01</fn></fc>"
93 -- linja pona
94 , "<fc=#ceced2><fn=3>\xe601</fn></fc>"
95 -- akesi
96 ] 20
97 , Run Com ".xmonad/xmobar/trayer-padding-icon.sh"
98 ["panel"] "trayerpad" 10
99 , Run Com ".xmonad/xmobar/separator.sh" [] "s" 0
100 ]
101 , sepChar = "%"
102 , alignSep = "}{"
103 -- ... }{ <fc=#ceced2><fn=2></fn> ... -- normie
104 -- ... }{ <fc=#ceced2><fn=3> linu</fn> ... -- sitelen pona pona by jackhumbert
105 -- ... }{ <fc=#ceced2><fn=3> [_L_IN_U]</fn> ... -- linja pona
106 , 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%"
107}