diff options
| author | Joshua Yun <joshua@joshuayun.com> | 2025-03-12 03:14:47 -0500 | 
|---|---|---|
| committer | Joshua Yun <joshua@joshuayun.com> | 2025-03-12 03:14:47 -0500 | 
| commit | 95c184a6a787b74f08356ba819b7f6e406a5d65b (patch) | |
| tree | e743484df2ef86e68957ceb5b859587853b08b1e | |
| parent | 9c995399c118d6e22e1e0ae588857e605bab1e5f (diff) | |
| download | dwl-95c184a6a787b74f08356ba819b7f6e406a5d65b.tar.gz | |
Autostart systemctl environment for xdg portal functionality
| -rw-r--r-- | config.def.h | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/config.def.h b/config.def.h index 6b69c1a..6a5e879 100644 --- a/config.def.h +++ b/config.def.h @@ -30,7 +30,8 @@ static int log_level = WLR_ERROR;  /* Autostart */  static const char *const autostart[] = { -        "wbg", "/path/to/your/image", NULL, +        "dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP XDG_SESSION_TYPE", NULL, +	"systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP XDG_SESSION_TYPE", NULL,          NULL /* terminate */  }; | 
