bspwm/examples/loop/bspwmrc
Bastien Dejean 2f4c9e9fd4 New option for bspwm: -c
In addition, the path of the default configuration file has changed.
2013-07-29 10:27:04 +02:00

13 lines
238 B
Bash
Executable file

#! /bin/sh
if [ -e "$BSPWM_TREE" ] ; then
bspc restore -T "$BSPWM_TREE"
rm "$BSPWM_TREE"
else
bspc control --adopt-orphans
fi
if [ -e "$BSPWM_HISTORY" ] ; then
bspc restore -H "$BSPWM_HISTORY"
rm "$BSPWM_HISTORY"
fi