Created
July 18, 2014 04:03
-
-
Save dvorka/26d49d9365ad9da88ea1 to your computer and use it in GitHub Desktop.
Bring KeePassX window to front in Gnome
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wmctrl -lp | while read identity desktop_number PID window_title; do | |
echo $window_title | |
if [[ $string == *KeePassX* ]] | |
then | |
echo "It's there!"; | |
fi | |
# if [ "${pids/ $PID }" != "$pids" ]; then | |
# wmctrl -ia $identity | |
# fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment