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
|
# disable DPMS and screensaving
|
||||||
xset s off -dpms
|
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
|
if [ -f "$HOME/.config/feh/fehbg" ] ; then
|
||||||
"$HOME/.config/feh/fehbg" &
|
"$HOME/.config/feh/fehbg" &
|
||||||
|
@ -86,8 +90,10 @@ case "$_host" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -f /usr/local/bin/start_dwm ] ; then
|
bspwm
|
||||||
exec /usr/local/bin/start_dwm
|
|
||||||
else
|
# if [ -f /usr/local/bin/start_dwm ] ; then
|
||||||
exec /usr/local/bin/dwm
|
# exec /usr/local/bin/start_dwm
|
||||||
fi
|
# else
|
||||||
|
# exec /usr/local/bin/dwm
|
||||||
|
# fi
|
||||||
|
|
Loading…
Reference in New Issue