Skip to content

Commit

Permalink
fix(dunst): add workaround to fix recursive...
Browse files Browse the repository at this point in the history
...icon search

Ref: dunst-project/dunst#1116
  • Loading branch information
tobyvin committed May 14, 2024
1 parent cacb85f commit 80e3a19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions dunst/.config/dunst/dunstrc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 2 additions & 6 deletions mbsync/.local/bin/maildir-notify
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 80e3a19

Please sign in to comment.