Commit Graph

49 Commits

Author SHA1 Message Date
Anselm R. Garbe
e01ca2506a moved client-related stuff from rule.c to client.c 2006-05-30 18:42:42 +02:00
Anselm R. Garbe
15dfca474f removed /def/col{width,mode}, added /def/ncol instead, though /def/ncol has no effect atm 2006-05-30 18:28:05 +02:00
Anselm R. Garbe
cdc57ca2fd /foo/ -> ~+!+max rules now working fine, also renamed /client/X/class into /client/X/props, props syntax is now class:instance:name 2006-05-30 16:32:28 +02:00
Anselm R. Garbe
b8e17113d0 trim / from tags 2006-05-29 14:19:20 +02:00
Sander van Dijk
94a8bd0c3c trim whitespace from tags before validating them, fixes the issue seen when trying to tag a client with a whitespace only tag 2006-05-07 19:56:05 +00:00
Anselm R. Garbe
dd782be04f tags are trimmed from " \t" now, added $MODKEY-Shift-{j,k} and $MODKEY-Button2 for swapping (mouse-based) 2006-05-04 14:34:44 +02:00
Anselm R. Garbe
60b3b48f33 9P bugfix #1, though I'll push a minor refactored version later (which is more error-prone with 9p2000.ko as well) 2006-04-29 18:51:45 +02:00
Anselm R. Garbe
ec111a5c9d revised occurences of draw_client.*, should be more robust now (though urxvt is broken if run with -tr, not our problem) 2006-04-28 12:37:19 +02:00
Anselm R. Garbe
8fd5ae90bb removed * tag hack, this reduces various corner cases 2006-04-27 14:06:37 +02:00
Anselm R. Garbe
923b7d40f5 implemented whitespace skipping for tags in /def/rule processing 2006-04-25 08:20:37 +02:00
Sander van Dijk
6bc8dd351c some structural changes to rule.c, to make windowtitle matching work (didn't work before, because rules like /.*/ -> 1 match for all classes, which prevented windowtitle matching altogether). issue reported by Neptun. 2006-04-19 19:27:22 +00:00
Anselm R. Garbe
0e453fb47b removed unnecessary debug output 2006-04-13 17:08:17 +02:00
Anselm R. Garbe
fe500a8cd2 some more polishing 2006-04-13 15:35:10 +02:00
Anselm R. Garbe
11906f13b2 order matters in wmiirc 2006-04-13 14:58:22 +02:00
Anselm R. Garbe
fe0f4413e4 fixed match_rules 2006-04-13 14:38:29 +02:00
Anselm R. Garbe
39085f5b67 fix in match_rule 2006-04-13 14:31:07 +02:00
Anselm R. Garbe
4be90199ae removed 'retag' command 2006-04-13 14:09:28 +02:00
Anselm R. Garbe
4e4793336f removed /view indirection, instead tags occur in / directory, /view is a shorty for the viewed tag, fixed floating focus bug, fixed $MODKEY-s crashing bug on startup 2006-04-13 10:06:07 +02:00
Sander van Dijk
ec78f60e8a ugly hack to make 'retag' actually work (it didn't) on startup, but let it not mess up a users layout 2006-04-13 00:03:29 +00:00
Anselm R. Garbe
bb7ac65b3e forgot a ! 2006-04-12 12:33:28 +02:00
Anselm R. Garbe
9e48c575e4 fixed the * tag issue proposed like Sander did in the mail 2006-04-12 11:39:59 +02:00
Anselm R. Garbe
69ddb68f00 made cmd/wm code more concise 2006-04-12 10:44:07 +02:00
Anselm R. Garbe
f5bdd9a03d fixed * tag bug in rules reported by sander, revsersed order of matching, classinst need to have the highest prio 2006-04-12 09:09:46 +02:00
Anselm R. Garbe
3a65dd3100 changed property precedence in rule matching (client name has higher precendence than class instance) 2006-04-11 17:40:05 +02:00
Anselm R. Garbe
5a2a5d41b5 fixed two bugs reported by nion and lavish 2006-04-11 14:23:13 +02:00
Anselm R. Garbe
9ec94a273b added 'nil' tag as fallback if no tag has been matched 2006-04-11 08:43:32 +02:00
Anselm R. Garbe
c087c64dd2 simplified tagging data structures internally, though not finished yet, don't use this exessively ;) 2006-04-10 17:43:13 +02:00
Anselm R. Garbe
72c0efea9e removed /view/tag, removed -t argument, instead /def/rules is used. A new magic tag "!" keeps track of inheriting the selected view tag (/.*/ -> !), the first rule /.*/ -> 1 replaces the /view/tag default tag stuff (ex -t argument), writing "retag" to /ctl applies /def/rule to all existing clients, except the "!" handling 2006-04-10 10:58:21 +02:00
Anselm R. Garbe
2b3eb084f7 simplified rule.c 2006-04-06 12:19:20 +02:00
Anselm R. Garbe
3588e0909d simplified tagging in Client 2006-04-06 11:31:54 +02:00
Anselm R. Garbe
03cb248e71 applied the changes made by Icarus Sparry 2006-04-02 22:53:56 +02:00
Anselm R. Garbe
6bb011dc1e sanitized float handling, '~' is only used in /def/rules now, nowhere else and skipped explicitly as tag, Client struct contains a floating flag now (if set, the client will be floating in all views), added [n] suffix to view labels of the bar (does not occur in tags which have not yet been selected, thus no view) showing the focused area of the specific view 2006-03-31 07:57:33 +02:00
Anselm R. Garbe
d12fe194b5 added new shortcuts as described in prev snap, fixed rule.c issues (update_rules()), changed bar rendering order as explained in IRC (expand is the first non-intern label with east alignment) 2006-03-26 18:21:12 +02:00
Anselm R. Garbe
0d935ce433 some cleanup in rule.c, added $MODKEY-Shift-{j,k} 2006-03-26 17:49:31 +02:00
Anthony Martin
5cee0164e6 removed trailing whitespace in *.c, code cleanup finished 2006-03-23 07:12:06 -08:00
Anselm R. Garbe
cc572f14f1 implemented event queueing and fixed a bug in rule.c reported by usa 2006-03-23 08:43:26 +01:00
Anselm R. Garbe
564a3ecbf6 several fixes discussed on mailinglist this morning 2006-03-22 09:48:08 +01:00
Anselm R. Garbe
b72f13580c fixed float forcing as well 2006-03-15 10:51:57 +01:00
Anselm R. Garbe
a8e7215e12 fixed rule matching 2006-03-15 10:44:54 +01:00
Anselm R. Garbe
ebff664fd4 proceeded with tag separation 2006-03-15 10:35:38 +01:00
Anselm R. Garbe
dff6fb2502 began to store tags in a different way 2006-03-15 09:02:25 +01:00
Anselm R. Garbe
a8d3c69f03 fixed issues reported by DenisG and ality 2006-03-11 22:14:04 +01:00
Anselm R. Garbe
c0cf389d84 fixed column layout obscuring on running wmiirc again 2006-03-11 21:48:02 +01:00
Anselm R. Garbe
7a9bb1d415 dropping leading whitespaces in match_rule for tags 2006-03-11 10:09:04 +01:00
Anselm R. Garbe
93fc6f4cc1 fixed bug reported by ality 2006-03-10 18:39:25 +01:00
Anselm R. Garbe
9ce2bd40c4 enabled /def/rules handling, added default /def/rules to wmiirc 2006-03-10 17:17:59 +01:00
Anselm R. Garbe
9ecfee9002 implemented YAREL 2006-03-10 14:17:32 +01:00
Anselm R. Garbe
9b0fcad4b9 remove TCR, added /client/class again 2006-03-10 11:59:26 +01:00
Anselm R. Garbe
6da9bfce1e added rule.c, a starting point for a rule engine 2006-03-10 11:50:52 +01:00