Fixed single-screen flicker (removed cal), and xrandr --off
This commit is contained in:
parent
06a146bba0
commit
e47b69dc5a
@ -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 &"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user