#!/bin/bash

# Copyright Jean-Philippe Guillemin <h1p8r10n@gmail.com>. This program is free software; you can redistribute
# it and/or modify it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at your option)
# any later version. Please take a look at http://www.gnu.org/copyleft/gpl.htm

if [ "$1" ]; then
	pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY USER=$USER "$BASH_ARGV"
else
	echo "Usage : $0 <command...>"
fi
