aboutsummaryrefslogtreecommitdiff
path: root/skype
blob: 7a7d0459ae8be522c5de37eed2c08dc5e62e0397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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 -