mirror of
https://github.com/RGBCube/superfreq
synced 2025-07-27 17:07:44 +00:00
config: follow XDG base spec
moves /etc/superfreq/config.toml to /etc/xdg/superfreq/config.toml to follow xdg base spec more closely.
This commit is contained in:
parent
78490f7c08
commit
1645c921d7
4 changed files with 4 additions and 4 deletions
|
@ -65,7 +65,7 @@ pub fn run_daemon(mut config: AppConfig, verbose: bool) -> Result<(), Box<dyn st
|
|||
Some(path)
|
||||
} else {
|
||||
// Check standard config paths
|
||||
let default_paths = ["/etc/superfreq/config.toml", "/etc/superfreq.toml"];
|
||||
let default_paths = ["/etc/xdg/superfreq/config.toml", "/etc/superfreq.toml"];
|
||||
|
||||
default_paths
|
||||
.iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue