Skip to content

Commit

Permalink
chore: minor changes in systemd service and --help
Browse files Browse the repository at this point in the history
  • Loading branch information
mahor1221 committed Jul 17, 2024
1 parent 25dd72c commit 0e4ad0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/systemd/reddish-shift.service
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[Unit]
Description=Reddish Shift display colour temperature adjustment
Documentation=man:reddish-shift(1)
After=graphical-session.target
After=display-manager.service

[Service]
ExecStart=/usr/bin/reddish-shift daemon
Restart=always

[Install]
WantedBy=graphical-session.target
WantedBy=default.target
4 changes: 2 additions & 2 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ pub struct CmdArgs {
/// Additional gamma correction to apply for day and night [default: 1.0]
///
/// Either set it for all colors, or each color channel individually. e.g.:
/// - 0.9 (day=night=0.9)
/// - 1.0 - 0.8:0.9:0.9 (day=1.0, night=(R=0.8, G=0.9, B=0.9))
/// 0.9 (day=night=0.9)
/// 1.0 - 0.8:0.9:0.9 (day=1.0, night=(R=0.8, G=0.9, B=0.9))
#[arg(verbatim_doc_comment)]
#[arg(long, short, value_parser = GammaRange::from_str)]
#[arg(value_name = "FROM 0.1 TO 10")]
Expand Down

0 comments on commit 0e4ad0f

Please sign in to comment.