From 1ad36bd0e332bfe4354c9966191603f116196ecd Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Sat, 16 Apr 2022 00:54:01 -0600 Subject: Remove the "│" from xmobar. I think it makes it cleaner, but it is not a slam dunk. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extras/HOME/.xmobarrc | 10 +++++----- extras/HOME/.xmonad/xmobar-bluetooth | 4 ++-- extras/HOME/.xmonad/xmobar-weather | 2 +- src/Rahm/Desktop/XMobarLog.hs | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/extras/HOME/.xmobarrc b/extras/HOME/.xmobarrc index aa252f7..c536f7e 100644 --- a/extras/HOME/.xmobarrc +++ b/extras/HOME/.xmobarrc @@ -28,12 +28,12 @@ Config , sepChar = "%" , alignSep = "}{" , template = - " %logo% %uname% │\ - \%UnsafeStdinReader%}\ + " %logo% %uname% \ + \%UnsafeStdinReader%}\ \{ %cpu% %memory% \ - \│ %weather% │\ - \ %media% │ \ - \%bluetooth%%bat% %time% " + \ %weather% \ + \ %media% \ + \%bluetooth%%bat% %time% " , commands = [ Run UnsafeStdinReader, Run Date "%m/%d %H:%M:%S" "time" 10, diff --git a/extras/HOME/.xmonad/xmobar-bluetooth b/extras/HOME/.xmonad/xmobar-bluetooth index 16a6d70..3d65ee7 100755 --- a/extras/HOME/.xmonad/xmobar-bluetooth +++ b/extras/HOME/.xmonad/xmobar-bluetooth @@ -13,10 +13,10 @@ if [ -d /sys/class/bluetooth ] ; then fi if [ "$key" == "Connected" -a "$value" == "yes" ] ; then - exec echo "$cur │ " + exec echo "$cur " fi done fi -exec echo "│ " +exec echo " " diff --git a/extras/HOME/.xmonad/xmobar-weather b/extras/HOME/.xmonad/xmobar-weather index 0fee524..7399969 100755 --- a/extras/HOME/.xmonad/xmobar-weather +++ b/extras/HOME/.xmonad/xmobar-weather @@ -100,4 +100,4 @@ if ($is_day) { $conditions = %conditions_night{$sky_conditions}; } -printf("$city $dir ${wind_speed} $conditions %.0f°F\n", $temp); +printf("$city$dir${wind_speed} $conditions %.0f°F\n", $temp); diff --git a/src/Rahm/Desktop/XMobarLog.hs b/src/Rahm/Desktop/XMobarLog.hs index f2cccf8..637670e 100644 --- a/src/Rahm/Desktop/XMobarLog.hs +++ b/src/Rahm/Desktop/XMobarLog.hs @@ -46,7 +46,7 @@ xMobarLogHook (XMobarLog xmproc) = do hPutStrLn xmproc $ trunc 80 $ execWriter $ do tell " " tell layoutXpm - tell $ " │ " + tell $ " " forM_ wss $ \(t, ws) -> do case t of @@ -57,7 +57,7 @@ xMobarLogHook (XMobarLog xmproc) = do tell $ toAction $ S.tag ws tell " " - tell $ "" + tell $ " " tell $ title tell $ "" -- cgit