summary refs log tree commit diff
path: root/cwmrc.5
Commit message (Collapse)AuthorAgeFilesLines
* 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@
* a long time coming - re-work the way we deal with colors: since we'reokan2009-05-171-1/+13
| | | | | | | | 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@
* add a "movetogroup" function, which hides the current window fromsthen2009-05-171-1/+9
| | | | | | | | | | | | 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@
* Add a new command (currently no default keybindings for it), grouponly[1-9].oga2009-05-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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@
* right and middle mouse buttons swapped; from rgouveia@cosmico.netokan2009-05-041-3/+3
|
* properly document menu_unhide; tweak a patch from rgouveia@cosmico.net - thanks.okan2009-05-041-1/+1
| | | | ok oga@
* add 'moveamount' to cwmrc; it sets keyboard movement amount, makingmartynas2009-02-071-27/+80
| | | | | | it more useful on large screens manpage tweak & ok jmc@ ok okan@, oga@
* remove leftover from mdoc.samples; ok jmc@martynas2009-02-071-2/+1
|
* borderwidth as a cwmrc(5) keyword, really helps debuggingtodd2009-01-211-1/+5
| | | | | from okan@ ok oga@
* Improve wording of the ``ignore'' directive. From Martin Toft a whileoga2008-09-221-2/+3
| | | | ago, ok okan@ from similar amount of time ago.
* Change "a window" to "current window" in documentation. it's more correct.oga2008-07-111-60/+60
| | | | | | While i'm here: Capital letter and full stop in descriptions in cwmrc.5 "looks good - do it" okan@.
* no more hidden (and mysterious) config reloads and allow binding a keyokan2008-07-111-0/+2
| | | | | | to a config reload; CMS-r by default. ok oga@
* Allow a mouse binding to hide a window, and add a default keybinding for CMS-M3,oga2008-06-251-0/+2
| | | | | | so it's hard to press by accident, but there if you need it. requested (in a way) and tested by johan and todd.
* Support mod4 (windows key) in mouse bindings too.oga2008-06-251-1/+3
|
* Support shift in mouse bindings. There's really no reason not to.oga2008-06-251-0/+2
| | | | tested by johan@ and todd@.
* missed one mouse functionokan2008-06-171-1/+2
| | | | noticed by oga
* Ignore caps lock and numlock for keyboard bindings. The way Xlib makesoga2008-06-171-5/+1
| | | | | | | | | you do this is ugly. Also remove mod2 (numlock) and mod3 (odd) from the list of keybinding modifiers. They don't make much sense here. based on a heavily modified diff from Martynas. ok okan.
* confable menu and window mouse bindings from rivo nurges (thanks!) withokan2008-06-141-3/+58
| | | | | | some minor fixups, man page bits and knf. ok oga@
* finally document functions that can be bound, removing the need to haveokan2008-06-131-6/+106
| | | | | | name_to_kbfunc[] around. feedback jmc@, ok oga@
* allow an autogroup value of 0 to mean no group. This means you can setoga2008-05-191-1/+5
| | | | | | | | | automatically "sticky" (in the traditional sense of the word) windows in autogroup mode. Based on an initial diff from Andrew Fresh, thanks! ok okan@.
* fix backwards logic in example; found by oga@okan2008-05-181-3/+3
|
* - re-order and mostly re-write cwmrc(5)okan2008-05-181-113/+123
| | | | | | | | - merge example config file into cwmrc(5) and remove (little good in here) feedback from jmc@ - thanks! ok simon@
* nits from Pierre Riteau - thanks!okan2008-04-281-2/+3
| | | | ok oga@
* hit it with the knf stick.oga2008-04-151-6/+6
|
* Add "gap" support to .cwmrc. The options put in here make gaps on the edgeoga2008-04-151-1/+11
| | | | | | | | | of the screen where an application won't be {,vert}maximized over. used for placing a statusbar or something like xclock. Patch from Edd Barrett, with input from myself and okan. Thanks! ok okan@.
* Replace the symlink configuration scheme with a simple yacc parser assimon2008-03-231-0/+158
found in other places of the tree. Remove sticky and font commandline options and add another one for alternative config locations. Split off cwmrc(5) from cwm(1), nuke #ifdef __OpenBSD__ while there. tested by various kind people, feedback from oga@ and okan@ - thanks! ok oga@, jasper@, okan@