mirror of
https://github.com/swaywm/sway.git
synced 2025-01-14 00:06:29 +01:00
Set DISPLAY to :1 automatically
This commit is contained in:
parent
ea9659f39c
commit
4924628ac2
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue