diff options
| author | Thomas Schneider <qsx@qsx.re> | 2019-06-23 18:19:01 +0200 |
|---|---|---|
| committer | Thomas Schneider <qsx@qsx.re> | 2019-06-23 18:19:01 +0200 |
| commit | 4835d3134602414ef6e21fc16abc5b0f73deaea9 (patch) | |
| tree | f3e201ab66eb4fb31ee607ce8effc2012c6388bf | |
| parent | f2de920744ec027b7e64c3493c8acdec8fbf57f9 (diff) | |
xprofile: Check more reliably whether it’s been run
| -rw-r--r-- | dot.xprofile | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
