-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlsw.1
48 lines (48 loc) · 1.1 KB
/
lsw.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.\" See LICENSE file for copyright and license details.
.Dd August 29, 2023
.Dt LSW 1
.Os
.\" ==================================================================
.Sh NAME
.Nm lsw
.Nd list X11 windows
.\" ==================================================================
.Sh SYNOPSIS
.Nm
.Op Ar window ...
.Nm lswmenu
.Op Ar \-verbose
.Op Ar \-wmctrl | \-xdotool | \-xdo
.Op Ar window ...
.Op Ar dmenu_options ...
.\" ==================================================================
.Sh DESCRIPTION
.Nm lsw
prints the XID, class and title of each child of each
.Ar window .
If none are given the root window is used.
.Pp
.Nm lswmenu
is a simple Perl script which uses
.Nm lsw ,
.Xr dmenu 1 ,
and
.Xr wmctrl 1 Ns / Ns Xr xdotool 1 Ns / Ns Xr xdo 1
to list windows, select and jump to the specified one.
Use
.Ar \-verbose
option to see what is being done, and
.Ar \-xdotool
or
.Ar \-xdo
option to use
.Xr xdotool 1
or
.Xr xdo 1
utility as window jumper instead of the default
.Xr wmctrl 1 .
.\" ==================================================================
.Sh SEE ALSO
.Xr dmenu 1
.\" vim: cc=72 tw=70
.\" End of file.