X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FScripts%2FPublic.git;a=blobdiff_plain;f=wrapper_display;fp=wrapper_display;h=0146d3a41060661def1859a9412f8e5fa6488fd0;hp=6b304470932b9d443b6c4e336d47be19c56f6498;hb=2d8938f6bef5a7afc4d4f65df9188634de25ef0f;hpb=d5a5b224b549dc17f472fc8a13270d6041f62546 diff --git a/wrapper_display b/wrapper_display index 6b30447..0146d3a 100755 --- a/wrapper_display +++ b/wrapper_display @@ -21,6 +21,9 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. + +# Feel like tipping/donating? https://www.immae.eu/licenses_and_tipping + eval `tmux show-env DISPLAY | grep -v "^-DISPLAY"` if `ss -o state established sport = :5901 | grep -q "^tcp"`; then DISPLAY=:1