Files
hyprland/config/modus/snippets/__init__.py
T
2025-02-07 12:49:51 +05:45

16 lines
376 B
Python

from .animator import *
from .custom_image import *
from .icon import *
import json
from gi.repository import GLib
def read_config():
home_dir = GLib.get_home_dir()
config_path = f"{home_dir}/dotfiles/modus/assets/config.json"
with open(config_path, "r") as file:
# Load JSON data into a Python dictionary
data = json.load(file)
return data