From 58068e05ab185672e0c18f50db2494f4edfa50d8 Mon Sep 17 00:00:00 2001 From: Roman Date: Sun, 19 May 2024 12:16:02 +0900 Subject: [PATCH] Correction to display monitor opptions under hyprpaper This improves on issue #7 --- waypaper/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/waypaper/app.py b/waypaper/app.py index 12dddd4..fe69052 100644 --- a/waypaper/app.py +++ b/waypaper/app.py @@ -221,9 +221,9 @@ class App(Gtk.Window): def monitor_option_display(self): - """Display monitor option if backend is swww""" + """Display monitor option if backend is swww or hyprpaper (with swww installed)""" self.options_box.remove(self.monitor_option_combo) - if self.cf.backend == "swww": + if self.cf.backend == "swww" or (self.cf.backend == "hyprpaper" and "swww" in self.cf.installed_backends): # Check available monitors: monitor_names = ["All"]