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:
Austin Horstman
2026-01-07 22:18:27 -06:00
parent 246b8eaffb
commit 9afe77a70b
2 changed files with 2 additions and 2 deletions

View File

@@ -134,7 +134,7 @@ in
Service = {
ExecStart =
let
args = lib.cli.toGNUCommandLineShell { } {
args = lib.cli.toCommandLineShellGNU { } {
t = cfg.temperature.night;
T = cfg.temperature.day;
g = cfg.gamma;

View File

@@ -2,7 +2,7 @@
WantedBy=test.target
[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]
After=test.target