Commit Graph

1334 Commits

Author SHA1 Message Date
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
Julien Danjou c78f77543f rename opts to awesome_opts 2008-01-31 11:45:10 +01:00
Julien Danjou 100d3437fc remove awesome-check 2008-01-31 10:43:31 +01:00
Julien Danjou f2e64adb59 remove awesome-check, move that to an -k option to awesome 2008-01-31 10:21:03 +01:00
Julien Danjou 0c8f75b26b handle CFG_SUCCESS case 2008-01-30 14:43:38 +01:00
Julien Danjou eb8f4ea740 change prev_selected 2008-01-30 14:08:58 +01:00
Julien Danjou 10f9106e4e add new awesome-check program to check configuration file syntax 2008-01-30 14:07:14 +01:00
Julien Danjou 606d157e31 rename some screens function 2008-01-30 09:36:52 +01:00
Julien Danjou c02760531c change define 2008-01-30 09:36:52 +01:00
Hans Ulrich Niedermann 60f281e5da Use proper prog name 'awesome-message' in messages
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-30 09:23:30 +01:00
Hans Ulrich Niedermann 28e6abcb34 Use getopt_long properly
Get rid of redundant code and execution time.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-30 09:22:57 +01:00
Hans Ulrich Niedermann 6dd1c20816 Honor GIT_DIR setting when determining version
If GIT_DIR is not set, fall back to top_srcdir/.git

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-30 09:22:45 +01:00
Hans Ulrich Niedermann e1d3b007a7 Terser version update message
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-29 13:26:40 +01:00
Hans Ulrich Niedermann 33cf249854 Add --(help|version) to awesome-message
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-29 13:26:24 +01:00
Julien Danjou ab8d95f13d rework include 2008-01-29 11:27:14 +01:00
Julien Danjou c3aeedfa24 better use of the space in smart placement 2008-01-29 09:13:35 +01:00
Julien Danjou 31b5b709f6 remove unused function 2008-01-29 08:56:23 +01:00
Julien Danjou 42d4686282 change padding_left to padding for progressbar 2008-01-29 08:44:16 +01:00
Julien Danjou d9298f6edb rename get_current_tags to tags_get_current() 2008-01-29 08:31:13 +01:00
Julien Danjou 3d66b0c7d0 move define 2008-01-29 08:23:20 +01:00
Julien Danjou ee1214846e rename some client functions 2008-01-29 08:21:05 +01:00
Julien Danjou 9c7bbad840 respect border widths 2008-01-28 20:16:54 +01:00
Julien Danjou ea57fd8fc9 add support for smart windows placement in floating layout 2008-01-28 18:30:23 +01:00