diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2022-04-16 00:54:01 -0600 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2022-10-09 12:19:46 -0600 |
| commit | 1ad36bd0e332bfe4354c9966191603f116196ecd (patch) | |
| tree | 6baf9a882b5df229d648df3ecb956ca5313bc791 | |
| parent | 1ba923704e7889205f574de1b85f48773ec6aca7 (diff) | |
| download | rde-1ad36bd0e332bfe4354c9966191603f116196ecd.tar.gz rde-1ad36bd0e332bfe4354c9966191603f116196ecd.tar.bz2 rde-1ad36bd0e332bfe4354c9966191603f116196ecd.zip | |
Remove the "│" from xmobar. I think it makes it cleaner, but it is not a slam dunk.
| -rw-r--r-- | extras/HOME/.xmobarrc | 10 | ||||
| -rwxr-xr-x | extras/HOME/.xmonad/xmobar-bluetooth | 4 | ||||
| -rwxr-xr-x | extras/HOME/.xmonad/xmobar-weather | 2 | ||||
| -rw-r--r-- | 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% <fc=#a0a0a0><fn=3>%uname%</fn></fc><fc=#404040> │\ - \</fc>%UnsafeStdinReader%}\ + " %logo% <fc=#a0a0a0><fn=3>%uname%</fn></fc> \ + \%UnsafeStdinReader%}\ \{ %cpu% %memory% <fc=#404040>\ - \│</fc> %weather% <fc=#404040>│\ - \</fc> <fc=#a0a0a0>%media%</fc> <fc=#404040>│ \ - \</fc>%bluetooth%%bat% <fc=#404040>│</fc> <fn=2><fc=#606060>%time%</fc></fn> " + \ %weather% \ + \</fc> <fc=#a0a0a0>%media%</fc> \ + \%bluetooth%%bat% <fn=2><fc=#606060>%time%</fc></fn> " , 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 "<fc=#4287f5></fc> <fc=#a0a0a0><fn=3>$cur</fn></fc> <fc=#404040>│</fc> " + exec echo "<fc=#4287f5></fc> <fc=#a0a0a0><fn=3>$cur</fn></fc> " fi done fi -exec echo "<fc=#404040></fc> <fc=#404040>│</fc> " +exec echo "<fc=#404040></fc> " 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("<fc=#a0a0a0><fn=3>$city</fn> <fn=3>$dir</fn> <fn=3>${wind_speed}</fn></fc> $conditions<fn=3> <fc=#a0a0a0>%.0f°F</fc></fn>\n", $temp); +printf("<fc=#a0a0a0><fn=3>$city</fn><fn=3>$dir</fn><fn=3>${wind_speed}</fn></fc> $conditions<fn=3> <fc=#a0a0a0>%.0f°F</fc></fn>\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 $ "<fc=#404040> │ </fc>" + tell $ " " forM_ wss $ \(t, ws) -> do case t of @@ -57,7 +57,7 @@ xMobarLogHook (XMobarLog xmproc) = do tell $ toAction $ S.tag ws tell " </fc></fn>" - tell $ "<fc=#404040>│ </fc><fc=#a0a0a0><fn=3>" + tell $ " <fc=#a0a0a0><fn=3>" tell $ title tell $ "</fn></fc>" |