Commit Graph

518 Commits

Author SHA1 Message Date
Kris Maglione
e8e12d125c Move xsetroot, too. 2007-03-31 17:23:30 -04:00
Kris Maglione
75a2951be1 Write /ctl before the second sourcing of rc.wmii.local 2007-03-31 17:22:30 -04:00
Kris Maglione
3be23e96dd Fix wmiirc 2007-03-30 22:56:09 -04:00
Kris Maglione
bae882dfec Don't check the values of WMII_ADDRESS and WMII_NS_DIR on startup. 2007-03-30 22:35:40 -04:00
Kris Maglione
666c5cfa05 Tell hg that I've renamed the config scripts (SCM is a bitch). 2007-03-26 23:16:36 -04:00
Kris Maglione
ca94ccabed Add the makefile for the rc directory. 2007-03-26 23:14:42 -04:00
Kris Maglione
a490d34b58 Don't run rc.wmii if its name is not rc.wmii. 2007-03-25 15:16:24 -04:00
Kris Maglione
5a12c899a5 Cleanup in main.c. Fixed the bar setup in rc.wmii. 2007-03-22 16:04:47 -04:00
Kris Maglione
323e3fa654 Remove '| cat' from the end of wmiirc. 2007-03-21 23:31:36 -04:00
Kris Maglione
b56f202e3e "object-oriented design is the roman numerals of computing." --rob; Removed Roman Numerals. 2007-03-21 22:58:59 -04:00
Kris Maglione
97f91bc48b wmii(1) is no more. wmiistartrc is now executed under a login shell from wmiiwm, which starts the appropriate wmiirc. 2007-03-14 18:31:58 -04:00
Kris Maglione
92dfcbc0d1 Give wmiirc the ability to toggle keybindings, too. 2007-03-07 17:35:20 -05:00
Kris Maglione
8a4f6e01e6 Fix wmiirc in shells with POSIX emulation modes. 2007-03-07 16:08:19 -05:00
Kris Maglione
b89b7df7e8 Fix wmiirc and wmiiloop. 2007-03-07 14:01:02 -05:00
Kris Maglione
b09c59fbc7 New wmiirc/wmiiloop model that mawk shouldn't choke on. 2007-03-07 10:38:31 -05:00
Kris Maglione
da724b0c23 Remove Gimp tagrule from sh/awk wmiirc. 2007-03-06 16:15:08 -05:00
Kris Maglione
1160b14fe6 Another wmiirc fix. 2007-03-03 17:56:46 -05:00
Kris Maglione
4b21c3f205 Added wmii9menu to, and cleaned up rc/wmiirc. Fixed behavior after selection no item with wmii9menu in rc.wmii. 2007-03-03 17:51:46 -05:00
Kris Maglione
3fbfc4957d Don't delete bar items for which there are tags on startup. 2007-03-03 12:09:36 -05:00
Kris Maglione
356f676015 Removed PLAN9BASE config.mk knob in favor of wmii9rc script. Still not an ideal solution. 2007-03-03 09:42:06 -05:00
Kris Maglione
4ecc7f5ea6 Added PLAN9BASE config.mk knob that evaluates to $PLAN9 or /usr/local/plan9 if unset. 2007-03-02 17:11:09 -05:00
Kris Maglione
c4b8c42b4c Add a newline to the end of rc.wmii. 2007-03-02 03:30:56 -05:00
Kris Maglione
b1f9f6666b Fix Action-status 2007-03-01 15:20:53 -05:00
Kris Maglione
d3c108d5ae Cleanup 9menu some. Remember the last menu item selected. 2007-02-28 21:18:26 -05:00
Kris Maglione
bb3f1ea452 Removed www tagrule from rc.wmii. It was not meant to be there. 2007-02-28 01:00:05 -05:00
Kris Maglione
d3efb4965b Make gawk happy. 2007-02-27 03:39:40 -05:00
Kris Maglione
93b89970f8 Fix selection of views by index. 2007-02-27 01:57:01 -05:00
Kris Maglione
6fc0950cb5 Add .POSIX target and change to double quotes in the Makefile. Change 9menu.c parsing a bit. Some rc.wmii fixes. 2007-02-26 15:56:41 -05:00
Kris Maglione
b090c8bc98 Make Nop the default menu item, rather than Delete. 2007-02-26 04:55:54 -05:00
Kris Maglione
b2c7eef976 Fix 9menu function, compile wmii9menu with 9menu.o instead of ${OBJ}, some minor 9menu.c modifications. 2007-02-26 04:46:55 -05:00
Kris Maglione
edd7dba67a Add stripped down version of 9menu, and right-click menus to clients. Includes 'Delete' item. Runs from rc.wmii only. 2007-02-26 04:27:03 -05:00
Kris Maglione
6fd9aede66 Fixed and cleaned up rc.wmii. Updated rc/welcome 2007-02-25 23:29:16 -05:00
Kris Maglione
fe72e87e78 Quote $PROGS_FILE elsewhere 2007-02-25 15:29:27 -05:00
Kris Maglione
28c238974f Quote $PROGS_FILE in Action_rehash 2007-02-25 15:25:41 -05:00
Kris Maglione
82125e9e28 Get rid of config_which in the sh wmiirc. 2007-02-25 15:16:34 -05:00
Kris Maglione
6aa67b638b Create Action_ functions immediately. Quote $WMII_NORMCOLORS in Action_status 2007-02-25 14:59:32 -05:00
Kris Maglione
59fe492d74 Replace Action- with Action_ in wmiirc 2007-02-25 14:25:42 -05:00
Kris Maglione
f02ebd6d4f Replaced rc.wmii.var with splitting rc.wmii.local at /^# Overrides/ 2007-02-25 14:17:56 -05:00
Kris Maglione
ca3bcebf82 Have rc.wmii source rc.wmii.var; I don't like it, but MODKEY must be set before the Key-* functions are defined, and override functions after. I can think of few other solutions. 2007-02-24 23:36:16 -05:00
Kris Maglione
2c387d4d99 Have wmiimenu take colors from WMII_(NORM FOCUS)COLORS. Get rid of 'extern' from function decls. 2007-02-23 23:09:58 -05:00
Kris Maglione
e4cf02d8f4 Have rc.wmii source rc.wmii.local to allow local changes with the stock rc.wmii. 2007-02-23 19:50:02 -05:00
Kris Maglione
e41895dda2 Fix dmenu colors in rc.wmii. 2007-02-23 16:53:38 -05:00
Kris Maglione
6d8c5fe003 Bigger target area for border resizals. Fix to rc.wmii. 2007-02-23 15:11:39 -05:00
Kris Maglione
204f3e1e45 Fix some rc.wmii bugs. wmiiterm is $WMII_TERM again. 2007-02-23 14:05:46 -05:00
Kris Maglione
b2f0b883e3 Remove rc/(status rehash quit). They're taken care of in wmiirc, now. 2007-02-23 13:55:11 -05:00
Kris Maglione
99fe00d264 Fixed WMII_MENU and WMII_TERM. They are now functions: wmiimenu and wmiiterm. 2007-02-23 13:48:21 -05:00
Kris Maglione
a7a3303cb8 Redraw view on writes to /ctl (focuscolors, border, font) 2007-02-23 01:53:08 -05:00
Kris Maglione
f6a4b6b876 Temporarilly fix some focus issues (still need rewrite). Some rc.wmii fixes. 2007-02-23 00:07:30 -05:00
Kris Maglione
dcf1c9ec1d Moved rc/newrc to rc/wmiirc. Added rc/rc.wmii, and run it if 9 rc exists. Bourne wmiirc is officially deprecated. 2007-02-22 22:36:50 -05:00
Kris Maglione
2da0d1b75d More wmiiloop/newrc updates. 2007-02-22 19:07:58 -05:00
Kris Maglione
f56a70589e Added wmiiloop(1) and wmiiloop.1 to handle experimantal awk-based wmiirc. 2007-02-22 18:32:23 -05:00
Kris Maglione
fb8b463288 A bit more tidying of rc/newrc 2007-02-22 17:02:14 -05:00
Kris Maglione
a5825ff3d7 Made rc/newrc moderately less ugly. 2007-02-22 16:20:40 -05:00
Kris Maglione
61f889a81c Experimental awk-based wmiirc now has internal actions. Still ugly. Must fix. 2007-02-22 15:53:34 -05:00
Kris Maglione
e1e4450a41 Added experimental awk-based wmiirc in rc/newrc 2007-02-22 15:06:59 -05:00
Kris Maglione
3d589a8573 Remove unused variable, and some general reformating, in wmiirc. 2007-02-22 11:56:12 -05:00
Kris Maglione
924972e625 Removed superfluous 'NF>2' check in proglist (there's no x in total). Renamed DMENU to WMII_MENU. 2007-02-22 11:48:34 -05:00
Kris Maglione
31e3b8d9d0 Rewrote draw_frame, and removed per-frame BlitzBrushes 2007-02-20 17:31:42 -05:00
Kris Maglione
d8e827bc21 Renamed selcolors back to focuscolors. Fixed an early free(). 2007-02-15 16:46:31 -05:00
Kris Maglione
482107fc40 Restored original 'wmiir write' semantics, and restored xwrite command. 2007-02-15 13:22:24 -05:00
Anthony Martin
a685afa2a7 Get rid of FOCUSCOLORS 2007-02-15 10:06:35 -08:00
Denis Grelich
d476b442ac Made wmiir write behave like wmiir echo instead. 2007-02-15 16:38:06 +01:00
Denis Grelich
d16d6e7cc5 Replacing wmiir xwrite with wmiir echo again. 2007-02-15 16:20:45 +01:00
Kris Maglione
293e90cc00 Changed wmiir echo to wmiir xwrite, removed xwrite() from rc/status, and cleaned up wmiir script 2007-02-13 00:41:18 -05:00
Kris Maglione
8f913e6221 Added an experimental feature to notify users of views with urgent clients. 2007-02-12 23:32:00 -05:00
Kris Maglione
afa5c137c1 Replaced xwrite with wmiir echo 2007-02-11 23:46:15 -05:00
Kris Maglione
6480796f1e Add rehash action to update the programs list and cleanup wmiirc a bit 2007-02-10 22:04:13 -05:00
Kris Maglione
7c06252261 Get rid of 3d border affect of frames 2007-02-09 01:01:54 -05:00
Denis Grelich
d3466a7bdb don't grab MODKEY-f, since we don't use it at all 2007-02-07 07:34:29 +01:00
Kris Maglione
ecbfca77bf Quote tagsmenu against shell expansion 2007-02-06 11:38:00 -05:00
uriel
7b0b15bca6 Minimally sane colrules until the whole damned thing goes crashing down to hell where it belongs 2007-02-06 08:12:21 +01:00
Kris Maglione
16822b6419 Removed Mod-f from wmiirc, since it's long defunct 2007-02-06 01:31:37 -05:00
Kris Maglione
b49635f533 Ditto on previous commit 2007-02-05 06:46:50 -05:00
Kris Maglione
ebea6ee29b Fix the tagsmenu function. 2007-02-05 06:41:32 -05:00
Kris Maglione
0d9eb69741 Switch to sed -E in tagsmenu() to clean it up/fix a bug 2007-02-04 15:56:42 -05:00
Kris Maglione
cd1c1a1bd9 Fixed '==' in a test to '=' 2007-02-03 14:22:20 -05:00
Denis Grelich
71178b1daf some smaller fixes in the wmiirc 2007-02-02 23:57:40 +01:00
Denis Grelich
3346948826 tags and view names '.', '..' and '/' are now caught in wmiiwm 2007-01-04 02:22:07 +01:00
Denis Grelich
1c4a68d08c using | instead of , as delimiter in sed expressions because of problems with Sun's sed 2007-01-03 21:58:22 +01:00
Denis Grelich
f01aeb4f3f filtering out unfriendly characters when tagging; thanks Tino Benk! 2006-12-27 13:25:41 +01:00
Denis Grelich
74d3b6a4aa fixed some facts in the welcome message, adjusted the alignment to fit better into two columns 2006-12-24 22:41:13 +01:00
Denis Grelich
3638de51e0 applied Stefan Tibus' 12_wmii-3.5-3colors.patch, introducing a third colour triple, WMII_FOCUSCOLOR, which is now used for focused frames. 2006-12-24 15:52:00 +01:00
Denis Grelich
c529104e69 fixed links and some facts in the readme 2006-12-24 00:39:37 +01:00
Denis Grelich
fd731c3afa reintroduced wmiir as a wrapper to ixpc, adapted all scripts and manpages 2006-12-24 00:20:28 +01:00
Denis Grelich
2da6b4852a moved the bar back to the bottom 2006-12-21 14:26:09 +01:00
Denis Grelich
56cf818083 removed interfering quotes and fixed bug when a dmenu is cancelled without selection in wmiirc 2006-12-21 13:32:27 +01:00
arg
4477768a50 applied renamed dmenu[-1.8] command line options to rc/wmiirc 2006-12-19 11:42:56 +01:00
Denis Grelich
28b9e1ff75 partially applied Stefan Tibus' 11_wmii-3.5-sti.patch, which cleans up the wmiirc a bit 2006-12-18 11:50:18 +01:00
arg
2abeb7b97b fixed default fonst 2006-12-13 11:26:38 +01:00
Denis Grelich
f2aaf998c7 Reverting config customizations pulled in by the last patch. 2006-11-03 23:00:23 +01:00
arg
6960a87110 applied Stefan Tibus' sun cc patches 2006-10-30 09:54:22 +01:00
Anselm R. Garbe
9bbd78c345 made wmii scripts work together with new libixp 2006-10-12 16:22:28 +02:00
Anselm R. Garbe
b71f8a147e removed wmiipsel/wmiisetsid occurences 2006-10-10 09:25:42 +02:00
Anselm R. Garbe
ce24ba2d1e small fix and simplification 2006-09-27 18:00:41 +02:00
Anselm R. Garbe
6396abfd25 removed wmiimenu, added dmenu dependence 2006-09-27 17:40:39 +02:00
Kris Maglione
87b608a29d IFS is no longer necessary in setting up the bar due to the current 'read' hack 2006-07-08 13:06:57 -04:00
Kris Maglione
b71912e999 sh sucks. Added more quoting to wmiirc. 2006-06-29 18:03:35 -04:00
Kris Maglione
63bc535951 Fixed more quoting issues 2006-06-29 16:00:07 -04:00
Kris Maglione
73be9ecfca Added a bunch of "s to wmiirc 2006-06-29 15:54:58 -04:00
Kris Maglione
c7f08a58cd Moved permissions checking code and wmiirc execution into wmiiwm 2006-06-27 05:44:54 -04:00
Kris Maglione
c422de344e Fix column drawing on mode switch and in stacking mode (forgot to commit yesterday) 2006-06-26 15:45:59 -04:00
Kris Maglione
76be3694d0 Restructured tag/view/frame handling 2006-06-25 09:16:03 -04:00
Kris Maglione
d0dcedf937 Removed spurious '|| exit 2' from wmiirc thanks to Maxi 2006-06-24 07:58:38 -04:00
Kris Maglione
d1428091e2 Replaced the security check from the last commit. Moved the proglist to $WMII_NS_DIR and got rid of mktemp. 2006-06-24 06:45:27 -04:00
Kris Maglione
5af82396c4 Replaced OLDPATH; applied Armando Di Cian's permissions patch to startup script; minor changes elsewhere 2006-06-24 05:15:41 -04:00
Georg Neis
bf2302bb0d wmiirc: fix CreateTag handling 2006-06-24 00:35:30 +02:00
Kris Maglione
9ada8edddc Fixed drawing of the bar background. Fixed use of wmiir create in line with prev. commit. 2006-06-23 03:44:59 -04:00
Kris Maglione
20955d76c6 Write tags to _WIN_TAGS property to make restarts less painful. Change *BarClick args order (bar names can have spaces) 2006-06-23 00:37:59 -04:00
Kris Maglione
b12e5ff2cc Fixed IFS in wmiirc 2006-06-22 01:48:19 -04:00
Kris Maglione
ec4dc189f4 Added LeftBarClick and RightBarClick events. Fixed bar initialization (this is ugly) 2006-06-21 17:12:02 -04:00
Kris Maglione
645f3102df Removed /border from wmiirc too 2006-06-21 14:48:39 -04:00
Kris Maglione
9322b3cfd4 Grabmod can now be more than one key (don't count on this staying yet) 2006-06-20 22:52:40 -04:00
Kris Maglione
6965c4aede Replaced font, selcolors, normcolors, and grabmod with commands in /ctl 2006-06-20 22:06:02 -04:00
Kris Maglione
6ca06ed97a Temporarilly re-added fs support for colmodes 2006-06-20 19:43:20 -04:00
Kris Maglione
7927c686d6 Removed /client/sel/index and /tag/sel/name; replaced with reading ctl 2006-06-20 06:12:49 -04:00
Anselm R. Garbe
8deb1bf624 small wmiirc fixes 2006-06-20 10:24:58 +02:00
Kris Maglione
c3fbf87624 Bunch of fixes; don't remember, read the diff. Thanks to ality for the fix in wmiirc 2006-06-19 23:58:20 -04:00
Kris Maglione
4a579d62bc Add /tag/sel/name; make sure all tags have bars at wmiirc startup 2006-06-19 22:40:45 -04:00
Kris Maglione
05856824c1 Fixed event queueing, added drawing of rbar 2006-06-19 22:13:29 -04:00
Kris Maglione
68e5ceae90 Made lbar functional 2006-06-19 18:25:49 -04:00
Anselm R. Garbe
8b8b9ada47 implemented select command for /tag/X/ctl 2006-06-19 16:05:02 +02:00
Anselm R. Garbe
61e4d38f66 implemented horizontal selection 2006-06-19 13:18:09 +02:00
Anselm R. Garbe
8bbeb9a970 adapted wmiirc stuff to work with current fs, however most commands don't work atm, because message_client() is missing/or not finished yet, and because message_view() is broken 2006-06-19 09:57:16 +02:00
Anselm R. Garbe
fd122b4a05 fixed colorization of new labels in the bar 2006-06-07 19:19:16 +02:00
garbeam
e6c7a91f50 merged 2006-06-07 11:33:10 +02:00
Anselm R. Garbe
322a714dc2 small fix of wmiirc 2006-06-07 11:25:12 +02:00
Kris Maglione
865ac2aef1 Minor change to retagging with wmiimenu to prevent a race reported by DenisG 2006-06-06 23:44:12 -04:00
Anselm R. Garbe
83f184dad7 applied Kris' idea to drop .0 suffixes in WMII_ADDRESS, removed internal labels, introduced several *Tag events, needs polishing 2006-06-06 21:10:30 +02:00
Anselm R. Garbe
afda47cbf9 restoring wmiirc, using 50/50 instead of 60/40 by default 2006-06-06 17:35:29 +02:00
Anselm R. Garbe
25a7fc9216 /def/colrule now uses 30+40+20+10 syntax (num of + + 1 means num of columns, the sum must be 100, which is used for new columns), renamed /def/rules into /def/tagrules, renamed /def/ncol into /def/colrules 2006-05-31 19:48:44 +02:00
Anselm R. Garbe
eeb62d2041 allowing size hints for /def/ncol (next push will rename /def/rules into /def/tagrules and /def/ncol into /def/colrules) 2006-05-31 19:13:21 +02:00
Anselm R. Garbe
4904a19aae added /def/ncol stuff, see wmiirc for an initial syntax proposal 2006-05-31 09:51:40 +02:00
Georg Neis
6af8aeed4a wmiirc: use OLD_PATH for creating the program list 2006-05-30 22:27:11 +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
garbeam
19f68ed366 merged 2006-05-30 11:00:59 +02:00
Anselm R. Garbe
226b459fd3 same as in wmii-3, /def/grabmod should be Mod1 to prevent combo-MODKEY problems 2006-05-30 11:00:03 +02:00
Sander van Dijk
934d1ddc4e PATH="$OLD_PATH" for xterm too (same as progmenu) 2006-05-29 19:23:14 +00:00
Georg Neis
3463666df2 resurrected OLD_PATH 2006-05-29 11:08:21 +02:00
Georg Neis
b04617dae9 wmiirc cleanups 2006-05-28 15:01:33 +02:00
Georg Neis
cf7154d6f3 exit if mktemp fails 2006-05-28 14:15:10 +02:00
Georg Neis
65a2497b1f let the shell ignore special chars in tag names 2006-05-26 16:43:52 +02:00
Anselm R. Garbe
1e4b2bb061 removed crappy blitz_strtorect, added move/size commands for client ctl, cleaned up liblitz/geometry somewhat 2006-05-26 14:16:19 +02:00
Anselm R. Garbe
4189258700 using unpredictable wmii address and wmiirc' proglist due to mktemp (prevents some security concerns) 2006-05-25 13:17:17 +02:00
Anselm R. Garbe
b285154d7f small fix 2006-05-24 18:15:55 +02:00
Anselm R. Garbe
156746344e removed /tags, removed /<view>, using /tag/<view>/ instead with /tag/sel instead of /view/ 2006-05-24 18:12:55 +02:00
Anselm R. Garbe
1f0f42420c added newcol action for client ctls (takes next/prev argument), I didn't changed move 2006-05-21 19:21:37 +02:00
Anselm R. Garbe
1ee2585062 removed focuscolors again (unnecessary bloat) 2006-05-19 20:14:06 +02:00
Anselm R. Garbe
6c39e782da improved default colors 2006-05-19 18:20:26 +02:00
Anselm R. Garbe
7324531047 added focuscolors (three color tuples now, which indicate focus and selection state) 2006-05-19 18:14:31 +02:00
Anselm R. Garbe
fa43df527d removed swapping 2006-05-19 17:38:45 +02:00