redshift-gammastep: migrate to lib.cli.toCommandLineShellGNU
Migrates from the deprecated toCommandLineShell to toCommandLineShellGNU. This changes the output format from space-separated short options (-c /path) to concatenated GNU-style options (-c/path). Both formats were verified to work correctly with redshift and gammastep. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
9afe77a70b
commit
fb6a8404ee
5 changed files with 5 additions and 5 deletions
|
|
@ -239,7 +239,7 @@ in
|
|||
configFullPath = config.xdg.configHome + "/${xdgConfigFilePath}";
|
||||
in
|
||||
"${cfg.package}/bin/${command} "
|
||||
+ lib.cli.toGNUCommandLineShell { } {
|
||||
+ lib.cli.toCommandLineShellGNU { } {
|
||||
v = cfg.enableVerboseLogging;
|
||||
c = configFullPath;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
WantedBy=graphical-session.target
|
||||
|
||||
[Service]
|
||||
ExecStart=@gammastep@/bin/gammastep -c /home/hm-user/.config/gammastep/config.ini
|
||||
ExecStart=@gammastep@/bin/gammastep -c/home/hm-user/.config/gammastep/config.ini
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
WantedBy=graphical-session.target
|
||||
|
||||
[Service]
|
||||
ExecStart=@gammastep@/bin/gammastep-indicator -c /home/hm-user/.config/gammastep/config.ini
|
||||
ExecStart=@gammastep@/bin/gammastep-indicator -c/home/hm-user/.config/gammastep/config.ini
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
WantedBy=graphical-session.target
|
||||
|
||||
[Service]
|
||||
ExecStart=@redshift@/bin/redshift -c /home/hm-user/.config/redshift/redshift.conf
|
||||
ExecStart=@redshift@/bin/redshift -c/home/hm-user/.config/redshift/redshift.conf
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
WantedBy=graphical-session.target
|
||||
|
||||
[Service]
|
||||
ExecStart=@redshift@/bin/redshift-gtk -c /home/hm-user/.config/redshift/redshift.conf
|
||||
ExecStart=@redshift@/bin/redshift-gtk -c/home/hm-user/.config/redshift/redshift.conf
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue