aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-09 13:54:52 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-09 13:54:52 -0400
commit4924628ac241530d8e823e69d542f3e846d8b10c (patch)
tree8fd37b1a148494031940f2aea0754f3011381dbe /sway
parentea9659f39cb6211548e9ac892f327b9ba08b751a (diff)
Set DISPLAY to :1 automatically
Diffstat (limited to 'sway')
-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;
}