From 4835d3134602414ef6e21fc16abc5b0f73deaea9 Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Sun, 23 Jun 2019 18:19:01 +0200 Subject: xprofile: Check more reliably whether it’s been run MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dot.xprofile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dot.xprofile b/dot.xprofile index 31bd0c6..d583cfc 100644 --- a/dot.xprofile +++ b/dot.xprofile @@ -1,4 +1,4 @@ -if [ -z $XPROFILE_RUN ]; then +if [ "$XPROFILE_RUN" != "yes" ]; then export XPROFILE_RUN=yes export GDK_SCALE=2 xrandr --dpi 192 @@ -11,3 +11,4 @@ if [ -z $XPROFILE_RUN ]; then compton --backend=glx --glx-swap-method=buffer-age -b (while ! pidof i3; do sleep 1; done; exec polybar -r top) & fi +export XPROFILE_RUN=yes -- cgit v1.2.3