mirror of
https://github.com/anufrievroman/waypaper.git
synced 2024-08-16 19:50:46 +03:00
Correction to display monitor opptions under hyprpaper
This improves on issue #7
This commit is contained in:
parent
7395bf610b
commit
58068e05ab
@ -221,9 +221,9 @@ class App(Gtk.Window):
|
|||||||
|
|
||||||
|
|
||||||
def monitor_option_display(self):
|
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)
|
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:
|
# Check available monitors:
|
||||||
monitor_names = ["All"]
|
monitor_names = ["All"]
|
||||||
|
Loading…
Reference in New Issue
Block a user