only run unclutter if it exists
This commit is contained in:
parent
183b0d3bd0
commit
d120de17c0
22
xinitrc
22
xinitrc
|
@ -34,7 +34,19 @@ if [ -f "$HOME/.xinitrc.extend" ] ; then
|
|||
. "$HOME/.xinitrc.extend"
|
||||
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
|
||||
# keypress repeat rate
|
||||
|
@ -48,8 +60,6 @@ xmodmap -e "keycode 108 = Super_L"
|
|||
# disable DPMS and screensaving
|
||||
xset s off -dpms
|
||||
|
||||
unclutter --timeout 1 &
|
||||
|
||||
barrier_run &
|
||||
|
||||
xbindkeys
|
||||
|
@ -63,6 +73,12 @@ case "$_host" in
|
|||
Pamela)
|
||||
xrandr --dpi 96
|
||||
;;
|
||||
# Patricia)
|
||||
# ;;
|
||||
esac
|
||||
|
||||
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