diff options
| author | Patrick <devnull@mailinator.com> | 2017-06-08 16:41:00 +0800 |
|---|---|---|
| committer | Patrick <devnull@mailinator.com> | 2017-06-08 16:41:17 +0800 |
| commit | 5bc9b12ced99e942ea4eea122fb70dda7042b60c (patch) | |
| tree | a2230d46d028dafd98f50382fd2ff80e957362dc /scripts/x-banish | |
| parent | b1fb8bef64d63e00d67be40b36e2c82a0c9d9dc7 (diff) | |
whitespace, config update
Diffstat (limited to 'scripts/x-banish')
| -rwxr-xr-x | scripts/x-banish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/x-banish b/scripts/x-banish index 47208d3..df9f939 100755 --- a/scripts/x-banish +++ b/scripts/x-banish @@ -1,6 +1,6 @@ #!/bin/bash dir="${HOME}/.wm-banished" -programs_to_stop='(surf|acroread)' +programs_to_stop='(surf|acroread|firefox)' pid() { action=$1 @@ -26,7 +26,7 @@ pid() { w_id=$( xdotool search --maxdepth 1 --onlyvisible . 2>/dev/null | tail -1 ) xdotool windowunmap $w_id pid "stop" $w_id - echo "banished $(xdotool getwindowname $w_id)" | ~/bin/dmenu.sh + #echo "banished $(xdotool getwindowname $w_id)" | dmenu #~/bin/dmenu.sh touch "${dir}/${w_id}" exit 0 } |
