fix bug in newmail.sh
authorMart Lubbers <mart@martlubbers.net>
Thu, 17 Jan 2019 07:01:24 +0000 (08:01 +0100)
committerMart Lubbers <mart@martlubbers.net>
Thu, 17 Jan 2019 07:01:24 +0000 (08:01 +0100)
README.md
dirs.sh [deleted file]
email/.local/bin/newmail.sh

index 5bfcd42..8ebd1a7 100644 (file)
--- 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 (file)
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
index 8d8c35c..a0af1ad 100755 (executable)
@@ -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!"