about summary refs log tree commit diff
path: root/cwmrc.5
diff options
context:
space:
mode:
authoroga <oga>2009-05-14 16:24:04 +0000
committeroga <oga>2009-05-14 16:24:04 +0000
commit3de90d44fc13ee83b7f5b11282e757765364fffc (patch)
tree2b7a1a3e4a17e2b282bac8136f16dd1c762d4032 /cwmrc.5
parentfbb1edf2b3a1b4dc977de6793bc474b866e8a075 (diff)
downloadcwm-3de90d44fc13ee83b7f5b11282e757765364fffc.tar.gz
cwm-3de90d44fc13ee83b7f5b11282e757765364fffc.tar.xz
cwm-3de90d44fc13ee83b7f5b11282e757765364fffc.zip
Add a new command (currently no default keybindings for it), grouponly[1-9].
This works like the group select binding, but hides all other groups.

So, the people who've been complaining that they don't get "virtual
desktops" in cwm may want to try this out in cwmrc (from memory, untested):

---

#cwmrc

# add new windows to the current group
set sticky

# automatically sticky windows. xclock for now.
# to make more windows sticky use group_toggle to unset their group
autogroup 0 xclock

# make the group selection keys hide other groups, emulate virtual desktops
bind CM-1 grouponly1
bind CM-2 grouponly2
bind CM-3 grouponly3
bind CM-4 grouponly4
bind CM-5 grouponly5
bind CM-6 grouponly6
bind CM-7 grouponly7
bind CM-8 grouponly8
bind CM-9 grouponly9

---

mostly by sthen, tweaks from me.

ok todd@, "if it works i'm ok with it" okan@, ok sthen@
Diffstat (limited to 'cwmrc.5')
-rw-r--r--cwmrc.54
1 files changed, 4 insertions, 0 deletions
diff --git a/cwmrc.5 b/cwmrc.5
index 7b0ce5c..c0740b5 100644
--- a/cwmrc.5
+++ b/cwmrc.5
@@ -242,6 +242,10 @@ Launch
 menu.
 .It group[n]
 Select group n, where n is 1-9.
+.It grouponly[n]
+Like
+.Ar group[n]
+but also hides the other groups.
 .It nogroup
 Select all groups.
 .It grouptoggle