Ubuntu Pastebin

Paste from Grorco at Sun, 21 Aug 2016 10:48:00 +0000

Download as text
1
2
3
4
#!/bin/bash
sh -c "/home/warren/Downloads/pycharm-community-2016.2/bin/pycharm.sh" %f &
 pid=$! ; until wmctrl -l -p | grep -i "3 $1"  &>/dev/null ;
 do echo "Waiting for window" ; sleep .5 ; done; sleep 1; wmctrl -r 'PyCharm' -t 3
Download as text