about summary refs log tree commit diff
path: root/xmobarrc/bot.hs
blob: 86af565d1113aea6bbdebf94dff2410740d22c3b (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
56
57
58
59
60
61
62
63
64
65
Config { font = "xft:tewi:style=Regular:pixelsize=11,Efont Biwidth:pixelsize=12,Misc Fixed Wide:size=8"
       , additionalFonts = [ "xft:Siji:style=Regular"
                           , "xft:tewi:style=Bold:pixelsize=11"
                           ]
       , bgColor = "#0b0806"
       , fgColor = "#a19782"
       , alpha = 255
       , position = Static { xpos = 0
                           , ypos = 876
                           , width = 1600
                           , height = 24
                           }
       , textOffset = 16
       , textOffsets = [16, -1]
       , iconOffset = -1
       , lowerOnStart = True
       , hideOnStart = False
       , allDesktops = True
       , overrideRedirect = False
       , pickBroadest = False
       , persistent = False
       , border = FullBM 0
       , borderColor = "#2f2b2a"
       , borderWidth = 1
       , iconRoot = "."
       , commands = [ Run StdinReader
                    , Run Battery [ "-t", "<fn=1><acstatus></fn> <left>%"
                                  , "--"
                                  , "-i", "\57914", "-O", "\57913" , "-o", "\57911"
                                  ] 10
                    , Run Cpu [ "-t", "<fn=1>\57381</fn> <total>%" ] 10
                    , Run CoreTemp [ "-t", "<core0>°C / <core1>°C" ] 10
                    , Run Memory [ "-t", "<fn=1>\57384</fn> <usedratio>%" ] 10
                    , Run ThermalZone 0 ["-t","<fn=1>\57371</fn> <temp>°C"] 10
                    , Run ThermalZone 1 ["-t","<temp>°C"] 10
                    , Run Wireless "wlp3s0" [ "-t", "<fn=1>\57775</fn> <essid> @ <quality>%" ] 10
                    , Run DynNetwork [ "-t", "<fn=1>\57660</fn> <rx> / <fn=1>\57659</fn> <tx> kbps" ] 10
                    , Run Kbd [ ("us", "English")
                              , ("ru", "Russian")]
                    , Run Com "/home/free/.xmonad/scripts/xmobar/fcitx.sh" [] "fcitx" 3
                    , Run Locks
                    , Run MPD [ "-t", "<fn=1><statei></fn> <artist> - <title>"
                              , "--"
                              , "-P", "\57498", "-Z", "\57499", "-S", "\57497"
                              ] 10
                    , Run Volume "default" "Master" [ "-t", "<fn=1><status></fn> <volume>%" 
                                                    , "--"
                                                    , "--on"   , "\57427"
                                                    , "--off"  , "\57426"
                                                    , "--onc"  , "#a19782"
                                                    , "--offc" , "#a19782"
                                                    ] 10
                    ]
       , sepChar = "%"
       , alignSep = "}{"
       , template = " \
                    \%battery%   %wlp3s0wi%   %dynnetwork%   %StdinReader%\
                    \}\
                    \%kbd% / %fcitx%\
                    \{\
                    \%mpd%   %default:Master%\
                    \ "
       }

-- vim:filetype=haskell:expandtab:tabstop=4:shiftwidth=4

Consider giving Nix/NixOS a try! <3