sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 4924628ac241530d8e823e69d542f3e846d8b10c
parent ea9659f39cb6211548e9ac892f327b9ba08b751a
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun,  9 Aug 2015 13:54:52 -0400

Set DISPLAY to :1 automatically

Diffstat:
Msway/main.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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; }