Commit Graph

1406 Commits

Author SHA1 Message Date
Julien Danjou 321a481dce return good pointer and free good pointer 2008-02-11 09:21:09 +01:00
Julien Danjou fbce780003 check iso2utf8 return 2008-02-11 08:49:10 +01:00
Julien Danjou 72d68b13a3 change focus raising 2008-02-09 23:12:40 +01:00
Julien Danjou 2fad66e23f focus on maximize() 2008-02-09 22:42:21 +01:00
Julien Danjou 44a0a1ee4e make draw_text multibyte UTF-8 aware 2008-02-09 16:23:16 +01:00
Julien Danjou 2eeeeaf7e4 drop error about killing client already killed 2008-02-08 16:06:01 +01:00
Julien Danjou a4d4fedfac fix wrong coords computing with left/right statusbar click 2008-02-08 15:35:09 +01:00
Julien Danjou 85e5baa4b1 focus scratch window when it appears, and don't select it for focusing in history 2008-02-08 15:08:42 +01:00
Nathan LaFreniere 1d57d7b327 switch KeySym to KeyCode 2008-02-08 14:35:32 +01:00
Julien Danjou ecbdcd5bc9 use PROGNAME 2008-02-08 11:51:40 +01:00
Nathan LaFreniere bf2afc9489 add delay option to awesome-message 2008-02-08 11:51:12 +01:00
Julien Danjou 0bfa880b0f add align option to widget to specify their alignment 2008-02-08 10:59:55 +01:00
Julien Danjou 4970e57048 set window name to awesome-message 2008-02-08 10:18:02 +01:00
Julien Danjou 91f80b251c rename align to text_align 2008-02-08 09:58:36 +01:00
Julien Danjou 170ed9882a rename netwmicon to focusicon 2008-02-06 20:13:41 +01:00
Julien Danjou ffbcea0084 remove focustitle widget 2008-02-06 20:05:14 +01:00
Julien Danjou 528ff7316c tasklist can now show focused only client 2008-02-06 20:03:18 +01:00
Julien Danjou cdb85ad098 stop raising like dumb 2008-02-06 19:48:26 +01:00
Julien Danjou b2e004b453 add scratch window support 2008-02-06 09:06:43 +01:00
marco candrian 8567009d22 rename of fg_middle/fg_half to fg_center and fg_full to fg_end
A hint from maxauthority. The names would be unified now in the progressbar
and the graph widget. And (hopefully) it's easier to guess what they mean now.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-06 07:32:22 +01:00
Julien Danjou 7565107205 fix declaration order and assign values 2008-02-05 17:34:00 +01:00
Julien Danjou befcf19ea2 introduce fuzzy logic: fix problem with not_master 2008-02-05 17:31:47 +01:00
Julien Danjou 0e890697ac fix uninit warning 2008-02-05 15:40:16 +01:00
marco candrian c9effe5877 awesomerc(1): fg_middle + fg_end color options for the graph widget added
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-05 15:38:04 +01:00
marco candrian ff753f1f14 Adds fg_middle + fg_end color option for the graph widget
Draws a color-gradient beginning from fg and
if either fg_middle or fg_end is set, through them.

example config:

    graph gr_cpu
    {
      data { scale = false max = 100  style = bottom
             fg = "#cc6666" fg_half = "#cc6666" fg_full = "#998888"}
      ...
      ...
    }

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-05 15:37:21 +01:00
Pasini Matthieu b7e379c2d0 tag_setncol and tag_setnmaster shouldn't go over the numbers of clients
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-05 14:21:20 +01:00
marco candrian a28f931d08 awesomerc(1) update for progressbar widget option fg_half
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-05 12:04:03 +01:00
marco candrian 09e60cb95e adds fg_half as an option to the progressbar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-05 07:16:12 +01:00
Julien Danjou a26b40fa28 fix segfault in client_zoom 2008-02-05 07:15:23 +01:00
Julien Danjou 06904cfcaa Revert "remove opacity_unfocused" 2008-02-04 14:54:50 +01:00
Julien Danjou b6a62e47ea add --check and --config, better usage printing 2008-02-04 14:48:44 +01:00
Julien Danjou 35b4005b7a unban() all clients before execing or quitting awesome 2008-02-04 14:43:20 +01:00
Julien Danjou 105f89a58b fix was_selected tag attribute handling 2008-02-04 14:32:06 +01:00
Julien Danjou 2ad8e005ad readd some code to check where the mouse is on tag switching 2008-02-04 14:16:14 +01:00
Julien Danjou 1b4a1e7c9e convert text to draw to UTF-8 2008-02-04 13:28:20 +01:00
marco candrian 9fc7d714c2 awesomerc.1 update: fg_full for the progressbar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-04 11:17:04 +01:00
marco candrian b024b0c0cf draw_rectangle_gradient() for the progressbar widget; + fg_full option
Adds an optional additional foreground color option to a bar: fg_full = <color>

A value of 0 represents the fg-color, and a value of 100 (a full graph) the
fg_full-color.

Example:

progressbar xy
{
  bar { fg = "#111155" fg_full = "#3333cc"  bg = "#000000" bordercolor = "#4444cc"}
  ....
}

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-04 11:16:30 +01:00
Julien Danjou 91d6a11fd3 add UPGRADE to dist 2008-02-02 18:13:55 +01:00
Matthieu Pasini 49cda1814e modkey should not be required when not needed in key definition
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-02 09:33:14 +01:00
Julien Danjou 520d59e0df simply ignore XSetInputFocus errors 2008-02-01 14:41:13 +01:00
Julien Danjou a4a7433928 not size, position 2008-02-01 11:30:39 +01:00
Julien Danjou cbf85c1902 prioritize UnmapEvent-s 2008-02-01 10:52:08 +01:00
Julien Danjou 4ad1f8a54a don't compute position if program or user specified ones 2008-02-01 10:42:16 +01:00
marco candrian 8d3c24e03e fix for cairo_arc
Without a new (sub)path, it joined the new circle to the old reference point,
what happend to be at the end of the title-text - therefore the line to it with
cairo_stroke()

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-01 09:21:24 +01:00
marco candrian be0779d0fa graph widget adopted to the latest statusbar changes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-31 20:43:42 +01:00
Julien Danjou 335334225d fix option parsing 2008-01-31 20:41:48 +01:00
Hans Ulrich Niedermann c4345f1be4 Use getopt_long() in awesome
Simplify getopt_long usage in awesome-message.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-31 18:34:59 +01:00
Julien Danjou a28876b5ce reuse cairo context stuff 2008-01-31 18:18:15 +01:00
Julien Danjou 395b39de78 awesome-run use awesome config file 2008-01-31 17:32:05 +01:00
Julien Danjou 4b412d86ff split out config stuff 2008-01-31 16:34:00 +01:00