refactor(src): adjustpath references from shared/styles to styles

Simplify style file paths by removing redundant "shared" prefix, aligning with updated directory layout.
This commit is contained in:
sankalp committed 2026-06-17 03:20:11 +05:45
1 parent 1def82aeb9
commit a539d02821
1 file changed
+4 -3
+4 -3
View File
@@ -1,4 +1,5 @@
import os
from fabric import Application
from fabric.utils import get_relative_path, logger, monitor_file
@@ -24,7 +25,7 @@ for log in [
def main():
# Generate colors.css if it doesn't exist
colors_css_path = get_relative_path("shared/styles/colors.css")
colors_css_path = get_relative_path("styles/colors.css")
if not os.path.exists(colors_css_path):
from utils.utils import generate_colors_from_wallpaper
@@ -44,7 +45,7 @@ def main():
osd = OSDWindow()
# Monitor CSS files for changes
css_file = monitor_file(get_relative_path("shared/styles"))
css_file = monitor_file(get_relative_path("styles"))
_ = css_file.connect("changed", lambda *_: set_css())
app = Application(
@@ -61,7 +62,7 @@ def main():
def set_css():
app.set_stylesheet_from_file(
get_relative_path("shared/styles/main.css"),
get_relative_path("styles/main.css"),
)
app.set_css = set_css