From bd7637660e7c3c376792acb0891b241c519265dd Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Sat, 2 Jul 2022 20:24:49 +0800 Subject: [PATCH] feat: neomutt --- cli/neomutt.sh | 25 +++++++++++++++++++++++++ gui/awesome/rc.lua | 1 + 2 files changed, 26 insertions(+) create mode 100755 cli/neomutt.sh diff --git a/cli/neomutt.sh b/cli/neomutt.sh new file mode 100755 index 0000000..ad1d5c4 --- /dev/null +++ b/cli/neomutt.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +set -e +DIR=$(dirname "$(readlink -f "$0")") +. "$DIR/../env.sh" + +log 'Setting up neomutt' + +case "$PM" in + pacman) + sudo pacman -S --noconfirm --needed neomutt isync lynx notmuch cronie urlscan + yay -S --noconfirm --needed abook cyrus-sasl-xoauth2-git + ;; +esac + + +case "$UNAMEA" in + *artix*) + sudo pacman -S --noconfirm --needed cronie-runit + sudo ln -sf /etc/runit/sv/cronie/ /run/runit/service/ + ;; +esac + + +makeinstallrepo https://github.com/klesh/mutt-wizard.git mutt-wizard diff --git a/gui/awesome/rc.lua b/gui/awesome/rc.lua index 4462073..6ea33fd 100644 --- a/gui/awesome/rc.lua +++ b/gui/awesome/rc.lua @@ -864,5 +864,6 @@ awful.spawn.with_shell("flameshot") awful.spawn.with_shell("nm-applet") awful.spawn.with_shell("copyq") awful.spawn.with_shell("bluetoothctl power on") +awful.spawn.with_shell("env > ~/.env") -- }}}