Skip to content

Commit 001d4ae

Browse files
committed
README, man, apparmor: Update configuration file path
Because of commit 9ff0501.
1 parent 8026076 commit 001d4ae

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ automatic location provider. An example configuration can be found in
3939
The configuration file should be saved in the following location depending on
4040
the platform:
4141

42-
- Linux/macOS: `~/.config/redshift.conf`.
42+
- Linux/macOS: `~/.config/redshift/redshift.conf` (if the environment variable `XDG_CONFIG_HOME` is undefined) or `${XDG_CONFIG_HOME}/redshift/redshift.conf` (if `XDG_CONFIG_HOME` is defined).
4343
- Windows: Put `redshift.conf` in `%USERPROFILE%\AppData\Local\`
4444
(aka `%localappdata%`).
4545

data/apparmor/usr.bin.redshift.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# Allow but log any other dbus activity
3636
audit dbus bus=system,
3737

38-
owner @{HOME}/.config/redshift.conf r,
38+
owner @{HOME}/.config/redshift/redshift.conf r,
3939

4040
# Site-specific additions and overrides. See local/README for details.
4141
#include <local/usr.bin.redshift>

redshift.1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ Default temperature values:
9393
Daytime: 6500K, night: 4500K
9494
.SH CONFIGURATION FILE
9595
A configuration file with the name \fIredshift.conf\fR can optionally be
96-
placed in \fI~/.config/\fR. The file has standard INI format. General
96+
placed in \fI~/.config/redshift/\fR (if the environment variable
97+
XDG_CONFIG_HOME is undefined) or \fI${XDG_CONFIG_HOME}/redshift/\fR
98+
(if XDG_CONFIG_HOME is defined). The file has standard INI format. General
9799
program options are placed under the \fBredshift\fR header, while options
98100
for location providers and adjustment methods are placed under a
99101
header with the name of that provider or method. General options are:

0 commit comments

Comments
 (0)