dotfiles

my shiny new dotfiles
git clone git://git.jakekoroman.com/dotfiles
Log | Files | Refs | README

baraction (237B)


      1 #!/bin/sh
      2 
      3 FIFO="$XDG_RUNTIME_DIR/sandbar"
      4 [ -e "$FIFO" ] || mkfifo "$FIFO"
      5 
      6 clock() {
      7 	printf "$(LANG=fr_CA.utf8 date +'%A %Y-%m-%d %H:%M')"
      8 }
      9 
     10 display() {
     11 	echo "all status $(clock)" > "$FIFO"
     12 }
     13 
     14 while true; do
     15 	display
     16 	sleep 60
     17 done