aboutsummaryrefslogtreecommitdiff
path: root/sway/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c1
1 files changed, 1 insertions, 0 deletions
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;
}