daily pastebin goal
50%
SHARE
TWEET

Launcher-Tint2

edps Apr 1st, 2012 (edited) 1,052 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  if [ $# -lt 1 ]
  3.  then
  4.    echo "Usage: `basename $0` {executable_name parameters}"
  5.    exit 1
  6.  fi
  7.  
  8.  [ "`wmctrl -lx | tr -s ' ' | cut -d' ' -f1-3 | grep -i $1`" ] || (($*&) && (sl$
  9.  for win in `wmctrl -lx | tr -s ' ' | cut -d' ' -f1-3 | grep -i $1 | cut -d' ' $
  10.  do
  11.      wmctrl -i -a $win
  12.  done
  13.  
  14.  exit 0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top