Files
dots/config/sway/main/warehouse.py
T
2026-06-08 13:21:47 -05:00

13 lines
348 B
Python

# probably shouldnt mess with this!
# boot depends on it and if u break it u get no safe mode.
from pathlib import Path
import os
Vpn_cache = Path("/tmp/vpn_country.cache")
Media_flag = Path("/tmp/media_active")
def get_base():
return os.environ.get("BASE_SWAY")
def rand12():
return base64.urlsafe_b64encode(os.urandom(9)).decode()[:12]