mirror of
https://github.com/anufrievroman/waypaper.git
synced 2024-08-16 11:40:44 +03:00
parent
47f59cd43b
commit
fda591d59c
2
setup.py
2
setup.py
@ -18,7 +18,7 @@ setuptools.setup(
|
||||
]
|
||||
},
|
||||
install_requires=["PyGObject", "importlib_metadata", "platformdirs", "Pillow"],
|
||||
version='2.1',
|
||||
version='2.1.1',
|
||||
python_requires='>3.9',
|
||||
classifiers=[
|
||||
"Development Status :: 4 - Beta",
|
||||
|
@ -12,7 +12,7 @@ from waypaper.aboutdata import AboutData
|
||||
from waypaper.changer import change_wallpaper
|
||||
from waypaper.config import Config
|
||||
from waypaper.common import get_image_paths, get_random_file
|
||||
from waypaper.options import FILL_OPTIONS, BACKEND_OPTIONS, SORT_OPTIONS, SORT_DISPLAYS
|
||||
from waypaper.options import FILL_OPTIONS, SORT_OPTIONS, SORT_DISPLAYS
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, GdkPixbuf, Gdk, GLib
|
||||
@ -58,7 +58,7 @@ class App(Gtk.Window):
|
||||
self.about = AboutData()
|
||||
self.txt = txt
|
||||
self.check_backends()
|
||||
self.set_default_size(780, 600)
|
||||
self.set_default_size(820, 600)
|
||||
self.connect("delete-event", Gtk.main_quit)
|
||||
self.selected_index = 0
|
||||
self.highlighted_image_row = 0
|
||||
|
@ -23,8 +23,8 @@ def change_wallpaper(image_path, cf, monitor, txt):
|
||||
# command.extend(["-o", monitor])
|
||||
command.extend(["-i", image_path])
|
||||
command.extend(["-m", fill, "-c", cf.color])
|
||||
# subprocess.Popen(command)
|
||||
# print(f"{txt.msg_setwith} {cf.backend}")
|
||||
subprocess.Popen(command)
|
||||
print(f"{txt.msg_setwith} {cf.backend}")
|
||||
|
||||
# swww backend:
|
||||
elif cf.backend == "swww":
|
||||
|
Loading…
Reference in New Issue
Block a user