only run unclutter if it exists
This commit is contained in:
parent
183b0d3bd0
commit
d120de17c0
24
xinitrc
24
xinitrc
|
@ -34,7 +34,19 @@ if [ -f "$HOME/.xinitrc.extend" ] ; then
|
||||||
. "$HOME/.xinitrc.extend"
|
. "$HOME/.xinitrc.extend"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
~/.screenlayout/layout.sh
|
if [ -f "$HOME/.screenlayout/layout.sh" ] ; then
|
||||||
|
. "$HOME/.screenlayout/layout.sh"
|
||||||
|
elif [ -f "$HOME/.config/randr/randr.sh" ] ; then
|
||||||
|
. "$HOME/.config/randr/randr.sh" &
|
||||||
|
elif [ -f "$HOME/.config/randr.sh" ] ; then
|
||||||
|
. "$HOME/.config/randr.sh" &
|
||||||
|
elif [ -f "$HOME/randr.sh" ] ; then
|
||||||
|
. "$HOME/randr.sh" &
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -x "$(command -v unclutter)" ] ; then
|
||||||
|
unclutter --timeout 1 &
|
||||||
|
fi
|
||||||
|
|
||||||
setxkbmap gb
|
setxkbmap gb
|
||||||
# keypress repeat rate
|
# keypress repeat rate
|
||||||
|
@ -48,8 +60,6 @@ xmodmap -e "keycode 108 = Super_L"
|
||||||
# disable DPMS and screensaving
|
# disable DPMS and screensaving
|
||||||
xset s off -dpms
|
xset s off -dpms
|
||||||
|
|
||||||
unclutter --timeout 1 &
|
|
||||||
|
|
||||||
barrier_run &
|
barrier_run &
|
||||||
|
|
||||||
xbindkeys
|
xbindkeys
|
||||||
|
@ -63,6 +73,12 @@ case "$_host" in
|
||||||
Pamela)
|
Pamela)
|
||||||
xrandr --dpi 96
|
xrandr --dpi 96
|
||||||
;;
|
;;
|
||||||
|
# Patricia)
|
||||||
|
# ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
exec /usr/local/bin/start_dwm
|
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