mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit 22b62d9aaf23d4008bc73684b5c7e31d1dc8f0e8
parent 3c7930195fc8bc996771f0dfa4f44ee79f72caa7
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Mon, 30 Mar 2015 03:04:32 +0200

background for restricted sessions

Diffstat:
startup | 11+++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/startup b/startup @@ -10,9 +10,16 @@ nm-applet & rm ~/temp/terminals ~/bin/layout ~/bin/kiwix -xsetroot -solid '#000000' & +if [ `whoami` = a3nm ] +then + COLOR="#000000" +else + # easy reminder that this is not my session + COLOR="#800000" +fi +xsetroot -solid "$COLOR" & # when using compton -hsetroot -solid '#000000' & +hsetroot -solid "$COLOR" & # is there a better way to reset xhost permissions? xhost +si:localuser:`whoami`