summaryrefslogtreecommitdiff
path: root/app/cwm/cwmrc.5
AgeCommit message (Collapse)Author
2019-02-25Add 'group-close-[n]' action to close all windows within specified group.Okan Demirmen
heavily based on a diff from Nam Nguyen.
2019-02-22Rename internal functions to delinate between client remove, delete and xprotoOkan Demirmen
delete; 'window-close' is now the proper action, but 'window-delete' as an alias will remain until more interesting changes require breaking configs.
2017-12-29Convert menu-exec-wm from an abritrary exec menu, into a config-based menu fromOkan Demirmen
which one may configure (wm <name> <path_and_args>) (and choose) specific window managers to replace the running one. 'wm cwm cwm' is included by default. No objections and seems sensible to sthen.
2017-12-07Original idea from Dimitris Papastamos to move windows to corners a while ago;Okan Demirmen
re-proposed by Julien Steinhauser with an updated diff. Apparently this was in the original calmnwm. However, expand the original idea and let clients 'snap' to edges instead, neatly allowing key bindings that snap to adjacent edges (i.e. corners) as well. No default bindings assigned.
2017-07-06fix a few WARNINGS (new sentence, new line and extraneous Pp macro) found withOkan Demirmen
mandoc -Tlint
2017-04-24For {h,v}tile, instead of keeping the master client's {h,v} geometry, expand itOkan Demirmen
to %50 of the area, then fill in the remaining space with the other clients in the same group; from Gerrit Meyerheim. support from ajacoutot.
2017-01-15Typo on binding name; from Redouan Ait Mallouk.Okan Demirmen
2016-12-01Change 'menu-window' to display all windows; then add 'menu-window-hidden' forOkan Demirmen
the previous behaviour of 'menu-window'. 'menu-window' becomes the default binding; use 'bind-mouse "1" menu-window-hidden' to restore old behaviour for those who prefer. OK sthen@ (long long time ago on a different version)
2016-12-01Normalize bind function names, based on a few categories: window, group, menuOkan Demirmen
and pointer. Replace 'bind' and 'mousebind' options with 'bind-key' and 'bind-mouse', respectively, replace special 'unmap' keyword with 'unbind-key' and 'unbind-mouse', and additionally allow unbinding all with 'all' keyword.
2016-10-05More accurate to say 'toggle', rather than 'select', for group[n]/nogroup.Okan Demirmen
2016-09-12change 'sticky' to 'stick' to toggle client stickiness (seems theOkan Demirmen
default binding worked for everyone for a long time!); conflict with group sticky found by Ali Farzanrad - thanks!
2015-07-12introduce 'groupsearch' for group menu search; matches on either groupOkan Demirmen
number/shortcut and/or name.
2015-05-31a start to cleaning:Okan Demirmen
- no reason for pointer movement and window movement and resizing sections that just describe default key bindings - key bindings are for all search and exec dialogs, not just for windows - adding missing bindings - normalize and wordsmith - re-order sections according to mdoc(7) feedback and ok from jmc@
2014-08-25Implement _NET_WM_STATE_STICKY, bound to CM-s by default; allows anyOkan Demirmen
client to 'stick' to all desktops (ewmh speak) or groups - this currently has the same affect as setting a client's group to 'nogroup', with the exception that the client can also be in a group, so when un-sticking, the client will go back to its original group/desktop.
2014-01-29keybinding -> key bindingOkan Demirmen
2013-12-16Implement support for EWMH's _NET_WM_STATE_FULLSCREEN hint.Okan Demirmen
Since we already have a form of 'maximize', we need to differentiate between 'maximize' and the new 'fullscreen' mode. The 'maximize' mode will continue to honor gap but now *retains* the border, matching the 'vert/horz maximize' behaviour. The new 'fullscreen' mode supports and follows the _NET_WM_STATE_FULLSCREEN hint, allowing the client perform additional window modifications; in this mode, cwm(1) will *ignore* gap, remove borders and freeze(move/resize) the client. Additionally, 'fullscreen' mode will remember various combinations of previous states. * default keybinding changes: CM-f 'fullscreen', CM-m 'maximize' (re-map as desired). Positive feedback from a few, testing and ok sthen@
2013-12-13Add support for XUrgency and matching _NET_WM_STATE_DEMANDS_ATTENTIONOkan Demirmen
ewmh hint; urgencyborder is configurable. The urgency flag will stick, even while on a client in a non-viewable group, until the client receives focus (where the border is reset). Initial diff from Thomas Adam with some changes/enhancements from me.
2013-11-27Remove the option to bind a key by keycode with brackets; it neverOkan Demirmen
worked (and no one complained!). While it's fairly easy to fix, users should be using keysym names and not keycodes. Discussed at length months ago with todd@, matthieu@ and Owain.
2013-07-08add support for mouse based group {,r}cycle; from Rodrigo Mosconi. notOkan Demirmen
bound by default.
2013-06-17allow mouse button4 and button5; from Rodrigo MosconiOkan Demirmen
2013-01-08add per-group vert/horiz tiling support; introduces 2 new bind commands,Okan Demirmen
'vtile' and 'htile'; from Alexander Polakov.
2012-12-17knfOkan Demirmen
2012-12-17non-trivial menu drawing rewrite, moving to Xft and solving variousOkan Demirmen
font/color drawing issues; from Alexander Polakov
2012-11-29specific last match for autogroup; few iterations with Kent Spillner.Okan Demirmen
2012-11-07clarify windowname and windowclass values are pulled from the WM_CLASSOkan Demirmen
property; from Kent Spillner
2012-11-07zap trailing spaceOkan Demirmen
2012-11-01try to clarify xprop(1) output, with respect to WM_CLASS, without goingOkan Demirmen
overboard; suggested idea by jmc
2012-10-31replace 'reload' with 'restart', which merely re-exec's cwm using theOkan Demirmen
existing argv; same idea with respect to argv saving as Alexander Polakov. reload support was half-complete and is getting in the way. agreed to by many
2012-10-28clarify autogroup option; based on diffs from kspillner@acm.org withOkan Demirmen
feedback from jmc
2012-07-06Add a couple examples of keybindings using keysyms, as discussedDavid Coppa
with okan@ and sthen@. OK okan@, sthen@
2011-11-06put snapdist in the correct location; as an option, not a bind; Tiago Cunha.Okan Demirmen
ok oga@
2011-09-08allow configurable menu font color; from Alexander Polakov with a tweakOkan Demirmen
from me. ok oga@
2011-09-08allow menufg/menubg to be configurable; from Alexander Polakov.Okan Demirmen
ok oga@
2011-09-03Add {r,}cycleingroup to cycle through clients belonging to the sameOkan Demirmen
group as the active client (as opposed to all unhidden clients); from Alexander Polakov, with a tiny tweak requested by oga. ok oga@
2011-06-25Since cwm(1) uses the same parser as others in src, document howOkan Demirmen
comments and line extensions work. Taken from sthen@'s recent commit in src. ok sthen@
2011-06-24New option to raise a client via the mouse (unbound by default);Okan Demirmen
opposing action, lower, already exists and bound. Both keyboard mappings already exist. 'no opinion either way' oga@
2011-06-24introduce a new config option to snap to the screen edge. 'snapdist'Okan Demirmen
keyword taken from a diff from Sviatoslav Chagaev to do the same thing, but implemented in a completely way (based on some very old code from mk@). default set to 0, so no behavior change. ok oga@ (who would also like to take it further...)
2011-05-07introduce a new 'freeze' flag (CMS-f by default) which may be applied toOkan Demirmen
any window, after which all move/resize requests will be ignored, essentially freezing the window in place. there's a possibility to merge this with the 'ignore' concept, pending on how ignore+freeze should behave (really more ewmh stuff), but punting for now since ponies are on the line. requested and tested by thib at k2k11 with ponies, unicorns and rainbows. 'save the unicorns' todd@, ok oga@
2010-09-25s/\.Pb/.Pp/ for correct vertical spacing; found by mandoc -TlintIngo Schwarze
2010-09-25do not warp to clients marked 'ignore'; from chneukirchen at gmail - thanks.Okan Demirmen
(with the manpage bit from me). ok oga@
2010-09-25clarify window name/class a bit more with word ordering.Okan Demirmen
ok oga@
2010-07-30revert -r1.45 of group.c (log was: fix window name and class to matchOkan Demirmen
cwmrc(5)). instead, fix cwmrc(5) to match the old behavior which also happens to match the example config, of which many have based their configs; this also nicely matches the output of xprop(1). clean-up of variable names as a separate commit. suggested by sthen (and something we should have done initially). discussed with and ok oga@
2010-07-23fix backwards example (after r1.45 of group.c); noticed by phessler@Okan Demirmen
ok oga@ phessler@
2010-03-20Fix formatting errors breaking the xenocara mandoc(1) build:Ingo Schwarze
* .Bl may only have .It children * .SH requires an argument * blank lines are illegal outside literal context Now "cd /usr/xenocara && make man" succeeds, but unfortunately, that covers a minority of X11 manuals only. ok matthieu@
2009-08-24Add a keybinding to allow horizontal maximisation of a window (CMS-enter).Owain Ainsworth
based on a diff by Thomas Pfaff; thanks! ok okan@
2009-08-08remove unnecessary Ar macrosOkan Demirmen
ok jmc@
2009-08-08remove unnecessary Dq macro; based on a diff from Martin ToftOkan Demirmen
feedback and ok jmc@, martynas@
2009-05-17a long time coming - re-work the way we deal with colors: since we'reOkan Demirmen
using Xft(3), use it to select the font color as well instead of trying to build one; properly allocate and free colors at-will, e.g. we now have configurable colors. feedback and ok's todd@ and oga@
2009-05-17add a "movetogroup" function, which hides the current window fromStuart Henderson
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@
2009-05-14Add a new command (currently no default keybindings for it), grouponly[1-9].Owain Ainsworth
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@