Created
October 24, 2025 08:13
-
-
Save anoduck/37ab812ee0967df9a01704b8407278e1 to your computer and use it in GitHub Desktop.
Discover value of "WAYLAND_DISPLAY" and export it.
This file contains hidden or 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
| #!/usr/bin/bash | |
| display=$(fdfind -t s wayland "${XDG_RUNTIME_DIR}") | |
| export WAYLAND_DISPLAY="${display##*/}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment