aboutsummaryrefslogtreecommitdiff
path: root/scripts/mutt.sh
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-08-18 13:08:00 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-08-18 13:08:00 +0200
commit36ab2288a970f8c771ecc33332e9cb0809d54197 (patch)
tree9e60516e18a3be9029368dbfb51b862981f6f9a8 /scripts/mutt.sh
parent81a8005194d5ef0141916ab67d77335b6d173f11 (diff)
downloaddotfiles-36ab2288a970f8c771ecc33332e9cb0809d54197.tar.gz
dotfiles-36ab2288a970f8c771ecc33332e9cb0809d54197.zip
[neo-/mutt] make use of local mail setup and add light and dark theme
Diffstat (limited to 'scripts/mutt.sh')
-rwxr-xr-xscripts/mutt.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/scripts/mutt.sh b/scripts/mutt.sh
deleted file mode 100755
index 31702ca..0000000
--- a/scripts/mutt.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-# read the password file
-pwds=`gpg -d ~/.mutt/passwords`
-eval "$pwds"
-# execute mutt in a terminal if we are in a graphical session ( X or Wayland )
-# and TERM is linux => this script was started not from a terminal
-if [ "$DISPLAY" ] || [ "$WAYLAND_DISPLAY" ] && [ "$TERM" == "linux" ]
-then
- # change font size on my main laptop
- if [ "$(hostname)" = "fishtank" ]
- then
- exec urxvt -fn "xft: Terminess Powerline:pixelsize=18" -e "mutt"
- else
- exec urxvt -e "mutt"
- fi
-else
- exec mutt "$@"
-fi