@@ -7,7 +7,7 @@ let
|
||||
runtimeInputs = with pkgs; [ coreutils-full ];
|
||||
bashOptions = [ "nounset" "pipefail" ];
|
||||
text = ''
|
||||
if [ -z "$WAYLAND_DISPLAY" ]; then
|
||||
if [ -z "''${WAYLAND_DISPLAY:-}" ]; then
|
||||
echo "No Wayland session active. Exiting."
|
||||
exit 0
|
||||
fi
|
||||
|
Reference in New Issue
Block a user