logo

dotfiles

My dotfiles, one branch per machine
commit: 4aeff7af5a75e35c5fd49861d51dceccedfcc868
parent: 2c96d6aeda7adfe92d2572931710e9f31a4cd82f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue,  1 Jan 2019 05:34:15 +0100

.common.sh: DISPLAY=:0.0 if startx is launched

Diffstat:

M.common.sh5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/.common.sh b/.common.sh @@ -136,3 +136,8 @@ wat-unicode() { } stty sane # I can haz urandom + +if [[ 0 -lt $(pgrep startx | wc -l) ]] +then + export DISPLAY=":0.0" +fi