1HERBSTCLIENT(1)                                                HERBSTCLIENT(1)
2
3
4

NAME

6       herbstclient - sends commands to a running herbstluftwm instance via X
7

SYNOPSIS

9       herbstclient [OPTIONS] COMMAND [ARGS ...]
10
11       herbstclient [OPTIONS] [--wait|--idle] [FILTER ...]
12

DESCRIPTION

14       Sends a COMMAND with its (optional) arguments ARGS to a running
15       herbstluftwm(1) instance via Xlib. If COMMAND has an output, it is
16       printed by herbstclient. If output does not end with a newline, then a
17       newline is added to improve readability.
18
19       See herbstluftwm(1) for a list of available COMMANDs and their ARGS.
20
21       If --wait or --idle is passed, then it waits for hooks from
22       herbstluftwm. The hook is printed, if it matches the optional FILTER.
23       FILTERs are regular expressions. For a list of available hooks see
24       herbstluftwm(1).
25

OPTIONS

27       -n, --no-newline
28           Do not print a newline if output does not end with a newline.
29
30       -i, --idle
31           Wait for hooks instead of executing commands.
32
33       -w, --wait
34           Same as --idle but exit after first --count hooks.
35
36       -c, --count COUNT
37           Let --wait exit after COUNT hooks were received and printed. The
38           default of COUNT is 1.
39
40       -q, --quiet
41           Do not print error messages if herbstclient cannot connect to the
42           running herbstluftwm instance.
43
44       -v, --version
45           Print the herbstclient version. To get the herbstluftwm version,
46           use herbstclient version.
47
48       -h, --help
49           Print the herbstclient usage with its command line options.
50

ENVIRONMENT VARIABLES

52       DISPLAY
53           Specifies the DISPLAY to use, i.e. where herbstluftwm(1) is
54           running.
55

EXIT STATUS

57       Returns the exit status of the COMMAND execution in herbstluftwm(1)
58       server.
59
60       0
61           Success.
62
63       other
64           Failure. See herbstluftwm(1) for a list of error codes.
65

BUGS

67       It waits endlessly for a response from herbstluftwm (there is no
68       timeout yet).
69
70       See the herbstluftwm distribution BUGS file.
71

COMMUNITY

73       Feel free to join the IRC channel #herbstluftwm on irc.freenode.net.
74

AUTHOR

76       herbstclient was written by Thorsten Wißmann. All contributors are
77       listed in the herbstluftwm distribution AUTHORS file.
78

RESOURCES

80       Homepage: http://herbstluftwm.org
81
82       Gitweb: http://git.cs.fau.de/?p=re06huxa/herbstluftwm
83
84       Patch submission and bug reporting:
85
86           hlwm@lists.herbstluftwm.org
87

COPYING

89       Copyright 2011-2014 Thorsten Wißmann. All rights reserved.
90
91       This software is licensed under the "Simplified BSD License". See
92       LICENSE for details.
93
94
95
96  herbstluftwm 0.6.2\             2014-03-27                   HERBSTCLIENT(1)
Impressum