niri: output mode: fix disallowed 'Hz' prefix
This commit is contained in:
parent
dc6917a383
commit
2edcd9d803
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ input {
|
||||||
% for output in host.get('outputs', []):
|
% for output in host.get('outputs', []):
|
||||||
output "${output['match']}" {
|
output "${output['match']}" {
|
||||||
% if 'mode' in output:
|
% if 'mode' in output:
|
||||||
mode "${output['mode']}"
|
mode "${output['mode'].removesuffix('Hz')}"
|
||||||
% endif
|
% endif
|
||||||
% if 'scale' in output:
|
% if 'scale' in output:
|
||||||
scale ${output['scale']}
|
scale ${output['scale']}
|
||||||
|
|
Loading…
Add table
Reference in a new issue