Commit Graph

1313 Commits

Author SHA1 Message Date
Julien Danjou fb07026639 add a_strncat() 2008-01-07 15:48:04 +01:00
Rico Schiekel 079569e6b4 tell textbox widget colors
usage is simple:
,----
| echo "<screen> widget_tell <mytextbox> #[fg_color] #[bg_color] <text>" | awesome-client
| e.g.
| echo "0 widget_tell t normal behaviour" | awesome-client
| echo "0 widget_tell t #ff0000 red text on default background" | awesome-client
| echo "0 widget_tell t #ffffff #ff0000 white text on red background" | awesome-client
| ...
`----
the fg and bg colors are optional. if not given, the last state is
used.
2008-01-07 15:21:50 +01:00
Julien Danjou 44e6edf4d1 add comment about XGetWA 2008-01-07 14:11:14 +01:00
Julien Danjou a1205efc20 move toggle floating function to layout.c and fix problem when moving with mouse tiled windows 2008-01-07 13:38:26 +01:00
Julien Danjou 8877aae6c9 add show_all option to tasklist 2008-01-07 11:20:24 +01:00
Nikos Ntarmos db0be0ac57 partial support for mouse bindings on root window when window displayed 2008-01-07 10:06:04 +01:00
Nikos Ntarmos 32163d80e1 Clipping instead of ignoring for progressbar widget
FS#25
2008-01-07 09:29:11 +01:00
Nikos Ntarmos 348440bc8e autoscale graph widget
FS#26
2008-01-07 09:28:07 +01:00
marco candrian 127a871367 uicb 'statusbar_toggle' allows a statusbar-identifier (manpage update) 2008-01-07 09:24:56 +01:00
marco candrian c0ff2c6088 padding_left defaults to 0. Easier for x/y users. 2008-01-07 09:24:42 +01:00
marco candrian 23fc37a4a6 not needed i_tmp variable removed and using h_index instead 2008-01-07 09:24:31 +01:00
marco candrian 40dc6eab21 rounding on progressbar fixed 2008-01-07 09:24:21 +01:00
marco candrian 81566ec821 documentation for the graph-widget
also: lpadding to padding_left
and bcolor to bordercolor on the progressbar
2008-01-07 09:24:04 +01:00
Julien Danjou 58c8912e33 Revert "force windows to tile mode" - it's useful afterall to not consider "no value" as "false"
This reverts commit 81afe81b4e.

Conflicts:

	event.c
2008-01-07 00:36:45 +01:00
Julien Danjou 7fe4468254 last fix did not work as expected 2008-01-07 00:31:19 +01:00
Julien Danjou 81afe81b4e force windows to tile mode 2008-01-07 00:28:27 +01:00
Julien Danjou 7dd8e9dd5f try to fix SDL/OpenGL apps 2008-01-07 00:17:07 +01:00
Julien Danjou 1381989651 restack on max 2008-01-06 23:37:53 +01:00
Julien Danjou 29a5cda54f fix some weird conditions with fullscreen/max/arrange 2008-01-06 23:27:47 +01:00
Julien Danjou 9fa01e34de rename textwidth to draw_textwidth 2008-01-06 22:57:23 +01:00
Julien Danjou bdfb84f3b5 remove useless AWESOMEPROPS_ATOM() define 2008-01-06 22:55:46 +01:00
Julien Danjou a5c86280b3 remove Display arg of xgettextprop() 2008-01-06 22:53:40 +01:00
Julien Danjou d16b11bb30 cosmetic 2008-01-06 22:46:59 +01:00
Julien Danjou 845ea9dcc3 rework uicb, cosmetic, use a_str functions 2008-01-06 22:42:06 +01:00
Julien Danjou 7faa483e89 add support for _NET_WM_WINDOW_TYPE_DIALOG 2008-01-06 22:28:27 +01:00
Julien Danjou b4ff03c27e fix rearrange 2008-01-06 22:28:15 +01:00
Julien Danjou 4fbce766bf add auto option to float in rules 2008-01-06 22:21:23 +01:00
Julien Danjou 7ad579898f simplify unmanage code 2008-01-06 21:57:53 +01:00
Julien Danjou cc871d3391 remove cleanup stuff, we don't need them, and they are not complete 2008-01-06 21:50:32 +01:00
Julien Danjou 3badaee8c7 remove unused variable 2008-01-06 21:50:03 +01:00
Julien Danjou d2a682c2a0 add manpages to .gitignore 2008-01-06 21:47:43 +01:00
Julien Danjou dd5945cfea fix move to screen with floating/non-floating win 2008-01-06 21:43:19 +01:00
Julien Danjou d99660e0b8 apply rules after configurerequest 2008-01-06 21:28:49 +01:00
marco candrian 37da7d0d01 graph widget added
example config:

graph gr_cpu {
  width = 80
  height = "0.8"
  fg = "#336633"
  bg = "#000000"
  bordercolor = "#669966"
  padding_left = 0
  mouse = {...}
  x = ...
  y = ...
}

Looks like here: http://www.calmar.ws/tmp/112-Sun-screen.png

I renamed lpadding to padding_left, and bcolor to bordercolor
also on the progressbar widget.

The awesomerc page would still be to write, when this patch will get accepted.

Hints are always welcomed.
2008-01-06 20:51:40 +01:00
Julien Danjou a30579b32e respect config for resizing 2008-01-06 20:43:13 +01:00
Julien Danjou af708d2fbc Rewrite everything about client geoemtry, resize, etc. 2008-01-06 20:36:39 +01:00
Julien Danjou 633d7c07ee add get_current_layout() to get current layout :-) 2008-01-06 11:35:51 +01:00
Julien Danjou 7983a3196d simplify window_configure() args 2008-01-05 20:25:55 +01:00
Julien Danjou 4d756f84c3 send window_configure on configrequest for floating 2008-01-05 20:23:30 +01:00
Hans Ulrich Niedermann 9f1f37af20 Ship icons in dist tarball 2008-01-05 20:21:10 +01:00
Julien Danjou 70a3114dba use Area as arg for client_resize 2008-01-05 20:19:59 +01:00
Julien Danjou 163acc8624 use Area to store window geoms 2008-01-05 19:38:50 +01:00
Julien Danjou 5a66ffb2e7 remove flags attribute 2008-01-05 18:57:33 +01:00
Julien Danjou a8a9b7d925 simplify client_resize 2008-01-05 18:54:17 +01:00
Julien Danjou e833ab06d6 Revert "honor configrequest"
This reverts commit 1eebcd74cd.
2008-01-05 18:31:01 +01:00
Julien Danjou 1eebcd74cd honor configrequest 2008-01-05 18:05:27 +01:00
Julien Danjou e991be1401 add various autostuff to ignore 2008-01-05 17:51:06 +01:00
Julien Danjou fd456907c2 install layouts icons 2008-01-05 17:32:51 +01:00
marco candrian f33ce43af0 adding option 'x' and 'y' and general cleanup
' = ' looks (probably) better compared to no whitespace
I ordered items in a more human-like manner instead of an alpha order
2008-01-05 13:27:19 +01:00
Julien Danjou 5770b56af0 allow negativ coords 2008-01-05 13:01:40 +01:00