#!/bin/bash # # Chroot wrapper # # Load configuration if [ -e "$HOME/.config/scripts/chroot" ]; then source $HOME/.config/scripts/chroot fi xhost local:$CHROOT_USER sudo su $CHROOT_USER -c "schroot -d /home/$CHROOT_USER -c squeeze -p skype" & sleep 1 xhost -