cnfgs
This commit is contained in:
@@ -42,8 +42,8 @@ def check_setup() -> None:
|
||||
for prog in ["swww", "hyprpanel", "wal"]:
|
||||
try:
|
||||
subprocess.run([prog, "--version"], capture_output=True)
|
||||
except FileNotFoundError:
|
||||
print(f"Note: Optional program '{prog}' not found in PATH.")
|
||||
except Exception as e:
|
||||
print(f"{e}")
|
||||
|
||||
wallpaper_dir = pathlib.Path(WALLPAPERS_DIR)
|
||||
if not wallpaper_dir.is_dir():
|
||||
@@ -324,11 +324,12 @@ def next_wallpaper(
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
try:
|
||||
subprocess.run(["hyprpanel", "-q"], check=False)
|
||||
# subprocess.run(["hyprpanel", "-q"], check=False)
|
||||
# restart in background
|
||||
subprocess.Popen(
|
||||
["hyprpanel"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL
|
||||
)
|
||||
# subprocess.Popen(
|
||||
# ["hyprpanel"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL
|
||||
# )
|
||||
pass
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user