This commit is contained in:
2026-03-24 13:00:41 +03:00
parent 163b7549e2
commit 5554de588b
14 changed files with 119 additions and 28 deletions
+1 -1
View File
@@ -74,7 +74,7 @@
exec-once = [
"caelestia shell &"
"caelestia shell lock lock; until [ $? -eq 0 ]; do sleep 0.1; caelestia shell lock lock; done"
#"caelestia shell lock lock; until [ $? -eq 0 ]; do sleep 0.1; caelestia shell lock lock; done"
"AmneziaVPN & disown"
# "hyprlock --immediate-render --no-fade-in &"
"wal -R &"
@@ -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: