Skip to content

Commit

Permalink
Fix Fedora autostart
Browse files Browse the repository at this point in the history
Closes #214
  • Loading branch information
luisbocanegra committed Jun 22, 2024
1 parent aca1db1 commit 5495ea4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/kde_material_you_colors/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
HOME = str(Path.home())
TEMPDIR = tempfile.gettempdir()
PKG_INSTALL_DIR = os.path.dirname(__file__)
PKG_BIN = sysconfig.get_path("scripts") + "/kde-material-you-colors"

scheme = (
"rpm_prefix"
if "rpm_prefix" in sysconfig.get_scheme_names()
else sysconfig.get_default_scheme()
)
PKG_BIN = sysconfig.get_path("scripts", scheme) + "/kde-material-you-colors"
SAMPLE_CONFIG_FILE = "sample_config.conf"
CONFIG_FILE = "config.conf"
SAMPLE_CONFIG_PATH = PKG_INSTALL_DIR + "/data/"
Expand Down

0 comments on commit 5495ea4

Please sign in to comment.