about summary refs log tree commit diff
path: root/xmobarrc
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2020-07-26 16:57:46 +0300
committerAzat Bahawi <azahi@teknik.io>2020-07-26 16:57:46 +0300
commitb0e3b4402bb46f8fad14f6c06106677968d28554 (patch)
tree270b98c118651eed78bd09e640b7da23fd8e038d /xmobarrc
parentSync submodules (diff)
Revert xmobar behaviour
Diffstat (limited to 'xmobarrc')
-rw-r--r--xmobarrc/bot.hs15
-rw-r--r--xmobarrc/top.hs2
2 files changed, 11 insertions, 6 deletions
diff --git a/xmobarrc/bot.hs b/xmobarrc/bot.hs
index 13b942e..1235545 100644
--- a/xmobarrc/bot.hs
+++ b/xmobarrc/bot.hs
@@ -11,7 +11,7 @@ Config { font = "xft:tewi:style=Regular:pixelsize=11,Biwidth:pixelsize=12"
                            , height = 24
                            }
        , textOffset = 15
-       , textOffsets = [15, 15]
+       , textOffsets = [ 15, 15 ]
        , iconOffset = -1
        , lowerOnStart = True
        , hideOnStart = False
@@ -23,9 +23,12 @@ Config { font = "xft:tewi:style=Regular:pixelsize=11,Biwidth:pixelsize=12"
        , borderColor = "#2f2b2a"
        , borderWidth = 1
        , iconRoot = "."
-       , commands = [ Run Battery [ "-t", "<fn=1><acstatus></fn> <left>%"
+       , commands = [ Run StdinReader
+                    , Run Battery [ "-t", "<fn=1><acstatus></fn> <left>%"
                                   , "--"
-                                  , "-i", "\57914", "-O", "\57913" , "-o", "\57911"
+                                  , "-i", "\57914"
+                                  , "-O", "\57913"
+                                  , "-o", "\57911"
                                   ] 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
@@ -36,7 +39,9 @@ Config { font = "xft:tewi:style=Regular:pixelsize=11,Biwidth:pixelsize=12"
                     , Run Locks
                     , Run MPD [ "-t", "<fn=1><statei></fn> <artist> - <title>"
                               , "--"
-                              , "-P", "\57498", "-Z", "\57499", "-S", "\57497"
+                              , "-P", "\57498"
+                              , "-Z", "\57499"
+                              , "-S", "\57497"
                               ] 10
                     , Run Volume "default" "Master" [ "-t", "<fn=1><status></fn> <volume>%"
                                                     , "--"
@@ -49,7 +54,7 @@ Config { font = "xft:tewi:style=Regular:pixelsize=11,Biwidth:pixelsize=12"
        , sepChar = "%"
        , alignSep = "}{"
        , template = " \
-                    \%battery%   %wlp3s0wi%   %dynnetwork%\
+                    \%battery%   %wlp3s0wi%   %dynnetwork%  %StdinReader%\
                     \}\
                     \%kbd% / %fcitx%\
                     \{\
diff --git a/xmobarrc/top.hs b/xmobarrc/top.hs
index 94b40bd..1cdab9c 100644
--- a/xmobarrc/top.hs
+++ b/xmobarrc/top.hs
@@ -11,7 +11,7 @@ Config { font = "xft:tewi:style=Regular:pixelsize=11,Biwidth:pixelsize=12"
                            , height = 24
                            }
        , textOffset = 15
-       , textOffsets = [15, 15]
+       , textOffsets = [ 15, 15 ]
        , iconOffset = -1
        , lowerOnStart = True
        , hideOnStart = False

Consider giving Nix/NixOS a try! <3