diff --git a/user/wm/xmonad/xmobar-st-check.sh.mustache b/user/wm/xmonad/xmobar-st-check.sh.mustache index 7423c264..4e09949c 100644 --- a/user/wm/xmonad/xmobar-st-check.sh.mustache +++ b/user/wm/xmonad/xmobar-st-check.sh.mustache @@ -1,7 +1,7 @@ #!/bin/sh while true do - curl localhost:8384 &> /dev/null || echo '❄ st off' > ~/.st-status; - curl localhost:8384 &> /dev/null && echo '↺ st on' > ~/.st-status; + curl localhost:8384 -m 1 &> /dev/null || echo '❄ st off' > ~/.st-status; + curl localhost:8384 -m 1 &> /dev/null && echo '↺ st on' > ~/.st-status; sleep 5; done diff --git a/user/wm/xmonad/xmonad.org b/user/wm/xmonad/xmonad.org index f18f35e3..00fc3e6f 100644 --- a/user/wm/xmonad/xmonad.org +++ b/user/wm/xmonad/xmonad.org @@ -770,8 +770,8 @@ Config { font = "Inconsolata 16" #!/bin/sh while true do - curl localhost:8384 &> /dev/null || echo '❄ st off' > ~/.st-status; - curl localhost:8384 &> /dev/null && echo '↺ st on' > ~/.st-status; + curl localhost:8384 -m 1 &> /dev/null || echo '❄ st off' > ~/.st-status; + curl localhost:8384 -m 1 &> /dev/null && echo '↺ st on' > ~/.st-status; sleep 5; done #+END_SRC