Skip to content

Commit

Permalink
fix(clipboard): don't use wl-copy on gnome 46
Browse files Browse the repository at this point in the history
  • Loading branch information
dynobo committed Apr 26, 2024
1 parent 269b2cd commit ba90f5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion normcap/clipboard/handlers/wlclipboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ def is_compatible() -> bool:
return False

gnome_version = system_info.get_gnome_version()
if gnome_version.startswith("45."):
gnome_major = int(gnome_version.split(".")[0])
last_working_gnome_version = 44
if gnome_major > last_working_gnome_version:
logger.debug("%s is not compatible with Gnome %s", __name__, gnome_version)
return False

Expand Down

0 comments on commit ba90f5b

Please sign in to comment.