From e47b69dc5a963c6b19301a9ef6494cd8fa6bd966 Mon Sep 17 00:00:00 2001 From: trey Date: Sat, 18 Aug 2018 22:11:31 -0400 Subject: [PATCH] Fixed single-screen flicker (removed cal), and xrandr --off --- xmonad.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmonad.hs b/xmonad.hs index 3d30d69..5d20376 100755 --- a/xmonad.hs +++ b/xmonad.hs @@ -90,14 +90,14 @@ toggleHomeScreens = do sc <- IS.countScreens if sc == 1 then do - spawn "xrandr --output DVI-I-2-1 --off --output DVI-I-3-2 off" + spawn "xrandr --output DVI-I-2-1 --off --output DVI-I-3-2 --off" spawn "while true; do \n\ \~/bin/battery; \n\ \echo -n ' '; \n\ \echo -n $(cat /tmp/temp); \n\ \echo -n ' '; \n\ \date \"+%a, %b %d %T\"; \n\ - \cal | /usr/bin/sed -E \"s/($(date +%_d)\b)/^fg(green)\1^fg()/\" ; \n\ + \/usr/bin/sed -E \"s/($(date +%_d)\b)/^fg(green)\1^fg()/\" ; \n\ \sleep 1; \n\ \done | dzen2 -dock -p -x 1670 -w 255 -e \"onstart:lower;button1=togglecollapse\" -u -h 24 -ta l -sa c -fg #aaaaaa -bg #000000 -fn Terminus-10 &"