mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00
Add new stuff
This commit is contained in:
parent
5cd855abc3
commit
5e9607bf68
1 changed files with 45 additions and 32 deletions
|
@ -16,10 +16,10 @@
|
|||
<br>
|
||||
<font color="#ffff00">DESCRIPTION</font><br>
|
||||
scrotwm is a minimalistic window manager that tries to stay out of the<br>
|
||||
way so that valuable screen real estate can be used for much more impor-<br>
|
||||
tant stuff. It has sane defaults and does not require one to learn a<br>
|
||||
language to do any configuration. It was written by hackers for hackers<br>
|
||||
and it strives to be small, compact and fast.<br>
|
||||
way so that valuable screen real estate can be used for much more<br>
|
||||
important stuff. It has sane defaults and does not require one to learn<br>
|
||||
a language to do any configuration. It was written by hackers for<br>
|
||||
hackers and it strives to be small, compact and fast.<br>
|
||||
<br>
|
||||
When scrotwm starts up, it reads settings from its configuration file,<br>
|
||||
scrotwm.conf. See the CONFIGURATION FILES section below.<br>
|
||||
|
@ -49,8 +49,8 @@
|
|||
<br>
|
||||
The file supports the following keywords:<br>
|
||||
<br>
|
||||
color_focus Border color of the currently focussed win-<br>
|
||||
dow.<br>
|
||||
color_focus Border color of the currently focussed<br>
|
||||
window.<br>
|
||||
color_unfocus Border color of unfocussed windows.<br>
|
||||
bar_enabled Enable or disable status bar.<br>
|
||||
bar_border[x] Color of the status bar border in screen x.<br>
|
||||
|
@ -59,46 +59,52 @@
|
|||
x.<br>
|
||||
bar_font Status bar font.<br>
|
||||
bar_action External script that populates additional<br>
|
||||
information in the status bar, such as bat-<br>
|
||||
tery life.<br>
|
||||
information in the status bar, such as<br>
|
||||
battery life.<br>
|
||||
bar_delay Update frequency, in seconds, of external<br>
|
||||
script that populates the status bar.<br>
|
||||
stack_enabled Enable or disable displaying the current<br>
|
||||
stacking algorithm in the status bar.<br>
|
||||
clock_enabled Enable or disable displaying the clock in<br>
|
||||
the status bar. Disable by setting to 0 so<br>
|
||||
a custom clock could be used in the bar_ac-<br>
|
||||
tion script.<br>
|
||||
a custom clock could be used in the<br>
|
||||
bar_action script.<br>
|
||||
dialog_ratio Some applications have dialogue windows<br>
|
||||
that are too small to be useful. This ra-<br>
|
||||
tio is the screen size to what they will be<br>
|
||||
resized. For example, 0.6 is 60% of the<br>
|
||||
that are too small to be useful. This<br>
|
||||
ratio is the screen size to what they will<br>
|
||||
be resized. For example, 0.6 is 60% of the<br>
|
||||
physical screen size.<br>
|
||||
region Allocates a custom region, removing any au-<br>
|
||||
todetected regions which occupy the same<br>
|
||||
region Allocates a custom region, removing any<br>
|
||||
autodetected regions which occupy the same<br>
|
||||
space on the screen. Defined in the format<br>
|
||||
screen[<idx>]:WIDTHxHEIGHT+X+Y, e.g.<br>
|
||||
screen[1]:800x1200+0+0.<br>
|
||||
term_width Set a preferred minimum width for the ter-<br>
|
||||
minal If this value is greater than 0,<br>
|
||||
term_width Set a preferred minimum width for the<br>
|
||||
terminal If this value is greater than 0,<br>
|
||||
scrotwm will attempt to adjust the font<br>
|
||||
sizes in the terminal to keep the terminal<br>
|
||||
width above this number as the window is<br>
|
||||
resized. Only <font color="#ff40ff">xterm(1)</font> is currently sup-<br>
|
||||
ported. The <font color="#ff40ff">xterm(1)</font> binary must not be<br>
|
||||
resized. Only <font color="#ff40ff">xterm(1)</font> is currently<br>
|
||||
supported. The <font color="#ff40ff">xterm(1)</font> binary must not be<br>
|
||||
setuid or setgid, which it is by default on<br>
|
||||
most systems. Users may need to set pro-<br>
|
||||
gram[term] (see the PROGRAMS section) to<br>
|
||||
use an alternate copy of the <font color="#ff40ff">xterm(1)</font> bina-<br>
|
||||
ry without the setgid bit set.<br>
|
||||
most systems. Users may need to set<br>
|
||||
program[term] (see the PROGRAMS section) to<br>
|
||||
use an alternate copy of the <font color="#ff40ff">xterm(1)</font><br>
|
||||
binary without the setgid bit set.<br>
|
||||
title_class_enabled Enable or disable displaying the window<br>
|
||||
class in the status bar. Enable by setting<br>
|
||||
to 1<br>
|
||||
title_name_enabled Enable or disable displaying the window ti-<br>
|
||||
tle in the status bar. Enable by setting<br>
|
||||
title_name_enabled Enable or disable displaying the window<br>
|
||||
title in the status bar. Enable by setting<br>
|
||||
to 1<br>
|
||||
modkey Change mod key. Mod1 is generally the ALT<br>
|
||||
key and Mod4 is the windows key on a PC.<br>
|
||||
focus_mode Using a value of follow_cursor will make<br>
|
||||
the window manager focus the window under<br>
|
||||
the mouse when switching workspaces and<br>
|
||||
creating windows.<br>
|
||||
disable_border Remove border when bar is disabled and<br>
|
||||
there is only one window on the screen.<br>
|
||||
program[p] Define new action to spawn a program p.<br>
|
||||
See the PROGRAMS section below.<br>
|
||||
bind[x] Bind key combo to action x. See the<br>
|
||||
|
@ -129,8 +135,8 @@
|
|||
program[<name>] = <progpath> [<arg> [... <arg>]]<br>
|
||||
<br>
|
||||
<name> is any identifier that does not conflict with a built-in action or<br>
|
||||
keyword, <progpath> is the desired program, and <arg> is zero or more ar-<br>
|
||||
guments to the program.<br>
|
||||
keyword, <progpath> is the desired program, and <arg> is zero or more<br>
|
||||
arguments to the program.<br>
|
||||
<br>
|
||||
The following variables represent settable values in scrotwm (see the<br>
|
||||
CONFIGURATION FILES section above), and may be used in the <arg> fields<br>
|
||||
|
@ -153,6 +159,7 @@
|
|||
bind[] = Mod+f<br>
|
||||
program[ff] =<br>
|
||||
<br>
|
||||
<br>
|
||||
<font color="#ffff00">BINDINGS</font><br>
|
||||
scrotwm provides many functions (or actions) accessed via key or mouse<br>
|
||||
bindings.<br>
|
||||
|
@ -191,6 +198,7 @@
|
|||
M-S-<n> mvws_n<br>
|
||||
M-<Right> ws_next<br>
|
||||
M-<Left> ws_prev<br>
|
||||
M-a ws_prior<br>
|
||||
M-S-<Right> screen_next<br>
|
||||
M-S-<Left> screen_prev<br>
|
||||
M-s screenshot_all<br>
|
||||
|
@ -228,6 +236,7 @@
|
|||
through 10<br>
|
||||
ws_next Switch to next workspace with a window in it<br>
|
||||
ws_prev Switch to previous workspace with a window in it<br>
|
||||
ws_prior Switch to last visited workspace<br>
|
||||
screen_next Move pointer to next region<br>
|
||||
screen_prev Move pointer to previous region<br>
|
||||
screenshot_all Take screenshot of entire screen (if enabled) (see<br>
|
||||
|
@ -253,8 +262,8 @@
|
|||
Multiple key combinations may be bound to the same action.<br>
|
||||
<br>
|
||||
<font color="#ffff00">QUIRKS</font><br>
|
||||
scrotwm provides "quirks" which handle windows that must be treated spe-<br>
|
||||
cially in a tiling window manager, such as some dialogs and fullscreen<br>
|
||||
scrotwm provides "quirks" which handle windows that must be treated<br>
|
||||
specially in a tiling window manager, such as some dialogs and fullscreen<br>
|
||||
apps.<br>
|
||||
<br>
|
||||
The default quirks are described below:<br>
|
||||
|
@ -296,8 +305,8 @@
|
|||
quirk[pcb:pcb] = NONE # remove existing quirk<br>
|
||||
<br>
|
||||
You can obtain <class> and <name> by running <font color="#ff40ff">xprop(1)</font> and then clicking<br>
|
||||
on the desired window. In the following example the main window of Fire-<br>
|
||||
fox was clicked:<br>
|
||||
on the desired window. In the following example the main window of<br>
|
||||
Firefox was clicked:<br>
|
||||
<br>
|
||||
$ xprop | grep WM_CLASS<br>
|
||||
WM_CLASS(STRING) = "Navigator", "Firefox"<br>
|
||||
|
@ -307,6 +316,9 @@
|
|||
<br>
|
||||
quirk[Firefox:Navigator] = FLOAT<br>
|
||||
<br>
|
||||
<font color="#ffff00">SIGNALS</font><br>
|
||||
Sending scrotwm a HUP signal will retstart it.<br>
|
||||
<br>
|
||||
<font color="#ffff00">FILES</font><br>
|
||||
~/.scrotwm.conf scrotwm user specific settings.<br>
|
||||
/etc/scrotwm.conf scrotwm global settings.<br>
|
||||
|
@ -315,6 +327,7 @@
|
|||
scrotwm was inspired by xmonad & dwm.<br>
|
||||
<br>
|
||||
<font color="#ffff00">AUTHORS</font><br>
|
||||
<br>
|
||||
scrotwm was written by Marco Peereboom <marco@peereboom.us>, Ryan Thomas<br>
|
||||
McBride <mcbride@countersiege.com> and Darrin Chandler<br>
|
||||
<dwchandler@stilyagin.com>.<br>
|
||||
|
@ -322,6 +335,6 @@
|
|||
<font color="#ffff00">BUGS</font><br>
|
||||
Currently the menu, invoked with M-p, depends on dmenu.<br>
|
||||
<br>
|
||||
OpenBSD 4.6 October 2, 2009 5<br>
|
||||
OpenBSD 4.7 July 3, 2010 OpenBSD 4.7<br>
|
||||
</font></body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Reference in a new issue