mirror of
https://github.com/swaywm/sway.git
synced 2026-04-23 06:46:27 -04:00
feat: set xdg-current-desktop envirenment in main.c
Then the env will be sway as default, not needed to be set by people I think it should be better
This commit is contained in:
parent
9400bd963c
commit
ac994d3c10
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ static const char usage[] =
|
|||
|
||||
int main(int argc, char **argv) {
|
||||
static bool verbose = false, debug = false, validate = false, allow_unsupported_gpu = false;
|
||||
|
||||
setenv("XDG_CURRENT_DESKTOP", "sway", 0);
|
||||
char *config_path = NULL;
|
||||
|
||||
int c;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue