22 lines
560 B
Bash
Executable file
22 lines
560 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
BAR_COMMAND="startbar"
|
|
BSPWM_STATE_FILE="$HOME/.bspwm_state"
|
|
|
|
if [ -e "$BSPWM_STATE" ] ; then
|
|
bspc wm -l "$BSPWM_STATE"
|
|
rm "$BSPWM_STATE"
|
|
fi
|
|
|
|
. "$DOTFILES_PATH/apps/de/bspwm/config"
|
|
|
|
[ -f "$HOME/.fehbg" ] && "$HOME/.fehbg" &
|
|
[ "$(xrq bspwm.start_compton)" = "true" ] && has_command compton && compton &
|
|
[ "$(xrq bspwm.start_bar)" = "true" ] && has_command "${BAR_COMMAND}" && "${BAR_COMMAND}" &
|
|
has_command urxvtd && urxvtd &
|
|
has_command dunst && dunst &
|
|
has_command sxhkd && sxhkd -m -1 &
|
|
has_command unclutter && unclutter &
|
|
|
|
bspc wm -o
|