aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--dunst/.config/dunst/dunstrc1
-rwxr-xr-xmbsync/.local/bin/maildir-notify8
2 files changed, 3 insertions, 6 deletions
diff --git a/dunst/.config/dunst/dunstrc b/dunst/.config/dunst/dunstrc
index 24fc158..a805462 100644
--- a/dunst/.config/dunst/dunstrc
+++ b/dunst/.config/dunst/dunstrc
@@ -9,6 +9,7 @@
idle_threshold = 120
font = sans-serif 12
markup = full
+ min_icon_size = 16
icon_theme = gruvbox-dark-icons-gtk, Adwaita, hicolor
enable_recursive_icon_lookup = true
dmenu = "/usr/bin/wmenu -i -f 'monospace 12' -nebdbb2 -N282828 -S282828 -sfe8019 -mebdbb2 -M8ec07c"
diff --git a/mbsync/.local/bin/maildir-notify b/mbsync/.local/bin/maildir-notify
index f598f69..4250bfe 100755
--- a/mbsync/.local/bin/maildir-notify
+++ b/mbsync/.local/bin/maildir-notify
@@ -10,10 +10,6 @@ inotifywait --monitor --event create --event moved_to "$@" |
while read -r dir _action file; do
grep '^\(Subject\|From\|To\): .*$' <"${dir}${file}" |
sed -e 's/</\&lt\;/g' -e 's/>/\&gt\;/g' |
- notify-send \
- -a 'maildir-notify' \
- -c 'email.arrived' \
- -i 'mail-unread-symbolic' \
- 'You have new mail' \
- "$(cat -)"
+ notify-send -a maildir-notify -c email.arrived -i mail-unread \
+ 'You have new mail' "$(cat -)"
done