summaryrefslogtreecommitdiff
path: root/config/X/xmobar/xmobarrc1.hs
blob: a1870550a663b7d8e53f5f150d2cf4ebf8102e47 (plain)
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
Config { font = "xft:Ubuntu Mono:pixelsize=14:style=bold:antialias=true:hinting:=true"
      , additionalFonts = [
        "xft:Mononoki Nerd Font Mono:style=bold:pixelsize=24:antialias=true:hinting=true",
        "xft:Mononoki Nerd Font Mono:style=bold:pixelsize=24:antialias=false:hinting=true"
      ]
      , position = TopH 24
      , borderColor = "#2e3440"
      , borderWidth = 2
      , border = BottomB
      , bgColor = "#2e3440"
      , fgColor = "#2aa198"
      , lowerOnStart = True
      , pickBroadest = False
      , persistent = False
      , hideOnStart = False
      , iconRoot = "/home/aluc/.config/xmobar/icons"
      , overrideRedirect = True
      , commands = [ Run Cpu [ "-t",         "<total>%"
                              ,"-l",         "#2e3440,#58e1ac"
                              ,"-L",         "20"
                              ,"-n",         "#4c566a,#58e1ac"
                              ,"-h",         "#cb4b16,#58e1ac"
                              ,"-H",         "50"
                              ,"-w",         "3"
                              ] 10

                    , Run Memory ["-t",          "<usedratio>%"
                                 ,"-l",          "#2e3440,#58e1ac"
                                 ,"-L",          "20"
                                 ,"-n",          "#4c566a,#58e1ac"
                                 ,"-h",          "#cb4b16,#58e1ac"
                                 ,"-H",          "50"
                                 ,"-w",          "2"
                                 ] 10

                    -- Focused window info
                    , Run Com "/home/aluc/.config/xmobar/scripts/winfo" ["-n"] "FWname" 3
                    , Run Com "/home/aluc/.config/xmobar/scripts/winfo" ["-t"] "FWtitle" 3
                    , Run Com "/home/aluc/.config/xmobar/scripts/winfo" ["-i"] "FWicon" 3
                    , Run Com "/home/aluc/.config/xmobar/scripts/checkupds" ["-i"] "updates" 3600
                    -- , Run ComX "$HOME/bin/cmusP" [] "" "cmus" 1
                    , Run Com "uname" ["-r"] "" 36000
                    , Run Date "<fn=1>\xf073</fn> %b %_d %Y - %H:%M:%S" "date" 10
                    , Run PipeReader "/home/aluc/.config/xmobar/scripts/volume-pipe" "vol"
                    ]
      , sepChar = "%"
      , alignSep = "}{"


        -- COLORS 
        -- #2aa198  : Blue/green    -- fg
        --
        -- #d08770  : pinkish brown -- memory
        -- #ff00ff  : pink/purple   -- swap
        -- #828be6  : perrywinkle   -- FWname
        -- #825be6  : purpley       -- FWtitle
        -- bgColor = "#2e3440"
        -- fgColor = "#2aa198"
        -- #58e1ac

      , template = " \
      -- Left

      \<fc=#b48ead,#2e3440><fn=2></fn></fc>\
      \<fc=#2e3440,#b48ead>\
      \<box type=VBoth width=4 color=#b48ead>\
      \ <fn=1></fn> %uname% \
      \</box>\
      \</fc>\
      \<fc=#2e3440,#b48ead><fn=2></fn></fc>\

      \<fc=#58e1ac,#2e3440><fn=2></fn></fc>\
      \<fc=#2e3440,#58e1ac>\
      \<box type=VBoth width=4 color=#58e1ac>\
      \ %vol% \
      \</box>\
      \</fc>\
      \<fc=#2e3440,#58e1ac><fn=2></fn></fc>\
      
      \<fc=#88c0d0,#2e3440><fn=2></fn></fc>\
      \<fc=#2e3440,#88c0d0>\
      \<box type=VBoth width=4 color=#88c0d0>\
      \<action=`dmenu_run` button=1>\
      \ dmenu \
      \</action>\
      \</box>\
      \</fc>\
      \<fc=#88c0d0><fn=2></fn></fc>\


      -- Centered
      \}\
      \<fc=#ebcb8b,#2e3440><fn=2></fn></fc>\
      \<fc=#4c566a,#ebcb8b>\
      \<box type=VBoth width=4 color=#ebcb8b>\
      \ %FWicon% \
      \</box>\
      \</fc>\
      \<fc=#4c566a,#ebcb8b>\
      \<box type=VBoth width=4 color=#ebcb8b>\
      \%FWname% \
      \</box>\
      \</fc>\
      \<fc=#b48ead,#ebcb8b>\
      \<box type=VBoth width=4 color=#ebcb8b>\
      \<box type=Bottom width=2 mb=3 color=#b48ead>\
      \%FWtitle%\
      \</box>\
      \</box>\
      \</fc>\
      \<fc=#2e3440,#ebcb8b><fn=2> </fn></fc>\
      \<fc=#ebcb8b,#2e3440><fn=2></fn></fc>\

      
      -- Right
      \{ \

      \<fc=#88c0d0,#2e3440><fn=2></fn></fc>\
      \<fc=#2e3440,#88c0d0>\
      \<box type=VBoth width=4 color=#88c0d0>\
      \ %updates% <fn=1></fn>\
      \</box>\
      \</fc>\
      \<fc=#88c0d0><fn=2></fn></fc>\

      \<fc=#2e3440,#58e1ac><fn=2></fn></fc>\
      \<fc=#2e3440,#58e1ac>\
      \<box type=VBoth width=4 color=#58e1ac>\
      \ <fn=1></fn>%cpu% \
      \</box>\
      \<fc=#2e3440,#58e1ac>\
      \<box type=VBoth width=4 color=#58e1ac>\
      \%memory% \
      \</box>\
      \</fc>\
      \</fc>\
      \<fc=#58e1ac><fn=2></fn></fc>\

      \<fc=#2e3440,#b48ead><fn=2></fn></fc>\
      \<fc=#2e3440,#b48ead>\
      \<box type=VBoth width=4 color=#b48ead>\
      \ %date% \
      \</box>\
      \</fc>\
      \<fc=#b48ead><fn=2></fn></fc> "

       }