diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-09 13:54:52 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-09 13:54:52 -0400 |
commit | 4924628ac241530d8e823e69d542f3e846d8b10c (patch) | |
tree | 8fd37b1a148494031940f2aea0754f3011381dbe /sway | |
parent | ea9659f39cb6211548e9ac892f327b9ba08b751a (diff) |
Set DISPLAY to :1 automatically
Diffstat (limited to 'sway')
-rw-r--r-- | sway/main.c | 1 |
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; } |