From 9a3c9d38bb85167d8e5a47a64b144c87aae794b5 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Sat, 13 Feb 2021 20:07:03 +0000 Subject: [PATCH] Adds a command gmutt that opens my terminal with mutt loaded Also adds a desktop file that allows mutt to handle mailto: links --- bin/.bin/gmutt | 4 ++++ mutt/.local/share/applications/mutt.desktop | 15 +++++++++++++++ 2 files changed, 19 insertions(+) create mode 100755 bin/.bin/gmutt create mode 100644 mutt/.local/share/applications/mutt.desktop diff --git a/bin/.bin/gmutt b/bin/.bin/gmutt new file mode 100755 index 00000000..29442bd4 --- /dev/null +++ b/bin/.bin/gmutt @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +export initialCommand="neomutt $@" +/usr/local/bin/st diff --git a/mutt/.local/share/applications/mutt.desktop b/mutt/.local/share/applications/mutt.desktop new file mode 100644 index 00000000..caca8beb --- /dev/null +++ b/mutt/.local/share/applications/mutt.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +_Name=NeoMutt +_Comment=Manage your email +_Keywords=email; +Actions=compose; +Exec=gmutt %U +Icon=neomutt +Terminal=false +Type=Application +StartupNotify=true +MimeType=application/mbox;message/rfc822;x-scheme-handler/mailto; + +[Desktop Action compose] +_Name=Compose a Message +Exec=gmutt mailto: