1 2 3 4 5 6 7 8 9
#!/bin/bash while true; do xsetroot -name "$(ip r | awk '{print $9}' | head -n 1) $(date) $(hostname) " sleep 1 done # vim: set tw=0: