Commit graph

189 commits

Author SHA1 Message Date
Marco Peereboom
81e0c66a1e One more item done 2009-01-28 00:21:39 +00:00
Marco Peereboom
134554a043 Prevent acessing pointer that has been freed.
Still one weird focus bug leftover where when the last window in a ws gets
destroyed and if there is a window on the alternate screen it gets focus.
2009-01-27 21:30:18 +00:00
Marco Peereboom
ae6a9b20ce Add cycle through regions; aka move pointer.
Fix bug where windows from another ws remained mapped after restart.
Fix focus bug where sometimes the pointer was NULL.
2009-01-27 19:56:47 +00:00
Marco Peereboom
e4c8351e9b Add screenshot_app to conf 2009-01-27 16:18:10 +00:00
Marco Peereboom
f2e6504a1d Add tags 2009-01-27 16:16:20 +00:00
Marco Peereboom
32b3198dcd Do screenshots and add example script for it. 2009-01-27 07:36:49 +00:00
Marco Peereboom
ececcd0a8e Bad mcbride leaking memory and char * in the wrong spot. 2009-01-27 06:50:57 +00:00
Marco Peereboom
b7dbe34497 Move int back where it belongs. 2009-01-25 21:48:06 +00:00
Ryan McBride
fa06bf8d4b Adjust window sizes to match height and width increment hints.
Minimizes wasted space on xterms.
2009-01-25 17:56:01 +00:00
Ryan McBride
5bdf52a032 Support placing the master area on the opposite side. 2009-01-25 10:54:16 +00:00
Ryan McBride
f92c9ed072 Replace the vertical_stack() and horizontal_stack() logic with one
function that rotates appropriately.
2009-01-25 10:43:20 +00:00
Marco Peereboom
69c1b830d4 Remove screenshot since we have it; just not as pretty as one would like. 2009-01-25 04:12:11 +00:00
Marco Peereboom
8ec3e8dc5f Update pics 2009-01-25 04:09:01 +00:00
Marco Peereboom
eace90c56b color *sigh* 2009-01-25 03:36:15 +00:00
Marco Peereboom
f7aab46811 Update 2009-01-25 03:34:51 +00:00
Marco Peereboom
b9f59efc8d MapRaised in max_stack to bring window into focus. 2009-01-25 03:12:34 +00:00
Marco Peereboom
cf5d6ff997 Add screenshot 2009-01-25 01:50:27 +00:00
Marco Peereboom
2a214e3e6c Add initial screenshot support 2009-01-25 01:46:44 +00:00
Marco Peereboom
bd8b974f02 Move html into own dir 2009-01-24 23:52:28 +00:00
Marco Peereboom
0f0772ae65 Move delay back to 59 2009-01-24 23:51:08 +00:00
Marco Peereboom
1ff4830420 Remove files for real 2009-01-24 23:49:58 +00:00
Marco Peereboom
a41ad57261 Remove html so that we can move it to it's own dir. 2009-01-24 23:38:36 +00:00
Ryan McBride
6d08df4744 Add support for passing variables up to X11 via window properties; done by
hooking XCreateWindow and friends via LD_PRELOAD. Used now to make sure that
windows come up in the workspace they were spawn()'d from, but more soon.

Code to do the nasty borrowed with thanks from Enlightenment.
2009-01-24 17:57:26 +00:00
Marco Peereboom
ed1dbfa144 Remove stray SWM_DEBUG 2009-01-23 22:51:39 +00:00
Marco Peereboom
7088da1fd1 Add bar delay 2009-01-23 22:50:38 +00:00
Marco Peereboom
369ed130d7 New 2009-01-23 22:11:06 +00:00
Marco Peereboom
0d81c3ac74 Better man 2009-01-23 22:04:58 +00:00
Ryan McBride
265cac27a6 Add commented-out support for printing CPU stats to the bar. 2009-01-23 08:51:56 +00:00
Ryan McBride
87ba936ecf I want to know if I'm on AC, might as well make it pretty while we're here.
Also try to make it shut up on systems without battery.
2009-01-23 08:30:03 +00:00
Marco Peereboom
2ad4e1c6a2 Add man in html too 2009-01-23 04:20:34 +00:00
Marco Peereboom
9ad2929d80 Make man 2009-01-23 04:14:40 +00:00
Marco Peereboom
28ea6d7184 Add rudimentary man with the key bindings. 2009-01-23 04:05:04 +00:00
Marco Peereboom
c9e5942c47 Use full path 2009-01-23 02:38:30 +00:00
Ryan McBride
7ab5dbd429 Remember which workspace we assign windows to via window properties. 2009-01-23 01:01:48 +00:00
Marco Peereboom
d3af2be74b Add linux goo; from NicM 2009-01-22 23:12:27 +00:00
Marco Peereboom
238662f027 Fix segfault on linux; from nicm 2009-01-22 23:06:45 +00:00
Marco Peereboom
6ca5cd2ca7 No idea how this new = 1 bug snuck in but make it 0 so that windows draw
properly.  Since I am still hounding a positioning bug with respect to
dialog windows leave some shitty debug in here albeit disabled.
2009-01-22 22:57:30 +00:00
Marco Peereboom
baebde8cfd remove some stray carriage returns 2009-01-22 18:29:46 +00:00
Marco Peereboom
5f373c8f32 update every 59 seconds instead of 1 2009-01-22 18:16:35 +00:00
Marco Peereboom
b99ba3ea1e Done with one more item 2009-01-22 18:13:43 +00:00
Marco Peereboom
e8cdd58b88 Add kill window fro pirofti 2009-01-22 18:11:52 +00:00
Marco Peereboom
ea47115e91 *sigh* stupid debug still enabled 2009-01-22 18:04:02 +00:00
Marco Peereboom
7b80ce46c2 Fix first of 2 new mecbride bugs; colors can be read from conf file again 2009-01-22 18:00:16 +00:00
Marco Peereboom
7288f47b93 Add baraction script for batter and stuff.
bad mcbride broke colors in config file; need to go fix that now.
2009-01-22 17:50:16 +00:00
Ryan McBride
e5cdfa8841 Set colors and font for dmenu based on bar; make these independently
configurable later.

To do this, we store color names as well as values; This will help us later
to suppport dynamic screen changes.  Also, clean up the config parser by
storing colors in an indexed array so they can be set with a generic function.
2009-01-22 06:21:23 +00:00
Marco Peereboom
15aa432b8e geez, wonder why this never bombed; zero it man! 2009-01-22 03:58:20 +00:00
Marco Peereboom
6f857fcdf7 Teh mouze 2009-01-22 03:48:17 +00:00
Marco Peereboom
c83c5792fd Add mouse button actions. One example handler that does nothing and we
have copy and paste and click-to-focus
2009-01-22 03:46:13 +00:00
Marco Peereboom
915c4e75f6 We want screen shots 2009-01-22 01:45:22 +00:00
Marco Peereboom
51454959fe Some items were done 2009-01-22 01:44:32 +00:00