]> code.delx.au - dotfiles/commitdiff
More generic
authorJames Bunton <jamesbunton@delx.net.au>
Tue, 15 May 2012 03:16:18 +0000 (13:16 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Tue, 15 May 2012 03:16:18 +0000 (13:16 +1000)
.xmonad/xmobar.hs
bin/trayer

index 80a490aa18625c79125366329742cc97de68c889..c5e2f147890ae7c60d5f26af407f0b3f50f7651b 100644 (file)
@@ -2,7 +2,7 @@ Config {
        font = "-*-Fixed-Bold-R-Normal-*-13-*-*-*-*-*-*-*",
        bgColor = "black",
        fgColor = "grey",
-       position = Static { xpos = 0, ypos = 0, width = 1080, height = 20 },
+       position = TopSize L 85 20,
        commands = [
                Run Weather "YSSY" ["-t"," <tempC>C"] 36000,
                Run Cpu ["-t","Cpu:<total>%","-L","3","-H","50","--high","red","-p","3"] 10,
index a242fa0aa0d4b90390b22cc45fcaf298ce6f46a0..8da583725c1fc8e28b1888e5f320bb5ef54e7387 100755 (executable)
@@ -4,5 +4,5 @@ exec /usr/bin/trayer \
        --edge top --align right \
        --transparent true --alpha 0 --tint 0x000000 \
        --SetDockType true --SetPartialStrut false --expand false \
-       --widthtype pixel --width 200 --height 20 --margin 0
+       --width 15 --height 20 --margin 0