#! /bin/sh
# Autostart
grep -x dunst > /dev/null || dunst -conf $HOME/.config/dunst/dunstrc &
sxhkd &
xrdb $HOME/.Xresources
$HOME/.config/polybar/launch.sh &
pgrep -x polkit-gnome-au > /dev/null || /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
feh --bg-fill --randomize $HOME/backgrounds/* /usr/share/backgrounds/* &
pgrep -x nm-applet > /dev/null || nm-applet &
pgrep -x pasystray > /dev/null || pasystray &
pgrep -x xscreensaver > /dev/null || xscreensaver -no-splash &
pgrep -x picom > /dev/null || picom --config $HOME/.config/picom/picom.conf &
pgrep -x wmname > /dev/null || wmname LG3D &
gnome-keyring-daemon --start &
# Set workspaces
bspc monitor eDP1 -d 1 2 3 4 5 6 7 8 9 10
# BSPWM config
bspc config border_width 1
bspc config window_gap 12
bspc config split_ratio 0.50
bspc config borderless_monocle true
bspc config gapless_monocle true