From 0d267bbaba4b93f44cca0cfd4be7cfe5b59d16d5 Mon Sep 17 00:00:00 2001 From: Nikita Beloglazov <77229847+NikitaBeloglazov@users.noreply.github.com> Date: Sun, 1 Oct 2023 16:32:16 +0300 Subject: [PATCH] Add OpenBSD support --- README.md | 2 +- src/clipman/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9da9321..6b74ba2 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ __•‎ 🟩 Linux - FULL SUPPORT__, some additional deps needed __•‎ 🟩 Android - FULL SUPPORT in Termux__, some additional deps needed too -__•‎ 🟩 BSD Systems - Works__ on FreeBSD/GhostBSD. Deps needed, same as Linux +__•‎ 🟩 BSD Systems - Works__ on __FreeBSD / GhostBSD__ and OpenBSD / FuguIta, deps same as Linux __•‎ 🟩 Windows - Works__ natively diff --git a/src/clipman/__init__.py b/src/clipman/__init__.py index 590d95f..130b46e 100644 --- a/src/clipman/__init__.py +++ b/src/clipman/__init__.py @@ -95,7 +95,7 @@ def detect_clipboard_engine(): Detects clipboard engine based on many factors, and in many cases gives the user friendly advice. Returns name of detected engine """ - if dataclass.os_name in ("Linux", "FreeBSD"): + if dataclass.os_name in ("Linux", "FreeBSD", "OpenBSD"): try: # Detect graphical backend from ENV graphical_backend = os.environ["XDG_SESSION_TYPE"]