]> git.immae.eu Git - perso/Immae/Projets/Scripts/Public.git/blobdiff - wrapper_display
Hide stderr from wrapper_display
[perso/Immae/Projets/Scripts/Public.git] / wrapper_display
index 0146d3a41060661def1859a9412f8e5fa6488fd0..2482d96e9d343f313d994ca08ccfb88da04827f7 100755 (executable)
@@ -24,7 +24,7 @@
 
 # Feel like tipping/donating? https://www.immae.eu/licenses_and_tipping
 
-eval `tmux show-env DISPLAY | grep -v "^-DISPLAY"`
+eval `tmux show-env DISPLAY 2>/dev/null | grep -v "^-DISPLAY"`
 if `ss -o state established sport = :5901 | grep -q "^tcp"`; then
   DISPLAY=:1
 fi