From 277837c7eeec53aa973ad437a1b3575b3a693092 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Wed, 19 Feb 2020 20:57:30 +0300 Subject: Fix xmobar overlap error Fix xmobar's issue with not restarting itself if the process is not strictly bound to XMonad with StdinReader. Now we will only launch the bottom bar once (on initial startup). --- xmobarrc/bot.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xmobarrc/bot.hs') diff --git a/xmobarrc/bot.hs b/xmobarrc/bot.hs index d9428e0..13b942e 100644 --- a/xmobarrc/bot.hs +++ b/xmobarrc/bot.hs @@ -23,15 +23,15 @@ Config { font = "xft:tewi:style=Regular:pixelsize=11,Biwidth:pixelsize=12" , borderColor = "#2f2b2a" , borderWidth = 1 , iconRoot = "." - , commands = [ Run StdinReader - , Run Battery [ "-t", " %" + , commands = [ Run Battery [ "-t", " %" , "--" , "-i", "\57914", "-O", "\57913" , "-o", "\57911" ] 10 , Run Wireless "wlp3s0" [ "-t", "\57775 @ %" ] 10 , Run DynNetwork [ "-t", "\57660 / \57659 kbps" ] 10 , Run Kbd [ ("us", "English") - , ("ru", "Russian")] + , ("ru", "Русский") + ] , Run Com "/home/free/.xmonad/scripts/xmobar/fcitx.sh" [] "fcitx" 3 , Run Locks , Run MPD [ "-t", " - " @@ -49,7 +49,7 @@ Config { font = "xft:tewi:style=Regular:pixelsize=11,Biwidth:pixelsize=12" , sepChar = "%" , alignSep = "}{" , template = " \ - \%battery% %wlp3s0wi% %dynnetwork% %StdinReader%\ + \%battery% %wlp3s0wi% %dynnetwork%\ \}\ \%kbd% / %fcitx%\ \{\ -- cgit 1.4.1