diff options
author | jao <jao@gnu.org> | 2018-12-10 01:36:46 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2018-12-10 01:36:46 +0000 |
commit | 48c0e1ebcc0e6a7c9ae302f44c814508bfda7b6a (patch) | |
tree | d6a4ff080420e2e36fe1db68c51f4dfb30069169 /src/Top.hs | |
parent | 0b8f1901f6e955fb1f0f42b0b6b598bbf8a2ae12 (diff) | |
download | xmobar-config-48c0e1ebcc0e6a7c9ae302f44c814508bfda7b6a.tar.gz xmobar-config-48c0e1ebcc0e6a7c9ae302f44c814508bfda7b6a.tar.bz2 |
Using the new Xmobar.configFromArgs
Diffstat (limited to 'src/Top.hs')
-rw-r--r-- | src/Top.hs | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -23,7 +23,7 @@ dynNetwork p = DynNetwork (p <~> ["-t", "↑ <tx> ↓ <rx>" config p = (baseConfig p) { position = TopSize C 100 defaultHeight - , textOffset = 16 + , textOffset = defaultHeight - 8 , commands = [ Run (topProc p) , Run (wireless p) , Run (multiCPU p) @@ -41,4 +41,5 @@ config p = (baseConfig p) { } main :: IO () -main = palette >>= xmobar . config +main = + palette >>= configFromArgs . config >>= xmobar |