summary refs log tree commit diff
path: root/cwmrc.5
Commit message (Collapse)AuthorAgeFilesLines
* Allow cwm(1) to cycle through windows of the same window class as the HEAD masterokan2023-07-201-0/+4
| | | | | | | active window; default key binding to M-grave, respectively Alt-Tilde, like other window managers have as well. from Simon Dassow
* Add group-last command that shows only the previously active group; ok okanop2022-01-271-0/+2
|
* Allow configuring a percentage window size of the master window duringokan2020-04-161-2/+20
| | | | htile/vtile actions. From Uwe Werler, with a few manpage tweaks.
* Simplify list markup.tim2020-03-131-25/+2
| | | | OK okan@ schwarze@
* Map ('5') and allow mod5mask (altgr) as a modifier.okan2020-02-031-12/+6
| | | | From Artturi Alm (though changed from 'm' to '5')
* command uses execvp(3) not execve(2)kn2019-07-021-1/+1
| | | | util.c:u_exec() has been doing so since import.
* Add 'group-close-[n]' action to close all windows within specified group.okan2019-02-251-0/+2
| | | | heavily based on a diff from Nam Nguyen.
* Rename internal functions to delinate between client remove, delete and xprotookan2019-02-221-2/+2
| | | | | delete; 'window-close' is now the proper action, but 'window-delete' as an alias will remain until more interesting changes require breaking configs.
* Convert menu-exec-wm from an abritrary exec menu, into a config-based menu fromokan2017-12-291-0/+6
| | | | | | | | 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.
* Original idea from Dimitris Papastamos to move windows to corners a while ago;okan2017-12-071-0/+16
| | | | | | | | | 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.
* fix a few WARNINGS (new sentence, new line and extraneous Pp macro) found withokan2017-07-061-5/+4
| | | | mandoc -Tlint
* For {h,v}tile, instead of keeping the master client's {h,v} geometry, expand itokan2017-04-241-4/+6
| | | | | | | 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.
* Typo on binding name; from Redouan Ait Mallouk.okan2017-01-151-1/+1
|
* Change 'menu-window' to display all windows; then add 'menu-window-hidden' forokan2016-12-011-0/+2
| | | | | | | | 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)
* Normalize bind function names, based on a few categories: window, group, menuokan2016-12-011-162/+151
| | | | | | | | 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.
* More accurate to say 'toggle', rather than 'select', for group[n]/nogroup.okan2016-10-051-2/+2
|
* change 'sticky' to 'stick' to toggle client stickiness (seems theokan2016-09-121-1/+1
| | | | | default binding worked for everyone for a long time!); conflict with group sticky found by Ali Farzanrad - thanks!
* introduce 'groupsearch' for group menu search; matches on either groupokan2015-07-121-0/+2
| | | | number/shortcut and/or name.
* a start to cleaning:okan2015-05-311-65/+65
| | | | | | | | | | | - 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@
* Implement _NET_WM_STATE_STICKY, bound to CM-s by default; allows anyokan2014-08-251-1/+3
| | | | | | | 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.
* keybinding -> key bindingokan2014-01-291-7/+7
|
* Implement support for EWMH's _NET_WM_STATE_FULLSCREEN hint.okan2013-12-161-4/+6
| | | | | | | | | | | | | | | | 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@
* Add support for XUrgency and matching _NET_WM_STATE_DEMANDS_ATTENTIONokan2013-12-131-1/+4
| | | | | | | 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.
* Remove the option to bind a key by keycode with brackets; it neverokan2013-11-271-5/+3
| | | | | | | 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.
* add support for mouse based group {,r}cycle; from Rodrigo Mosconi. notokan2013-07-081-1/+5
| | | | bound by default.
* allow mouse button4 and button5; from Rodrigo Mosconiokan2013-06-171-1/+5
|
* add per-group vert/horiz tiling support; introduces 2 new bind commands,okan2013-01-081-1/+7
| | | | 'vtile' and 'htile'; from Alexander Polakov.
* non-trivial menu drawing rewrite, moving to Xft and solving variousokan2012-12-171-1/+4
| | | | font/color drawing issues; from Alexander Polakov
* specific last match for autogroup; few iterations with Kent Spillner.okan2012-11-291-0/+1
|
* clarify windowname and windowclass values are pulled from the WM_CLASSokan2012-11-071-2/+2
| | | | property; from Kent Spillner
* zap trailing spaceokan2012-11-071-2/+2
|
* try to clarify xprop(1) output, with respect to WM_CLASS, without goingokan2012-11-011-2/+3
| | | | overboard; suggested idea by jmc
* replace 'reload' with 'restart', which merely re-exec's cwm using theokan2012-10-311-3/+4
| | | | | | | 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
* clarify autogroup option; based on diffs from kspillner@acm.org withokan2012-10-281-9/+17
| | | | feedback from jmc
* Add a couple examples of keybindings using keysyms, as discusseddcoppa2012-07-061-1/+5
| | | | | | with okan@ and sthen@. OK okan@, sthen@
* put snapdist in the correct location; as an option, not a bind; Tiago Cunha.okan2011-11-061-2/+4
| | | | ok oga@
* allow configurable menu font color; from Alexander Polakov with a tweakokan2011-09-081-1/+4
| | | | | | from me. ok oga@
* allow menufg/menubg to be configurable; from Alexander Polakov.okan2011-09-081-1/+7
| | | | ok oga@
* Add {r,}cycleingroup to cycle through clients belonging to the sameokan2011-09-031-1/+5
| | | | | | | group as the active client (as opposed to all unhidden clients); from Alexander Polakov, with a tiny tweak requested by oga. ok oga@
* Since cwm(1) uses the same parser as others in src, document howokan2011-06-251-1/+13
| | | | | | | comments and line extensions work. Taken from sthen@'s recent commit in src. ok sthen@
* New option to raise a client via the mouse (unbound by default);okan2011-06-241-1/+3
| | | | | | | opposing action, lower, already exists and bound. Both keyboard mappings already exist. 'no opinion either way' oga@
* introduce a new config option to snap to the screen edge. 'snapdist'okan2011-06-241-1/+3
| | | | | | | | 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...)
* introduce a new 'freeze' flag (CMS-f by default) which may be applied tookan2011-05-071-0/+2
| | | | | | | | | | | | | 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@
* s/\.Pb/.Pp/ for correct vertical spacing; found by mandoc -Tlintschwarze2010-09-251-6/+6
|
* revert -r1.45 of group.c (log was: fix window name and class to matchokan2010-07-301-5/+5
| | | | | | | | | | | | 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@
* fix backwards example (after r1.45 of group.c); noticed by phessler@okan2010-07-231-3/+3
| | | | ok oga@ phessler@
* Fix formatting errors breaking the xenocara mandoc(1) build:schwarze2010-03-201-2/+1
| | | | | | | | | | | * .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@
* Add a keybinding to allow horizontal maximisation of a window (CMS-enter).oga2009-08-241-0/+2
| | | | | | based on a diff by Thomas Pfaff; thanks! ok okan@
* remove unnecessary Ar macrosokan2009-08-081-4/+4
| | | | ok jmc@
* remove unnecessary Dq macro; based on a diff from Martin Toftokan2009-08-081-2/+2
| | | | feedback and ok jmc@, martynas@