diff options
Diffstat (limited to 'static/thesiah.sh')
| -rwxr-xr-x | static/thesiah.sh | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/static/thesiah.sh b/static/thesiah.sh index 2690c96..b0796aa 100755 --- a/static/thesiah.sh +++ b/static/thesiah.sh @@ -776,13 +776,9 @@ EndSection' > /etc/X11/xorg.conf.d/20-intel.conf Option "Tapping" "on" EndSection' >/etc/X11/xorg.conf.d/40-libinput.conf -# Update addressbook config path in muttrc -awk ' - /^set query_command = "abook --mutt-query/ { - gsub(/abook --mutt-query/, "abook --datafile ~/.config/abook/addressbook --mutt-query") - } - { print } -' /usr/share/mutt-wizard/mutt-wizard.muttrc >/tmp/mutt-wizard.muttrc.tmp && mv /tmp/mutt-wizard.muttrc.tmp /usr/share/mutt-wizard/mutt-wizard.muttrc +# Update muttrc for abook config path and thesiah's muttrc +grep -q "thesiah.muttrc" /home/"$name"/.config/mutt/muttrc || \ + sed -i "/source \/usr\/share\/mutt-wizard\/mutt-wizard\.muttrc/source \/home\/$name\/.config\/mutt\/thesiah\.muttrc" /home/"$name"/.config/mutt/muttrc [ ! -f /usr/share/libalpm/hooks/statusbar.hook ] && printf '[Trigger] Operation = Upgrade |
