Skip to content

Instantly share code, notes, and snippets.

@mrosset
Created February 20, 2011 22:58
Show Gist options
  • Save mrosset/836402 to your computer and use it in GitHub Desktop.
Save mrosset/836402 to your computer and use it in GitHub Desktop.
#!/bin/sh
while true; do
dwn_log=~/.dwm.log
# Log stderror to a file
urax&
chromium&
dwm 2> $dwn_log
# No error logging
#dwm >/dev/null 2>&1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment