try to start sxhkd if xbindkeys not installed
This commit is contained in:
parent
64662edfa1
commit
3f69dfb3c1
18
xinitrc
18
xinitrc
|
@ -60,7 +60,11 @@ xmodmap -e "keycode 108 = Super_L"
|
|||
# disable DPMS and screensaving
|
||||
xset s off -dpms
|
||||
|
||||
xbindkeys
|
||||
if command -v xbindkeys ; then
|
||||
xbindkeys
|
||||
elif command -v sxhkd ; then
|
||||
sxhkd &
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.config/feh/fehbg" ] ; then
|
||||
"$HOME/.config/feh/fehbg" &
|
||||
|
@ -86,8 +90,10 @@ case "$_host" in
|
|||
;;
|
||||
esac
|
||||
|
||||
if [ -f /usr/local/bin/start_dwm ] ; then
|
||||
exec /usr/local/bin/start_dwm
|
||||
else
|
||||
exec /usr/local/bin/dwm
|
||||
fi
|
||||
bspwm
|
||||
|
||||
# if [ -f /usr/local/bin/start_dwm ] ; then
|
||||
# exec /usr/local/bin/start_dwm
|
||||
# else
|
||||
# exec /usr/local/bin/dwm
|
||||
# fi
|
||||
|
|
Loading…
Reference in New Issue