From eb7803269e63acabfacbfd95c32e8ca44963f8d6 Mon Sep 17 00:00:00 2001 From: sthen Date: Sun, 17 May 2009 17:04:59 +0000 Subject: add a "movetogroup" function, which hides the current window from display and moves it to another group. useful with the recently added "grouponly" function, giving the ability to use groups as simple virtual desktops (similar to e.g. xmonad, dwm and scrotwm). this doesn't have default keyboard bindings; cwmrc(5) now shows how you could use these functions (use M-1...9 for grouponly1...9 and MS-1...9 for movetogroup1...9 to emulate the default dwm bindings). ok oga@ --- cwmrc.5 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'cwmrc.5') diff --git a/cwmrc.5 b/cwmrc.5 index c0740b5..64b88ec 100644 --- a/cwmrc.5 +++ b/cwmrc.5 @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: May 4 2009 $ +.Dd $Mdocdate: May 14 2009 $ .Dt CWMRC 5 .Os .Sh NAME @@ -208,6 +208,12 @@ ignore xclock bind CM-r label bind CS-Return "xterm -e top" bind 4-o unmap +bind M-1 grouponly1 +bind M-2 grouponly2 +bind M-3 grouponly3 +bind MS-1 movetogroup1 +bind MS-2 movetogroup2 +bind MS-3 movetogroup3 # Mousebindings mousebind M-2 window_lower @@ -250,6 +256,8 @@ but also hides the other groups. Select all groups. .It grouptoggle Toggle group membership of current window. +.It movetogroup[n] +Hide current window from display and move to group n, where n is 1-9. .It cyclegroup Forward cycle through groups. .It rcyclegroup -- cgit 1.4.1