Comments (5)
I suggest using separate arguments instead. For example:
redshift -m randr display=:0.0 screen=all crtc=1,2
I imagine that it would also be easier to write tab-completion
for Bash and other shells using this syntax.
from redshift.
Your last suggestions seem to be the best option. Do you think this can be easily implemented using getopt() ? From quickly skimming the man page it seems not to be the case.
from redshift.
I do not know, and I do not know any tool that can do it.
But if getopt does not support it, it should be fairly simple
to do a simple alternative that can do this since only
short options are used.
from redshift.
I think it is possible by utilising the optind variable.
A wrapper around getopt should be written to simply
the code, but it seems possible without too much work.
from redshift.
Implemented in #86, closing.
from redshift.
Related Issues (20)
- Use the astral python package for more accurate calcuations of sunrise, noon, sunset, and dusk times for a given latitude and longitude HOT 1
- Random Flickering on Manjaro Cinnamon Edition
- Black body colors table?
- Not working on Pop OS
- symbolic link problem with configuration file HOT 2
- erroneous documentation about configuration file HOT 6
- Starting nvidia-settings kills redshift
- "Unable to set gamma ramps. Temperature adjustment failed." in win10 HOT 1
- Color adjustments are applied to cursor twice HOT 4
- It is too easy to end up with multiple, and indeed conflicting, instances. (A documentation problem?)
- errror in kali linux when use "redshift -b 0.6:0.5" HOT 1
- Authorization required, but no authorization protocol specified | OpenSUSE Tumbleweed HOT 1
- Toggle day and night modes in redshift HOT 4
- Screen 1 could not be found. Failed to start adjustment method randr. HOT 1
- Error!!!, no more methods to try
- [bug] Could not connect to wayland display, exiting. Failed to start adjustment method wayland. HOT 1
- disable on screensaver start
- Is it working ? I can't tell.
- Show dusk/dawn times when hovering mouse over icon
- os_create_anonymous_file: Invalid argument (on Raspberry Pi OS Lite) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redshift.