about summary refs log tree commit diff
path: root/xmobarrcTop.hs
diff options
context:
space:
mode:
authorazahi <azahi@teknik.io>2018-08-11 03:40:12 +0300
committerazahi <azahi@teknik.io>2018-08-11 03:40:12 +0300
commit01fa99e7ff93832c5a48419214e2f76c10daead3 (patch)
tree2eed1ef7e624e4541eccd986771c1962f1dcbdbc /xmobarrcTop.hs
parentAdd readme.org (diff)
Add XMobar configuration
Diffstat (limited to '')
-rw-r--r--xmobarrcTop.hs40
1 files changed, 40 insertions, 0 deletions
diff --git a/xmobarrcTop.hs b/xmobarrcTop.hs
new file mode 100644
index 0000000..6764359
--- /dev/null
+++ b/xmobarrcTop.hs
@@ -0,0 +1,40 @@
+Config { font = "xft:lucy tewi:style=Regular:pixelsize=11,Efont Biwidth:pixelsize=12,Misc Fixed Wide:size=8"
+       , additionalFonts = [ "xft:Wuncon Siji:style=Regular"
+                           , "xft:lucy tewi:style=Bold:pixelsize=11"
+                           ]
+       , bgColor = "#0b0806"
+       , fgColor = "#a19782"
+       , alpha = 255
+       , position = Static { xpos = 0
+                           , ypos = 0
+                           , width = 1600
+                           , height = 24
+                           }
+       , textOffset = 16
+       , 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 Date "<fn=1>\57893</fn>%d.%m.%y / %A / %H:%M" "date" 10
+                    , Run Weather "UUWW" [ "-t", "<fn=1>\57550</fn><tempC>°C / <rh>% / <pressure> Pa" ] 10000
+                    ]
+       , sepChar = "%"
+       , alignSep = "}{"
+       , template = " \
+                    \%StdinReader%\
+                    \}\
+                    \\
+                    \{\
+                    \%UUWW%   %date%\
+                    \ "
+       }
+   
+-- vim:filetype=haskell:expandtab:tabstop=4:shiftwidth=4

Consider giving Nix/NixOS a try! <3