Skip to content

Instantly share code, notes, and snippets.

@v6ak
Created September 8, 2010 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save v6ak/570205 to your computer and use it in GitHub Desktop.
Save v6ak/570205 to your computer and use it in GitHub Desktop.
Switching tray in Openbox
<keybind key="W-t">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>qwitch tint</name>
</startupnotify>
<command>~/bin/switchTray</command>
</action>
</keybind>
#!/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