More dzen2 command string organization

This commit is contained in:
trey 2018-08-10 22:45:44 -04:00
parent 3a673f819e
commit 188b5c7fd4

View File

@ -113,8 +113,22 @@ toggleHomeScreens = do
\cal; sleep 1; \n\ \cal; sleep 1; \n\
\done | dzen2 -dock -p -x 1680 -w 235 -e 'onstart:uncollapse;button1=togglecollapse;button2=togglehide' \n\ \done | dzen2 -dock -p -x 1680 -w 235 -e 'onstart:uncollapse;button1=togglecollapse;button2=togglehide' \n\
\-h 24 -ta l -fg #aaaaaa -bg #000000 -fn Terminus-10 -xs 1 -l 8 &" \-h 24 -ta l -fg #aaaaaa -bg #000000 -fn Terminus-10 -xs 1 -l 8 &"
spawn "while true; do ~/bin/battery; echo -n ' '; echo -n $(cat /tmp/temp); echo -n ' '; date '+%a, %b %d %T'; cal; sleep 1; done | dzen2 -dock -p -x 3600 -w 235 -e 'onstart:uncollapse;button2=togglehide' -h 24 -ta l -fg #aaaaaa -bg #000000 -fn Terminus-10 -xs 1 -l 8 &" spawn "while true; do \n\
spawn "while true; do ~/bin/battery; echo -n ' '; echo -n $(cat /tmp/temp); echo -n ' '; date '+%a, %b %d %T'; cal; sleep 1; done | dzen2 -dock -p -x 5520 -w 235 -e 'onstart:uncollapse;button2=togglehide' -h 24 -ta l -fg #aaaaaa -bg #000000 -fn Terminus-10 -xs 1 -l 8 &" \~/bin/battery; \n\
\echo -n ' '; \n\
\echo -n $(cat /tmp/temp); \n\
\echo -n ' '; \n\
\date '+%a, %b %d %T'; \n\
\cal; sleep 1; \n\
\done | dzen2 -dock -p -x 3600 -w 235 -e 'onstart:uncollapse;button2=togglehide' -h 24 -ta l -fg #aaaaaa -bg #000000 -fn Terminus-10 -xs 1 -l 8 &"
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; sleep 1; \n\
\done | dzen2 -dock -p -x 5520 -w 235 -e 'onstart:uncollapse;button2=togglehide' -h 24 -ta l -fg #aaaaaa -bg #000000 -fn Terminus-10 -xs 1 -l 8 &"
{- spawn "while true; do echo -n $(cat /tmp/temp); echo -n ' '; date '+%a, %b %d %T'; sleep 1; done | dzen2 -dock -p -x 1710 -w 210 -e 'onstart:lower;button2=togglehide' -h 24 -ta l -fg #aaaaaa -bg #000000 -fn Terminus-10 -xs 1 &" {- spawn "while true; do echo -n $(cat /tmp/temp); echo -n ' '; date '+%a, %b %d %T'; sleep 1; done | dzen2 -dock -p -x 1710 -w 210 -e 'onstart:lower;button2=togglehide' -h 24 -ta l -fg #aaaaaa -bg #000000 -fn Terminus-10 -xs 1 &"
spawn "while true; do echo -n $(cat /tmp/temp); echo -n ' '; date '+%a, %b %d %T'; sleep 1; done | dzen2 -dock -p -x 3630 -w 210 -e 'onstart:lower;button2=togglehide' -h 24 -ta l -fg #aaaaaa -bg #000000 -fn Terminus-10 -xs 0 &" spawn "while true; do echo -n $(cat /tmp/temp); echo -n ' '; date '+%a, %b %d %T'; sleep 1; done | dzen2 -dock -p -x 3630 -w 210 -e 'onstart:lower;button2=togglehide' -h 24 -ta l -fg #aaaaaa -bg #000000 -fn Terminus-10 -xs 0 &"
spawn "while true; do echo -n $(cat /tmp/temp); echo -n ' '; date '+%a, %b %d %T'; sleep 1; done | dzen2 -dock -p -x 5550 -w 210 -e 'onstart:lower;button2=togglehide' -h 24 -ta r -fg #aaaaaa -bg #000000 -fn Terminus-10 -xs 2 &" -} spawn "while true; do echo -n $(cat /tmp/temp); echo -n ' '; date '+%a, %b %d %T'; sleep 1; done | dzen2 -dock -p -x 5550 -w 210 -e 'onstart:lower;button2=togglehide' -h 24 -ta r -fg #aaaaaa -bg #000000 -fn Terminus-10 -xs 2 &" -}