aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-02-20 13:40:09 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-02-21 07:27:49 +0400
commit9f1b4ee2996bc75ba521e9d80f001c98e379b231 (patch)
tree6ba9e0837300e7e5415e4607efb7edebb47cbc88 /resources
parentf0a5e9c9332624aa7ea201c8c83f4f20b0a9775f (diff)
downloadniri-9f1b4ee2996bc75ba521e9d80f001c98e379b231.tar.gz
niri-9f1b4ee2996bc75ba521e9d80f001c98e379b231.tar.bz2
niri-9f1b4ee2996bc75ba521e9d80f001c98e379b231.zip
Set XDG_CURRENT_DESKTOP and XDG_SESSION_TYPE from niri itself
Diffstat (limited to 'resources')
-rwxr-xr-xresources/niri-session6
1 files changed, 0 insertions, 6 deletions
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