Skip to content

Commit 996f4dc

Browse files
committed
fix: use XDG_CONFIG_HOME for autostart file
1 parent 39f2557 commit 996f4dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

safeeyes/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def _initialize_config(cls) -> None:
171171
@classmethod
172172
def _create_startup_entry(cls, force: bool = False) -> None:
173173
"""Create start up entry."""
174-
startup_dir_path = os.path.join(utility.HOME_DIRECTORY, ".config/autostart")
174+
startup_dir_path = os.path.join(utility.CONFIG_DIRECTORY, "autostart")
175175
startup_entry = os.path.join(
176176
startup_dir_path, "io.github.slgobinath.SafeEyes.desktop"
177177
)

0 commit comments

Comments
 (0)