aboutsummaryrefslogtreecommitdiffstats
path: root/completion
diff options
context:
space:
mode:
Diffstat (limited to 'completion')
-rw-r--r--completion25
1 files changed, 25 insertions, 0 deletions
diff --git a/completion b/completion
new file mode 100644
index 0000000..234f7d0
--- /dev/null
+++ b/completion
@@ -0,0 +1,25 @@
+; See LICENSE file for copyright and license details.
+
+(nightshift
+ (unargumented (options -h --help) (complete --help) (desc 'Display this help message'))
+ (unargumented (options -V --version) (complete --version) (desc 'Show program version'))
+ (unargumented (options -C --copyright) (complete --copyright) (desc 'Show program copyright information'))
+ (unargumented (options -W --warranty) (complete --warranty) (desc 'Show program warrantly disclaimer'))
+
+ (unargumented (options -d --daemon) (complete --daemon) (desc 'Start as daemon'))
+ (unargumented (options -x --reset --kill) (complete --kill) (desc 'Remove adjustment from screen'))
+ (unargumented (options +x --toggle) (complete --toggle) (desc 'Temporarily disable or enable adjustments'))
+ (unargumented (options +d --disable) (complete --disable) (desc 'Temporarily disable adjustments'))
+ (unargumented (options +e --enable) (complete --enable) (desc 'Re-enable adjustments'))
+ (unargumented (options +f --freeze) (complete --freeze) (desc 'Freeze the redshift process'))
+ (unargumented (options +t --thaw) (complete --thaw) (desc 'Thaw the redshift process'))
+ (unargumented (options -s --status) (complete --status) (desc 'Print status information'))
+ (argumented (options +c --script) (complete --script) (arg FILE) (files -f) (desc 'Load nightshift configuration script from specified file'))
+
+ (argumented (options -c --config) (complete --config) (arg FILE) (files -f) (desc 'Load redshift settings from specified file'))
+ (argumented (options -b --brightness) (complete --brightness) (arg DAY:NIGHT) (files -0) (desc 'Screen brightness to set at daytime/night'))
+ (argumented (options -t --temperature) (complete --version) (arg DAY:NIGHT) (files -0) (desc 'Colour temperature to set at daytime/night'))
+ (argumented (options -l --location) (complete --location) (arg LAT:LON|PROVIDER) (files -0) (desc 'Your current location or location provider'))
+ (argumented (options -m --method) (complete --method) (arg METHOD) (files -0) (desc 'Method to use to set colour temperature'))
+ (unargumented (options -r --no-transition) (complete --no-transition) (desc 'Disable temperature transitions'))
+)