Fixed battery, temperature, clock, and workspace placement
This commit is contained in:
parent
4d9a57c448
commit
5e8eaceae6
16
xmonad.hs
16
xmonad.hs
@ -113,23 +113,23 @@ toggleHomeScreens = do
|
|||||||
\echo -n ' '; \n\
|
\echo -n ' '; \n\
|
||||||
\date '+%a, %b %d %T'; \n\
|
\date '+%a, %b %d %T'; \n\
|
||||||
\sleep 1; \n\
|
\sleep 1; \n\
|
||||||
\done | dzen2 -dock -p -x 1680 -w 255 -h 24 -ta l -fg #aaaaaa -bg #000000 -fn 'xos4 Terminus:style=Regular:Pixelsize=12' &"
|
\done | dzen2 -dock -p -x 1602 -w 325 -h 24 -ta l -fg #aaaaaa -bg #000000 -fn 'xos4 Terminus:style=Regular:Pixelsize=12' &"
|
||||||
spawn "while true; do \n\
|
spawn "while true; do \n\
|
||||||
\~/bin/battery; \n\
|
\~/bin/battery; \n\
|
||||||
\echo -n ' '; \n\
|
\echo -n ' '; \n\
|
||||||
\echo -n $(cat /tmp/temp); \n\
|
\~/bin/temp.sh; \n\
|
||||||
\echo -n ' '; \n\
|
\echo -n ' '; \n\
|
||||||
\date '+%a, %b %d %T'; \n\
|
\date '+%a, %b %d %T'; \n\
|
||||||
\sleep 1; \n\
|
\sleep 1; \n\
|
||||||
\done | dzen2 -dock -p -x 3600 -w 255 -h 24 -ta l -fg #aaaaaa -bg #000000 -fn 'xos4 Terminus:style=Regular:Pixelsize=12' &"
|
\done | dzen2 -dock -p -x 3522 -w 325 -h 24 -ta l -fg #aaaaaa -bg #000000 -fn 'xos4 Terminus:style=Regular:Pixelsize=12' &"
|
||||||
spawn "while true; do \n\
|
spawn "while true; do \n\
|
||||||
\~/bin/battery; \n\
|
\~/bin/battery; \n\
|
||||||
\echo -n ' '; \n\
|
\echo -n ' '; \n\
|
||||||
\echo -n $(cat /tmp/temp); \n\
|
\~/bin/temp.sh; \n\
|
||||||
\echo -n ' '; \n\
|
\echo -n ' '; \n\
|
||||||
\date '+%a, %b %d %T'; \n\
|
\date '+%a, %b %d %T'; \n\
|
||||||
\sleep 1; \n\
|
\sleep 1; \n\
|
||||||
\done | dzen2 -dock -p -x 5520 -w 255 -h 24 -ta l -fg #aaaaaa -bg #000000 -fn 'xos4 Terminus:style=Regular:Pixelsize=12' &"
|
\done | dzen2 -dock -p -x 5442 -w 325 -h 24 -ta l -fg #aaaaaa -bg #000000 -fn 'xos4 Terminus:style=Regular:Pixelsize=12' &"
|
||||||
{- 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 &" -}
|
||||||
@ -256,7 +256,7 @@ myStartup :: X ()
|
|||||||
myStartup = do
|
myStartup = do
|
||||||
--setWMName "LG3D"
|
--setWMName "LG3D"
|
||||||
toggleHomeScreens
|
toggleHomeScreens
|
||||||
spawn "trayer --edge top --align right --widthtype request --margin 318 --expand false --align right --SetDockType true --SetPartialStrut false --tint 0x000000 --transparent true --alpha 0 --height 24 --monitor 'primary'"
|
spawn "trayer --edge top --align right --widthtype request --margin 318 --expand false --SetDockType true --SetPartialStrut false --tint 0x000000 --transparent true --alpha 0 --height 24 --monitor 'primary'"
|
||||||
--spawn "gnome-gmail-notifier"
|
--spawn "gnome-gmail-notifier"
|
||||||
spawn "xset dpms 600"
|
spawn "xset dpms 600"
|
||||||
--spawn "xautolock -secure -time 10 -locker 'i3lock -c 000000 -i /home/trey/images/black.png'"
|
--spawn "xautolock -secure -time 10 -locker 'i3lock -c 000000 -i /home/trey/images/black.png'"
|
||||||
@ -264,8 +264,8 @@ myStartup = do
|
|||||||
|
|
||||||
myBitmapsDir = "/home/trey/.xmonad/dzen2"
|
myBitmapsDir = "/home/trey/.xmonad/dzen2"
|
||||||
--leftBar = "dzen2 -w 0 -h 24 -ta l -fg #555753 -bg #000000 -fn Terminus-10 -xs 1"
|
--leftBar = "dzen2 -w 0 -h 24 -ta l -fg #555753 -bg #000000 -fn Terminus-10 -xs 1"
|
||||||
centerBar = "dzen2 -dock -p -x 2060 -ta l -w 1024 -e 'onstart:lower;button2=togglehide;sigusr1=togglehide'"
|
centerBar = "dzen2 -dock -p -x 1920 -ta l -w 1024 -e 'onstart:lower;button2=togglehide;sigusr1=togglehide'"
|
||||||
bottomBar = "conky | dzen2 -dock -p -y 1080 -ta l -w 1920 -e 'sigusr1=togglehide'"
|
bottomBar = "conky | dzen2 -dock -p -x 1920 -y 1080 -ta l -w 1920 -e 'sigusr1=togglehide'"
|
||||||
|
|
||||||
-- rightBar = "dzen2 -w 3840 -h 24 -ta r -fg #555753 -bg #000000 -fn Terminus-10 -xs 2"
|
-- rightBar = "dzen2 -w 3840 -h 24 -ta r -fg #555753 -bg #000000 -fn Terminus-10 -xs 2"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user