Auto launch terminator and qutebrowser if not already launched

This commit is contained in:
gardouille 2016-12-13 22:21:55 +01:00
parent 32218dfb99
commit 5968eada2a
1 changed files with 9 additions and 0 deletions

View File

@ -13,6 +13,14 @@ xsetroot -solid '#5A8E3A'
TERMINAL=terminator
if [ $(command -v terminator) ] && [ ! $(pidof -x terminator) ] ; then
terminator &
fi
if [ $(command -v qutebrowser) ] && [ ! $(pidof -x qutebrowser) ] ; then
qutebrowser &
fi
###################
### Keybindings ###
###################
@ -136,6 +144,7 @@ hc keybind $Mod-Shift-i jumpto urgent
hc keybind $Mod-BackSpace spawn ${TERMINAL:-xterm} # use your $TERMINAL with xterm as fallback
hc keybind $Mod-dead_circumflex spawn ~/.dmenu
hc keybind XF86HomePage spawn firefox
hc keybind $Mod-q spawn qutebrowser
hc keybind XF86Mail spawn icedove
hc keybind XF86Calculator spawn gnome-calculator
hc keybind Print spawn ~/bin/printscreen