Created
September 8, 2010 14:30
-
-
Save v6ak/570205 to your computer and use it in GitHub Desktop.
Switching tray in Openbox
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
<keybind key="W-t"> | |
<action name="Execute"> | |
<startupnotify> | |
<enabled>true</enabled> | |
<name>qwitch tint</name> | |
</startupnotify> | |
<command>~/bin/switchTray</command> | |
</action> | |
</keybind> |
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 | |
#APP="tint2" | |
#APP="stalonetray" | |
APP="docker" | |
#APP="pypanel" | |
if killall "$APP"; then | |
echo killed | |
else | |
"$APP"& | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment