You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
908 B

5 years ago
#!/usr/bin/env sh
# Env vars
. /etc/profile
which "$TERM" || export TERM=st
which "$BROWSER" || export BROWSER=surf
[ -z "$MOZ_USE_XINPUT2" ] && export MOZ_USE_XINPUT2=1
[ -z "$XDG_CONFIG_HOME" ] && export XDG_CONFIG_HOME=~/.config
5 years ago
# Setup audio and a few sensible X defaults
alsactl --file /usr/share/sxmo/default_alsa_sound.conf restore
xmodmap /usr/share/sxmo/xmodmap_caps_esc
5 years ago
xsetroot -mod 3 2 -fg '#000000' -bg '#888888'
5 years ago
xset s off -dpms
xrdb /usr/share/sxmo/xresources_xcalc.xr
synclient TapButton1=1 TapButton2=3 TapButton3=2 MinSpeed=0.25
# Kill old hanging daemons
pkill lisgd && pkill conky
# Start daemons
5 years ago
conky -c /usr/share/sxmo/conky.conf -d
keynav &
autocutsel &
autocutsel -selection PRIMARY &
5 years ago
sxmo_statusbar.sh &
# Startup dbus, dunst in dbus path, lisgd in dbus path, and finally dwm
exec dbus-run-session sh -c "
dunst -conf /usr/share/sxmo/dunst.conf &
lisgd &
dwm 2> ~/.dwm.log
"