From 9f1b4ee2996bc75ba521e9d80f001c98e379b231 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 20 Feb 2024 13:40:09 +0400 Subject: Set XDG_CURRENT_DESKTOP and XDG_SESSION_TYPE from niri itself --- resources/niri-session | 6 ------ 1 file changed, 6 deletions(-) (limited to 'resources') diff --git a/resources/niri-session b/resources/niri-session index fb3121d8..85f6991f 100755 --- a/resources/niri-session +++ b/resources/niri-session @@ -20,12 +20,6 @@ fi # Reset failed state of all user units. systemctl --user reset-failed -# Set the current desktop for xdg-desktop-portal. -export XDG_CURRENT_DESKTOP=niri - -# Ensure the session type is set to Wayland for xdg-autostart apps. -export XDG_SESSION_TYPE=wayland - # Import the login manager environment. systemctl --user import-environment -- cgit