Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

174 lines (167 sloc) 4.167 kB
.TH SIMPLESWITCHER 1 simpleswitcher
.SH NAME
simpleswitcher \- a simple EWMH window switcher
.SH SYNOPSIS
.B simpleswitcher
.RB [ \-width
.IR pct_scr ]
.RB [ \-lines
.IR lines ]
.RB [ \-font
.IR xftfont ]
.RB [ \-fg
.IR color ]
.RB [ \-bg
.IR color ]
.RB [ \-hlfg
.IR color ]
.RB [ \-hlbg
.IR color ]
.RB [ \-key
.IR combo ]
.RB [ \-dkey
.IR comdo ]
.RB [ \-now ]
.RB [ \-dnow ]
.SH DESCRIPTION
.I simpleswitcher
is an X11 popup window switcher. A list is displayed center-screen showing open window titles, WM_CLASS, and desktop number. The user may filter the list by typing, navigate with Up/Down or Tab keys, and select a window with Return (Enter). Escape cancels.
.P
License: MIT/X11
.SH USAGE
See options below for custom key combinations. These are the defaults. In addition to the command line switches X resources can be used for configuration. The instance name is
.B simpleswitcher
and the class name is
.B Simpleswitcher
.
.TP
.B F12
Show all windows on all desktops.
.TP
.B F11
Show windows from the current desktop.
.SH OPTIONS
The first option is the command line switch, the resource name follows in parenthesis.
.TP
.B -key (key)
Change the key combination to display all windows (default: F12).
.P
.RS
simpleswitcher -key F12
.br
simpleswitcher -key control+shift+s
.br
simpleswitcher -key mod1+Tab
.RE
.TP
.B -dkey (dkey)
Change the key combination to display window on the current desktop (default: F11).
.P
.RS
simpleswitcher -key F11
.br
simpleswitcher -key control+shift+d
.br
simpleswitcher -key mod1+grave (grave=backtick)
.RE
.TP
.B -now
Run simpleswitcher in all-windows mode once then exit. Does not bind any keys.
.TP
.B -dnow
Run simpleswitcher in current-desktop-windows mode once then exit. Does not bind any keys.
.TP
.B -bg (background)
Set the background text color (X11 named color or hex #rrggbb) for the menu (default: #222222).
.P
.RS
simpleswitcher -fg "#222222"
.RE
.TP
.B -bc (bordercolor)
Set the border color (X11 named color or hex #rrggbb) for the menu (default: #000000).
.P
.RS
simpleswitcher -bc black
.RE
.TP
.B -bw (borderwidth)
Set the border width in pixels (default: 1).
.P
.RS
simpleswitcher -bw 1
.RE
.TP
.B -fg (foreground)
Set the foreground text color (X11 named color or hex #rrggbb) for the menu (default: #cccccc).
.P
.RS
simpleswitcher -fg "#cccccc"
.RE
.TP
.B -font (font)
Xft font name for use by the menu (default: mono-14).
.P
.RS
simpleswitcher -font monospace-14:medium
.RE
.TP
.B -hlbg (highlightbg)
Set the background text color (X11 named color or hex #rrggbb) for the highlighted item in the menu (default: #005577).
.P
.RS
simpleswitcher -fg "#005577"
.RE
.TP
.B -hlfg (highlightfg)
Set the foreground text color (X11 named color or hex #rrggbb) for the highlighted item in the menu (default: #ffffff).
.P
.RS
simpleswitcher -fg "#ffffff"
.RE
.TP
.B -o (opacity)
Set the window opacity (0-100).
.P
.RS
simpleswitcher -o "75"
.RE
.TP
.B -lines (lines)
Maximum number of entries the menu may show before scrolling (default: 25).
.P
.RS
simpleswitcher -lines 25
.RE
.TP
.B -width (width)
Set the width of the menu as a percentage of the screen width (default: 60).
.P
.RS
simpleswitcher -width 60
.RE
.TP
.B -release (release)
Enable or disable the action on modifier release feature
.br
(0 or 1, default: 0).
.br
If this feature is enabled, simpleswitcher behaves like this:
Pressing modifier + key will pop up simpleswitcher, holding down modifier and repeatedly pressing key will cycle through the list. Upon release of modifier the selected entry will be focused.
Hitting Escape once turns of the release action. Now entries can be filtered by typing, programs can be started or entries can be cycled through again. Hitting Escape a second time aborts simpleswitcher without any action.
Works only when a modifier key is specified, e.g. mod1+Tab, otherwise simpleswitcher behaves as if the feature is disabled.
.RS
simpleswitcher -release 0
.RE
.TP
.B -index (startindex)
First item in list to be selected when simpleswitcher is called (default: 1).
.P
.RS
simpleswitcher -index 1
.RE
.SH SEE ALSO
.BR simpleswitcher (1),
.BR xrdb (1)
.SH AUTHOR
Sean Pringle <sean.pringle@gmail.com>
Jump to Line
Something went wrong with that request. Please try again.