From 31c9e49181687607cbcb16623e2d99bbb9458a16 Mon Sep 17 00:00:00 2001 From: Till Hofmann Date: Sat, 4 Jan 2020 12:00:03 +0100 Subject: [PATCH] Set DesktopNames in sway.desktop to have `XDG_CURRENT_DESKTOP` Setting DesktopNames in the desktop file sets the environment variable `XDG_CURRENT_DESKTOP`, which can be used to find out the name of the currently running session. --- sway.desktop | 1 + 1 file changed, 1 insertion(+) diff --git a/sway.desktop b/sway.desktop index 420db5aa1..7034a2969 100644 --- a/sway.desktop +++ b/sway.desktop @@ -3,3 +3,4 @@ Name=Sway Comment=An i3-compatible Wayland compositor Exec=sway Type=Application +DesktopNames=sway