-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWK Parsing Not Working #1
Comments
Got a PR? I'll take it! its still running for me on my laptop last i checked. |
What OS are you on? I suspect this could be relating to Neon's 18.04 base. I'll format into a PR when I'm able. |
Its 18.04 kubuntu |
hm. Odd. |
Anyways, I'll try and get a PR in to look at. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This doesn't work for me on KDE Neon - the AWK run in the line linked below is always returning nothing, instead of returning the rotation. I assume this is due to text line format change (ah yes - the fun life of updating CLI parsers)
https://github.com/donbowman/kde-auto-rotate/blob/master/auto-rotate#L17
monitor-sensor | awk '/Accelerometer orientation changed:/ { print $NF; fflush();}' | while read line
Would you accept a patch overwriting this line with a more robust solution? I have one nearly working locally on my touchscreen Thinkpad hybrid (a helix, I believe).
The text was updated successfully, but these errors were encountered: