Module paths

Module paths 

Source
Expand description

Secure path management for Open Sesame

Provides centralized path management with proper permission enforcement. All runtime data goes into ~/.cache/open-sesame/ with 700 permissions. Configuration data uses ~/.config/open-sesame/ via dirs::config_dir().

Functionsยง

cache_dir
Returns the open-sesame cache directory, creating with secure permissions if needed.
config_dir
Returns the open-sesame config directory.
cosmic_shortcuts_path
Returns the COSMIC shortcuts configuration directory.
lock_file
Returns the lock file path.
log_file
Returns the log file path.
mru_file
Returns the MRU state file path.