From fa6b8ebc95f4dc8f30bf07c503f3bdbbc81d909c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 21 Sep 2017 09:26:38 -0300 Subject: Firejail title workaround at xmail --- xmail | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'xmail') 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 -- cgit v1.2.3