bspwm/examples/loop/bspwmrc

14 lines
238 B
Text
Raw Normal View History

2013-03-18 11:30:41 +01:00
#! /bin/sh
if [ -e "$BSPWM_TREE" ] ; then
bspc restore -T "$BSPWM_TREE"
rm "$BSPWM_TREE"
2013-03-18 11:30:41 +01:00
else
bspc control --adopt-orphans
2013-03-18 11:30:41 +01:00
fi
if [ -e "$BSPWM_HISTORY" ] ; then
bspc restore -H "$BSPWM_HISTORY"
rm "$BSPWM_HISTORY"
fi