dr_watch(1)

πŸ“¦
this version Β· 4 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– dr_watch β€” bestie edition πŸ’–

okay so you found a USER COMMANDS page and it's dr_watch(1), and honestly? she's that girl. let me tell you everything 🫢


✨ NAME ✨

dr_watch β€” runs a program on a lil loop and shows you the output fullscreen πŸ‘‘


🌸 SYNOPSIS 🌸

dr_watch command

πŸ¦‹ DESCRIPTION πŸ¦‹

so dr_watch is basically doing the same thing as watch(1): it runs command over and over and over, showing you the output each time. main character behaviour, fr fr. πŸ’…

by default it runs sleep 2 before it refreshes the program's output, so it's acting exactly like watch does. no cap.

BUT. and this is the part where she ate πŸ’… β€” unlike watch, she can refresh the screen when some external command exits. that command gets passed in through the DR_SLEEP_CMD environment variable. obsessed. πŸ”₯

and if DR_NICE_WATCH is set to "false", she'll check whether watch(1) is even available on your system, and if she finds it, she just runs it. lowkey handing the aux cord over. πŸ™ˆ


πŸŽ€ ENVIRONMENT πŸŽ€

  • DR_SLEEP β€” an integer, bestie: the number of seconds to wait between each execution. ⏳
  • DR_SLEEP_CMD β€” like 'sleep 5' or 'mpc idle'. this is the external command whose exit triggers a screen refresh. ✨
  • DR_NICE_WATCH β€” set it to "false" if you'd rather have the traditional watch than this reimplementation of ours. no judgement 🫢

this manpage is copyright 2009, 2011, 2012, 2018 Joost van Baal-IliΔ‡ <joostvb-draai@mdcc.cx>. πŸ’–

Draai is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, as published by the Free Software Foundation β€” either version 3 of the License, or (at your option) any later version. slay.

⚠️ This program is distributed WITHOUT ANY WARRANTY. like, none. zero. nada. 😭

you should have received a copy of the GNU General Public License along with draai. if you didn't, see http://www.gnu.org/licenses/. go get it bestie πŸƒβ€β™€οΈπŸ’¨


🌈 AUTHOR 🌈

Joost van Baal-IliΔ‡ <joostvb-draai@mdcc.cx> β€” iconic, we stan πŸ’œ


and that's the whole vibe check βœ… β€” this page came from dr_watch 20201215, dated 15 Π΄Π΅Ρ† 2020, and it's giving dr_watch(1) energy forever. bye bestie, go watch something πŸ‘‹πŸ’–

πŸ“¦ where this page comes from