mirror of
https://github.com/anufrievroman/waypaper.git
synced 2024-11-22 07:22:19 +03:00
Removing unused imports
This commit is contained in:
parent
0a34960764
commit
8c088079cf
@ -2,11 +2,11 @@
|
||||
|
||||
import subprocess
|
||||
import time
|
||||
from pathlib import Path
|
||||
|
||||
from waypaper.config import Config
|
||||
from waypaper.common import get_monitor_names
|
||||
from waypaper.translations import Chinese, English, French, German, Polish, Russian, Belarusian
|
||||
from pathlib import Path
|
||||
import re
|
||||
|
||||
def change_wallpaper(image_path: Path, cf: Config, monitor: str, txt: Chinese|English|French|German|Polish|Russian|Belarusian):
|
||||
"""Run system commands to change the wallpaper depending on the backend"""
|
||||
|
@ -1,17 +1,14 @@
|
||||
"""Module with some of the common functions, like file operations"""
|
||||
|
||||
import os
|
||||
import re
|
||||
import random
|
||||
import shutil
|
||||
import subprocess
|
||||
import json
|
||||
|
||||
from screeninfo import get_monitors
|
||||
from pathlib import Path
|
||||
from typing import List
|
||||
from screeninfo import get_monitors
|
||||
|
||||
from waypaper.options import IMAGE_EXTENSIONS, BACKEND_OPTIONS
|
||||
from typing import List
|
||||
|
||||
|
||||
def has_image_extension(file_path: str, backend: str) -> bool:
|
||||
|
@ -1,8 +1,8 @@
|
||||
"""Module responsible for reading and saving the configuration file"""
|
||||
|
||||
import configparser
|
||||
from argparse import Namespace
|
||||
import pathlib
|
||||
from argparse import Namespace
|
||||
from typing import List
|
||||
from platformdirs import user_config_path, user_pictures_path, user_cache_path, user_state_path
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user