mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 09:29:41 +08:00
wlsunset: migrate to lib.cli.toCommandLineShellGNU
Migrates from the deprecated toGNUCommandLineShell to toCommandLineShellGNU. This changes the output format from space-separated short options (-t 3500) to concatenated GNU-style options (-t3500). Both formats were verified to work correctly with wlsunset. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
@@ -134,7 +134,7 @@ in
|
|||||||
Service = {
|
Service = {
|
||||||
ExecStart =
|
ExecStart =
|
||||||
let
|
let
|
||||||
args = lib.cli.toGNUCommandLineShell { } {
|
args = lib.cli.toCommandLineShellGNU { } {
|
||||||
t = cfg.temperature.night;
|
t = cfg.temperature.night;
|
||||||
T = cfg.temperature.day;
|
T = cfg.temperature.day;
|
||||||
g = cfg.gamma;
|
g = cfg.gamma;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
WantedBy=test.target
|
WantedBy=test.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=@wlsunset@/bin/wlsunset -L 128.8 -T 6000 -g 0.6 -l 12.3 -t 3500
|
ExecStart=@wlsunset@/bin/wlsunset -L128.8 -T6000 -g0.6 -l12.3 -t3500
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
After=test.target
|
After=test.target
|
||||||
|
|||||||
Reference in New Issue
Block a user