aboutsummaryrefslogtreecommitdiff
path: root/xmail
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-09-21 09:26:38 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-09-21 09:26:38 -0300
commitfa6b8ebc95f4dc8f30bf07c503f3bdbbc81d909c (patch)
tree176df866ed0938b52c36f071b40d77d190b3f4b2 /xmail
parent1233cfe580dda1ac1e86e60a048c2d3ed94b673c (diff)
downloadutils-x11-fa6b8ebc95f4dc8f30bf07c503f3bdbbc81d909c.tar.gz
utils-x11-fa6b8ebc95f4dc8f30bf07c503f3bdbbc81d909c.tar.bz2
Firejail title workaround at xmail
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