aboutsummaryrefslogtreecommitdiff
path: root/xmonad/xmobar.hs
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-03-23 20:38:44 -0300
committerEuAndreh <eu@euandre.org>2018-03-23 20:49:09 -0300
commit4e734232c611890f616194ed5cfade2549e4491b (patch)
tree38e74c5f28aaa8ecc8c6cbff7836d919c8fa7a1b /xmonad/xmobar.hs
parentInitial commit: add git-crypt .gitattributes file (diff)
downloaddotfiles-4e734232c611890f616194ed5cfade2549e4491b.tar.gz
dotfiles-4e734232c611890f616194ed5cfade2549e4491b.tar.xz
Initial commit: now public (again)
Diffstat (limited to 'xmonad/xmobar.hs')
-rw-r--r--xmonad/xmobar.hs47
1 files changed, 47 insertions, 0 deletions
diff --git a/xmonad/xmobar.hs b/xmonad/xmobar.hs
new file mode 100644
index 0000000..4bba66b
--- /dev/null
+++ b/xmonad/xmobar.hs
@@ -0,0 +1,47 @@
+Config { font = "-*-Fixed-Bold-R-Normal-*-13-*-*-*-*-*-*-*"
+ , bgColor = "black"
+ , fgColor = "grey"
+ , position = TopW L 90
+ , additionalFonts = []
+ , borderColor = "black"
+ , border = TopB
+ , alpha = 255
+ , textOffset = -1
+ , iconOffset = -1
+ , lowerOnStart = True
+ , pickBroadest = False
+ , persistent = False
+ , hideOnStart = False
+ , iconRoot = "."
+ , allDesktops = True
+ , overrideRedirect = True
+ , commands = [ Run Weather "EGPF" ["-t","<station>: <tempC>C",
+ "-L","18","-H","25",
+ "--normal","green",
+ "--high","red",
+ "--low","lightblue"] 36000
+ , Run Network "wlp2s0" ["-L","0","-H","32","--normal","green","--high","red"] 10
+
+ , Run Cpu ["-L","3","-H","50",
+ "--normal","green","--high","red"] 10
+ , Run Memory ["-t","Mem: <usedratio>%"] 10
+ , Run Swap [] 10
+ , Run Com "uname" ["-s","-r"] "" 36000
+ , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
+
+ , Run Battery [
+ "-t", "<acstatus>: <left>% - <timeleft>",
+ "--",
+ --"-c", "charge_full",
+ "-O", "AC",
+ "-o", "Bat",
+ "-h", "green",
+ "-l", "red"
+ ] 10
+ , Run StdinReader
+ , Run CommandReader "/usr/bin/ledmon" "LED"
+ ]
+ , sepChar = "%"
+ , alignSep = "}{"
+ , template = " <fc=#ee9a00>%date%</fc> | %battery% } { %memory% * %swap% | %cpu% | %wlp2s0% "
+ }