From 0dbd02ab41dbe96cbbb3fda499f97e857196862d Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Thu, 17 Jan 2019 08:01:24 +0100 Subject: [PATCH] fix bug in newmail.sh --- README.md | 2 -- dirs.sh | 6 ------ email/.local/bin/newmail.sh | 2 +- 3 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 dirs.sh diff --git a/README.md b/README.md index 5bfcd42..8ebd1a7 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,6 @@ Tip: use GNU stow Install in: `/etc/udev/rules.d` - `20-keyboard.conf` defines the keyboard layout. Install in: `/etc/X11/xorg.conf.d/` -- `dirs.sh` creates all the directories so that stow won't link entire - directories. - `pkgs.sh` installs all™ packages needed for the dotfiles - `config.h` contains `config.h`'s for `st` and `dwm` - `texlive.profile` contains a minimal texlive profile for unattended installation. diff --git a/dirs.sh b/dirs.sh deleted file mode 100644 index 1828346..0000000 --- a/dirs.sh +++ /dev/null @@ -1,6 +0,0 @@ -mkdir -pv ~/.config/{mutt,khal,khard,vdirsyncer,todoman,notmuch,msmtp,offlineimap,dunst,tmux} -mkdir -pv ~/.bash_completion.d -mkdir -pv ~/.gnupg -mkdir -pv ~/.vim/{ftplugin,after/ftplugin,autoload,bundle,spell,pack/plugins/{opt,start}} -mkdir -pv ~/.local/bin -chmod 700 ~/.gnupg diff --git a/email/.local/bin/newmail.sh b/email/.local/bin/newmail.sh index 8d8c35c..a0af1ad 100755 --- a/email/.local/bin/newmail.sh +++ b/email/.local/bin/newmail.sh @@ -1,5 +1,5 @@ #!/bin/sh -newmail="$(find ~/.local/share/mutt/mail/INBOX/new/ -type f | wc -l)" +newmail="$(find ~/.local/share/offlineimap/mail/INBOX/new/ -type f | wc -l)" if [ "$newmail" -ne 0 ] then notify-send "$newmail new emails!" -- 2.20.1