From 0b90c601e76a7fa93a29cc4b5f837d88d9b19fe5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 7 Oct 2016 15:25:16 +0100 Subject: make wmctrl command variable --- sisyphus | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/sisyphus b/sisyphus index cac7521..a61f593 100755 --- a/sisyphus +++ b/sisyphus @@ -1,6 +1,7 @@ #!/bin/bash export local showprogress="yad --title "sisyphus" --text-info --width 640 --height 480 --center --listen --tail &" +export local focusprogress="wmctrl -F -a "sisyphus" -b add,above" export local SISYPHUS=' @@ -19,37 +20,37 @@ export local SISYPHUS=' epkg autoinstall $pkgname | $showprogress sleep 1 - wmctrl -F -a "sisyphus" -b add,above + $focusprogress -- cgit v1.2.3