-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nixos/hypridle: check XDG_SESSION_DESKTOP as well
Docs: https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#ConditionEnvironment=
- Loading branch information
1 parent
7bcef72
commit 0021223
Showing
1 changed file
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This would work only if
XDG_SESSION_DESKTOP
is set and only if it is set toHyprland
. Uwsm does that (it takes the first item ofXDG_CURRENT_DESKTOP
), but other solutions may not.