Skip to content
Browse files

mv dotfiles/logs, rename ~ to $HOME

  • Loading branch information...
1 parent b0538d2 commit 36898d89719f4b0816eaf38d7c8a1d7ddc3e03e1 Andrew Wong committed Apr 29, 2012
Showing with 6 additions and 6 deletions.
  1. +2 −2 dwm-start
  2. +3 −3 dwm-statusbar
  3. +1 −1 rbackup
View
4 dwm-start
@@ -3,11 +3,11 @@
# ~/bin/dwm-start
#
-~/bin/dwm-statusbar &
+$HOME/bin/dwm-statusbar &
while true; do
# Log stderror to a file
- dwm 2> ~/.dwm.log
+ dwm 2> $HOME/.logs/dwm.log
# No error logging
#dwm >/dev/null 2>&1
done
View
6 dwm-statusbar
@@ -28,17 +28,17 @@ print_torrent_status() {
}
print_gmail_unread() {
- gmail_unread="$(find ~/.maildir/gmail/inbox/new -type f | wc -l)"
+ gmail_unread="$(find $HOME/.maildir/gmail/inbox/new -type f | wc -l)"
echo -ne "\x05Ü\x04 Ó ${gmail_unread}"
}
print_mq_unread() {
- mq_unread="$(find ~/.maildir/mq/inbox/new -type f | wc -l)"
+ mq_unread="$(find $HOME/.maildir/mq/inbox/new -type f | wc -l)"
echo -ne "Ý Ó ${mq_unread}"
}
print_last_msg() {
- last_msg="$(cat ~/.irssi_pipe)"
+ last_msg="$(cat $HOME/.logs/irssi_pipe)"
echo -ne "\x06Ü\x01 Ò ${last_msg}"
}
View
2 rbackup
@@ -7,6 +7,6 @@
# rsync backup script
sudo sh -c "
-rsync -av --delete-excluded --exclude-from=/home/w0ng/.backup.list / $1;
+rsync -av --delete-excluded --exclude-from=$HOME/.config/backup.list / $1;
touch $1/BACKUP
"

0 comments on commit 36898d8

Please sign in to comment.
Something went wrong with that request. Please try again.