mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-09 13:29:54 -05:00
opt: set XDG_CURRENT_DESKTOP env in setup
This commit is contained in:
parent
f56db5deb1
commit
d80fb44e72
1 changed files with 2 additions and 2 deletions
|
|
@ -5024,8 +5024,6 @@ run(char *startup_cmd) {
|
|||
if (!wlr_backend_start(backend))
|
||||
die("startup: backend_start");
|
||||
|
||||
setenv("XDG_CURRENT_DESKTOP", "maomao", 1);
|
||||
|
||||
/* Now that the socket exists and the backend is started, run the startup
|
||||
* command */
|
||||
if(!startup_cmd)
|
||||
|
|
@ -5483,6 +5481,8 @@ void setup(void) {
|
|||
|
||||
init_baked_points();
|
||||
|
||||
setenv("XDG_CURRENT_DESKTOP", "maomao", 1);
|
||||
|
||||
int drm_fd, i, sig[] = {SIGCHLD, SIGINT, SIGTERM, SIGPIPE};
|
||||
struct sigaction sa = {.sa_flags = SA_RESTART, .sa_handler = handlesig};
|
||||
sigemptyset(&sa.sa_mask);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue