#!/usr/bin/env bash # use .Xmodmap if [[ -f ~/.Xmodmap ]]; then /usr/bin/xmodmap ~/.Xmodmap & fi # set X settings if [ -x /usr/bin/xset ]; then # disable bell xset -b fi # start lxpolkit to have polkit authentication if [ -x /usr/bin/lxpolkit ]; then /usr/bin/lxpolkit & fi # setup screens on login using autorandr if [ -x "$HOME/bin/setup_screens" ]; then $HOME/bin/setup_screens & fi # start automatic lock based on xssstate and i3lock if [ -x "$HOME/bin/xorg_autolock" ]; then $HOME/bin/xorg_autolock & fi # start redshift if [ -x /usr/bin/redshift ]; then /usr/bin/redshift-gtk & fi # start a termite terminal if [ -x /usr/bin/termite ]; then termite & fi