Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add load from user config in XDG_CONFIG_HOME if available #672

Merged
merged 5 commits into from
Apr 3, 2024

Commits on Apr 2, 2024

  1. Add load from user config from in XDG_CONFIG_HOME if available

    This update introduces the flexibility to load the configuration file from
    multiple locations, prioritizing user preferences and system standards.
    Previously, the configuration was strictly read from a hardcoded
    system path (`/etc/auto-cpufreq.conf`). Now, the application first checks if the
    user has specified a configuration file path via command line arguments. If not,
    it looks for a configuration file in the user's config
    directory (`$XDG_CONFIG_HOME/auto-cpufreq/auto-cpufreq.conf`). If neither is
    found, it defaults to the original system-wide configuration file.
    
    This allows users to add their auto-cpufreq configuration to their dotfiles.
    braun-steven committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    784d593 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1bbfb75 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    608c47d View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Configuration menu
    Copy the full SHA
    2b3e9d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    479b7d4 View commit details
    Browse the repository at this point in the history