Permalink
Browse files

Move pkg-config libs after other LDFLAGS. Closes issue #245.

  • Loading branch information...
Kris Maglione
Kris Maglione committed Oct 20, 2011
1 parent a655693 commit e293e08658052a57221ea7d8190c1acf2b94a841
Showing with 18 additions and 5 deletions.
  1. +17 −4 man/witray.1
  2. +1 −1 util/link
View
@@ -1,16 +1,20 @@
.TH "WITRAY" 1 "May, 2010" "wmii-@VERSION@"
+
.SH NAME
+
.P
witray \- The wmii system tray
.SH SYNOPSIS
+
.P
-witray \fI[\-a \fI<address>\fR]\fR \fI[\-NESW]\fR \fI[\-HV]\fR \fI[\-p \fI<padding>\fR]\fR \fI[\-s \fI<iconsize>\fR]\fR \-t (tags)
+witray [\fI\-a \fI<address>\fR\fR] [\fI\-NESW\fR] [\fI\-HV\fR] [\fI\-p \fI<padding>\fR\fR] [\fI\-s \fI<iconsize>\fR\fR] \-t (tags)
.P
witray \-v
.SH DESCRIPTION
+
.P
\fBwitray\fR is a simple system tray program meant to be used with wmii.
It supports the Freedesktop System Tray Protocol Specification
@@ -21,6 +25,7 @@ tailored to wmii. It's simple, stays out of the user's way, is easy
to configure, and generally Just Works.
.SH ARGUMENTS
+
.TP
\-a
The address at which to connect to \fBwmii\fR.
@@ -35,6 +40,7 @@ East_ corner of the screen. If no options are given,
\fBwitray\fR opens to the West of whichever part of the screen
the wmii bar occupies.
.RE
+
.TP
\-H \-V
@@ -43,13 +49,18 @@ Specifies whether icons are to be aligned horizontally or
vertically, respectively. Also determines from which edge of
the screen windows are shunted to make room for the tray.
.RE
+
+.TP
+\-n
+Do not replace an already running system tray.
.TP
\-p \fI<padding>\fR
.RS
Sets the padding between icons and around the edge of the
tray. In pixels.
.RE
+
.TP
\-s \fI<iconsize>\fR
@@ -58,12 +69,14 @@ Sets the size of the icons, in pixels. If not provided,
icons are sized so that the tray is the same height as the
\fBwmii\fR bar.
.RE
+
.TP
\-t \fI<tags>\fR
.RS
The tags on which to open. Default: \fI/./\fR
.RE
+
.TP
\-v
@@ -72,14 +85,14 @@ Display version information.
.RE
.SH CAVEATS
+
.P
\fBwitray\fR is not XRandR aware.
.SH SEE ALSO
+
.P
wmii(1), wimenu(1)
-
-.\" man code generated by txt2tags 2.5 (http://txt2tags.sf.net)
+.\" man code generated by txt2tags 2.6 (http://txt2tags.org)
.\" cmdline: txt2tags -o- witray.man1
-
View
@@ -4,7 +4,7 @@ LD=$1
PACKAGES=$2
LDFLAGS=$3; shift 3
-[ -n "$PACKAGES" ] && LDFLAGS="$(pkg-config --libs $PACKAGES) $LDFLAGS"
+[ -n "$PACKAGES" ] && LDFLAGS="$LDFLAGS $(pkg-config --libs $PACKAGES)"
outfile="$1"; shift
bin="$(echo $0 | sed 's,/[^/]*$,,')"

0 comments on commit e293e08

Please sign in to comment.