mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:29:40 +00:00
vanadium/display: quote model specification in switch script
This commit is contained in:
parent
625d02442d
commit
ff0e26bd1f
1 changed files with 2 additions and 2 deletions
|
|
@ -83,7 +83,7 @@
|
|||
brightness, # [0..1]
|
||||
}:
|
||||
singleton "10_ddc_brightness" /* bash */ ''
|
||||
${lib.getExe pkgs.ddcutil} --model ${modelName} setvcp 10 ${
|
||||
${lib.getExe pkgs.ddcutil} --model "${modelName}" setvcp 10 ${
|
||||
toString (builtins.floor (brightness * 100))
|
||||
}
|
||||
'';
|
||||
|
|
@ -94,7 +94,7 @@
|
|||
contrast, # [0..1]
|
||||
}:
|
||||
singleton "10_ddc_contrast" /* bash */ ''
|
||||
${lib.getExe pkgs.ddcutil} --model ${modelName} setvcp 12 ${
|
||||
${lib.getExe pkgs.ddcutil} --model "${modelName}" setvcp 12 ${
|
||||
toString (builtins.floor (contrast * 100))
|
||||
}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue