commit 995f0aed334feb6fe8bb678984d21fa88c17f346 parent 8dde1a2d1561295fb428908e5c2fe27b583aa087 Author: Antoine Amarilli <a3nm@a3nm.net> Date: Wed, 11 Mar 2015 16:19:41 +0100 set xhost permissions Diffstat:
startup | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/startup b/startup @@ -14,3 +14,9 @@ xsetroot -solid '#000000' & # when using compton hsetroot -solid '#000000' & +# is there a better way to reset xhost permissions? +xhost +si:localuser:a3nm +xhost | sed 1d | grep -v a3nm | while read l; do + xhost "-$l" +done +