Skip to content
Browse files

_dzen2: initial commit

  • Loading branch information...
1 parent 6502b28 commit 2b9822ef8f808d9739f6d1d1b4f699d9479ad000 @Valodim Valodim committed
Showing with 44 additions and 0 deletions.
  1. +44 −0 src/_dzen2
View
44 src/_dzen2
@@ -0,0 +1,44 @@
+#compdef dzen2
+
+# ------------------------------------------------------------------------------
+# Description
+# -----------
+#
+# Completion script for dzen2 0.8.5 ( https://github.com/robm/dzen )
+# Last updated: 31.03.2013
+#
+# ------------------------------------------------------------------------------
+# Authors
+# -------
+#
+# * Valodim ( https://github.com/Valodim )
+#
+# ------------------------------------------------------------------------------
+# Notes
+# -----
+#
+# the _x_color completer has rather outdated paths, a zstyle like this helps
+# get the x colors right (the list is rather long, then)
+#
+# zstyle ":completion:*:colors" path '/etc/X11/rgb.txt'
+#
+# ------------------------------------------------------------------------------
+
+_arguments \
+ '-fg[Set foreground color]:foreground color:_x_color' \
+ '-bg[Set background color]:background color:_x_color' \
+ '-fn[Set font]:font:_x_font' \
+ '-ta[Set alignement of title window content]:alignment:( l c r )' \
+ '-tw[Set title window width]:width (pixels)' \
+ '-sa[Set alignment of slave window]:alignment:( l c r )' \
+ '-l[Number of lines to display in slave window]:lines' \
+ '-e[Set up events and actions]:event string' \
+ '-m[Start up in menu mode]' \
+ '-u[Update contents of title and slave window simultaneously]' \
+ '-p[Persist EOF]:timeout (seconds)' \
+ '-x[Set x position on the screen]:x position (pixels)' \
+ '-y[Set y position on the screen]:y position (pixels)' \
+ '-h[Set line height]:line height (pixels)' \
+ '-w[Set window width]:width (pixels)' \
+ '-xs[Set the Xinerama screen number where dzen should appear]:screen number' \
+ '-v[Display version information]' && return 0

0 comments on commit 2b9822e

Please sign in to comment.
Something went wrong with that request. Please try again.