## Openbox autostart
## ====================
## When you login to your Openbox session, this autostart script
## will be executed to set-up your environment and launch any applications
## you want to run at startup.
##
## Note: some programs, such as 'nm-applet' are run via XDG autostart.
## Run
## /usr/lib/x86_64-linux-gnu/openbox-xdg-autostart --list
## or
## /usr/lib/i386-linux-gnu/openbox-xdg-autostart --list
## to list any XDG autostarted programs.
##
## More information about this can be found at:
## http://openbox.org/wiki/Help:Autostart
##

## Turn on/off system beep.
xset b off &

## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
## Adjust the values according to your preferances.
xset r rate 250 25 &

### TOUCHPAD: uncomment (remove the hashtag) the "synclient" and "syndaemon" lines if you have one

## Configure touchpad. See 'man synaptics' for more info.
## Now might be using libinput
#synclient VertEdgeScroll=1 HorizEdgeScroll=1 TapButton1=1 TapButton2=3 &

## Disable touchpad while typing
#syndaemon -i .5 -K -t -R -d &

## GNOME PolicyKit and Keyring
eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &

## GNOME PolicyKit authentication
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &

## Set the wallpaper
$HOME/.fehbg &

## Start Picom, a lightweight X11 compositor
## NOTE: composition must be started before tint2
picom -b

## Start the tint2 session
tint2 &

## Start xscreensaver
xscreensaver -no-splash &

## Run redshift
# redshift -l lat:long &

## Volume control for systray
(sleep 2s && pnmixer) &

## Start the Conky session
conky $HOME/.conkyrc &
