X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=spectrwm.1;h=778ec69a2502f1fd37945fe7310684693cc44f32;hb=a7cda44d814729d4469234c9c6ca3d5e72947a4c;hp=f2df9c9855614a7b09c36e95203fe1be78ff188c;hpb=b8de26993fd4c73643d3c3f459f7297a07249d0a;p=spectrwm.git diff --git a/spectrwm.1 b/spectrwm.1 index f2df9c9..778ec69 100644 --- a/spectrwm.1 +++ b/spectrwm.1 @@ -134,6 +134,29 @@ This ratio is the screen size to what they will be resized. For example, 0.6 is 60% of the physical screen size. .It Ic disable_border Remove border when bar is disabled and there is only one window on the screen. +.It Ic focus_close +Window to put focus when the focused window is closed. +Possible values are +.Pa first , +.Pa next , +.Pa previous +(default) and +.Pa last . +.Pa next +and +.Pa previous +are relative to the window that is closed. +.It Ic focus_close_wrap +Whether to allow the focus to jump to the last window when the first window is +closed or vice versa. +Disable by setting to 0. +.It Ic focus_default +Window to put focus when no window has been focused. +Possible values are +.Pa first +and +.Pa last +(default). .It Ic focus_mode Using a value of .Pa follow_cursor @@ -201,6 +224,19 @@ e.g.\& screen[1]:800x1200+0+0. To make a screen span multiple monitors, create a region big enough to cover them all, e.g. screen[1]:2048x768+0+0 makes the screen span two monitors with 1024x768 resolution sitting one next to the other. +.It Ic spawn_position +Position in stack to place newly spawned windows. +Possible values are +.Pa first , +.Pa next , +.Pa previous +and +.Pa last +(default). +.Pa next +and +.Pa previous +are relative to the focused window. .It Ic stack_enabled Enable or disable displaying the current stacking algorithm in the status bar. .It Ic term_width @@ -242,7 +278,7 @@ Enable by setting to 1. Enable or disable displaying the window name in the status bar. Enable by setting to 1. .It Ic workspace_limit -Set the total number of workspaces available. Minimum is 1, maximum is 20. +Set the total number of workspaces available. Minimum is 1, maximum is 22. .El .Pp Colors need to be specified per the @@ -616,6 +652,24 @@ To use the currently defined specify MOD as the modifier key. .Pp Multiple key combinations may be bound to the same action. +.Pp +To bind non-latin characters such as å or π you must enter the xkb +character name instead of the character itself. Run xev, focus the window +and press the specific key and in the terminal output read the symbol name. +In the fallowing example for å: +.Bd -literal -offset indent +KeyPress event, serial 41, synthetic NO, window 0x2600001, + root 0x15a, subw 0x0, time 106213808, (11,5), root:(359,823), + state 0x0, keycode 24 (keysym 0xe5, aring), same_screen YES, + XLookupString gives 2 bytes: (c3 a5) "å" + XmbLookupString gives 2 bytes: (c3 a5) "å" + XFilterEvent returns: False +.Ed +.Pp +The xkb name is aring. In other words, in .spectrwm.conf add: +.Bd -literal -offset indent +bind[program] = MOD+aring +.Ed .Sh KEYBOARD MAPPING FILES Keyboard mapping files for several keyboard layouts are listed below.