aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/scrot.fish
diff options
context:
space:
mode:
authorGravatar SanskritFritz <SanskritFritz+github@gmail.com>2014-04-06 23:57:34 +0200
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-05-03 12:30:41 -0700
commit0101b39f6c1407c6af03b88bd0173937497c348b (patch)
treeecfd320bb25b0799deefe15fb1aec714fedd64c9 /share/completions/scrot.fish
parent4285baa6e1b88c6ae1e96e3894828dc9063a380f (diff)
Completions added/updated.
Diffstat (limited to 'share/completions/scrot.fish')
-rw-r--r--share/completions/scrot.fish23
1 files changed, 13 insertions, 10 deletions
diff --git a/share/completions/scrot.fish b/share/completions/scrot.fish
index 5cd03e90..e09d5c01 100644
--- a/share/completions/scrot.fish
+++ b/share/completions/scrot.fish
@@ -1,11 +1,14 @@
+# Command specific completions for the scrot command.
+# Author: SanskritFritz (gmail)
+
+complete -c scrot -s h -l help --description 'Display help and exit'
+complete -c scrot -s v -l version --description 'Display version information and exit'
+complete -c scrot -s b -l border --description 'When selecting a window, grab wm border too'
+complete -c scrot -s c -l count --description 'Display a countdown when used with delay'
+complete -c scrot -s d -l delay --description 'Wait NUMBER of seconds before taking a shot'
+complete -c scrot -s e -l exec --description 'Execute APPLICATION on the saved image'
+complete -c scrot -s q -l quality --description 'Image quality [1-100]'
+complete -c scrot -s m -l multidisp --description 'Grab shot from multiple heads'
+complete -c scrot -s s -l select --description 'Select a window or rectangle with the mouse'
+complete -c scrot -s t -l thumb --description 'Generate thumbnail PERCENT of original'
-complete -c scrot -s h -l help -d 'display this help and exit'
-complete -c scrot -s v -l version -d 'output version information and exit'
-complete -c scrot -s b -l border -d 'When selecting a window, grab wm border too'
-complete -c scrot -s c -l count -d 'show a countdown before taking the shot'
-complete -c scrot -s d -l delay -x -d 'wait NUM seconds before taking a shot'
-complete -c scrot -s e -l exec -d 'run APP on the resulting screenshot' -xa '(complete -C(commandline -ct))'
-complete -c scrot -s q -l quality -x -d 'Image quality (1-100) high value means high size, low compression. Default: 75. For lossless compression formats, like png, low quality means high compression.'
-complete -c scrot -s m -l multidisp -d 'For multiple heads, grab shot from each and join them together.'
-complete -c scrot -s s -l select -d 'interactively choose a window or rectangle with the mouse'
-complete -c scrot -s t -l thumb -x -d 'generate thumbnail too. NUM is the percentage of the original size for the thumbnail to be, or the geometry in percent, e.g. 50x60 or 80x20.'