mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-30 22:06:28 -04:00
General cleanup and port-job updates
Former-commit-id: 343ec2505e3ee3858089ee0a4b5175c6029ad23f Former-commit-id: 7cd32bc931d57e39166c62174561b6c7fdacb9cf
This commit is contained in:
+3
-3
@@ -352,9 +352,9 @@ def initial_setup():
|
||||
|
||||
# PORT START CLIPTOOL
|
||||
# check for clipboard tool and display warning if missing
|
||||
if uname()[0] in ('Linux', 'FreeBSD') and not 'WSL_DISTRO_NAME' in environ \
|
||||
and not exists("/data/data/com.termux"):
|
||||
_display_server = None
|
||||
if uname()[0] in ('Linux', 'FreeBSD') and 'WSL_DISTRO_NAME' not in environ \
|
||||
and not exists("/data/data/com.termux"):
|
||||
_display_server, _clipboard_tool, _clipboard_package = None, None, None
|
||||
if 'WAYLAND_DISPLAY' in environ:
|
||||
_display_server, _clipboard_tool, _clipboard_package = 'Wayland', 'wl-copy', 'wl-clipboard'
|
||||
elif 'DISPLAY' in environ:
|
||||
|
||||
Reference in New Issue
Block a user