aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-22 05:31:19 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-22 05:31:19 +0100
commitad02cc8b0068cba198d1f1002f49fb065f6bf64a (patch)
tree334cf2c1698a37bd3351ff6f3ce127e7711ee2f2 /src
parentadd dependency list (diff)
downloadblueshift-tray-ad02cc8b0068cba198d1f1002f49fb065f6bf64a.tar.gz
blueshift-tray-ad02cc8b0068cba198d1f1002f49fb065f6bf64a.tar.bz2
blueshift-tray-ad02cc8b0068cba198d1f1002f49fb065f6bf64a.tar.xz
add makefile and autocompletion
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/completion16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/completion b/src/completion
new file mode 100644
index 0000000..e1b6ade
--- /dev/null
+++ b/src/completion
@@ -0,0 +1,16 @@
+(blueshift-tray
+ (multiple unargumented
+ ((options -p --panic-gate --panicgate) (complete --panicgate) (desc 'Applies the settings directly instead of transitioning into the initial settings'))
+ ((options -r --reset) (complete --reset) (desc 'Transition from the specified settings to clean settings'))
+ )
+ (multiple argumented
+ ((options -c --configurations) (complete --configurations) (arg SCRIPT) (files -f) (desc 'Select configuration script'))
+ ((options -g --gamma) (complete --gamma) (arg RGB|R:G:B) (files -0) (desc 'Apply gamma correction to the colour curves'))
+ ((options -b --brightness) (complete --brightness) (arg RGB|R:G:B) (files -0) (desc 'Change brightness using sRGB'))
+ ((options +b ++brightness) (complete ++brightness) (arg Y) (files -0) (desc 'Change brightness using CIE xyY'))
+ ((options -t --temperature) (complete --temperature) (arg KELVIN) (files -0) (desc 'Change colour temperature'))
+ ((options -l --location) (complete --location) (arg LAT:LON) (files -0) (desc 'Specify your geographical location'))
+ ((options -o --output --crtc) (complete --output) (arg CRTC) (files -0) (desc 'Select CRTC to apply changes to'))
+ )
+)
+