From 4924628ac241530d8e823e69d542f3e846d8b10c Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 9 Aug 2015 13:54:52 -0400 Subject: [PATCH] Set DISPLAY to :1 automatically --- sway/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/main.c b/sway/main.c index 2f69506c..03c7e2b3 100644 --- a/sway/main.c +++ b/sway/main.c @@ -58,6 +58,7 @@ int main(int argc, char **argv) { if (!wlc_init(&interface, argc, argv)) { return 1; } + setenv("DISPLAY", ":1", 1); wlc_run(); return 0; }