update
This commit is contained in:
@@ -131,9 +131,14 @@ for_window [app_id="chromium-browser"] fullscreen enable
|
||||
// Write sway config before starting
|
||||
const configPath = await this.writeSwayConfig(config);
|
||||
|
||||
// Use a fixed socket path so we can reliably connect
|
||||
const swaySocketPath = `${config.runtimeDir}/sway-ipc.sock`;
|
||||
this.swaySocket = swaySocketPath;
|
||||
|
||||
const env: Record<string, string> = {
|
||||
XDG_RUNTIME_DIR: config.runtimeDir,
|
||||
WLR_BACKENDS: config.backends,
|
||||
SWAYSOCK: swaySocketPath,
|
||||
};
|
||||
|
||||
if (config.allowSoftwareRendering) {
|
||||
|
||||
Reference in New Issue
Block a user