aboutsummaryrefslogtreecommitdiffstats
path: root/cwmrc.5
diff options
context:
space:
mode:
authorsthen2009-05-17 17:04:59 +0000
committersthen2009-05-17 17:04:59 +0000
commit45b1bd6c4ea47f222e9473807ed7ae379d1abe06 (patch)
tree835dee4d53088109a42f931c360e8af7bdf5bf36 /cwmrc.5
parent51a0c06ae5fd3c3c2698460f51dae1fb9af03310 (diff)
downloadcwm-45b1bd6c4ea47f222e9473807ed7ae379d1abe06.tar.gz
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@
Diffstat (limited to 'cwmrc.5')
-rw-r--r--cwmrc.512
1 files changed, 10 insertions, 2 deletions
diff --git a/cwmrc.5 b/cwmrc.5
index e6d3388..80417f9 100644
--- a/cwmrc.5
+++ b/cwmrc.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cwmrc.5,v 1.23 2009/05/14 16:24:04 oga Exp $
+.\" $OpenBSD: cwmrc.5,v 1.24 2009/05/17 17:04:59 sthen Exp $
.\"
.\" Copyright (c) 2004,2005 Marius Aamodt Eriksen <marius@monkey.org>
.\"
@@ -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 14 2009 $
+.Dd $Mdocdate: May 17 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