aboutsummaryrefslogtreecommitdiff
path: root/xmail
diff options
context:
space:
mode:
Diffstat (limited to 'xmail')
-rwxr-xr-xxmail8
1 files changed, 8 insertions, 0 deletions
diff --git a/xmail b/xmail
index 0b880ce..5a94b37 100755
--- a/xmail
+++ b/xmail
@@ -2,5 +2,13 @@
# Simple wrapper around mutt
#
+# Try to set title
xtitle mail
+
+# Title workaround for firejail
+# See https://github.com/netblue30/firejail/issues/281
+command='/usr/bin/xdotool search --name "firejail /usr/bin/mutt" set_window --name mail'
+sh -c "sleep 1 && $command" &
+
+# Dispatch to mail application
mail