-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
This is a sample randrctl show output:
name: current
outputs:
VGA1:
crtc: 0
mode: 1920x1200
panning: '0x0'
pos: '0x0'
rate: '59.95'
rotate: normal
scale: 1x1
primary: VGA1
Currently, the quotation marks are shown more or less randomly. I'd expect they followed some kind of order, such as:
- every parameter value is quoted (currently 4 missing in this case)
- only pure numerical values (ints and floats) aren't quoted (currently 4 missing and one redundant in
rate) - only strings containing 2D numerical values are quoted (quotes missing in
modeandscale, while again being redundant inrate) - no quotes are necessary (currently 3 redundant)
I vote for the last option since quotes aren't necessary to reliably parse such output and they also don't simplify screen reading, actually the opposite.
I know randrctl is currently not actively developed, but I'm still collecting ideas here for anyone that picks it up.
koiuo
Metadata
Metadata
Assignees
Labels
No labels