Commit Graph

268 Commits

Author SHA1 Message Date
Julien Danjou b2e004b453 add scratch window support 2008-02-06 09:06:43 +01:00
Julien Danjou befcf19ea2 introduce fuzzy logic: fix problem with not_master 2008-02-05 17:31:47 +01:00
Julien Danjou 06904cfcaa Revert "remove opacity_unfocused" 2008-02-04 14:54:50 +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 f2e64adb59 remove awesome-check, move that to an -k option to awesome 2008-01-31 10:21:03 +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 ab8d95f13d rework include 2008-01-29 11:27:14 +01:00
Julien Danjou 42d4686282 change padding_left to padding for progressbar 2008-01-29 08:44:16 +01:00
Julien Danjou b6642e45c8 rename initxcolor to draw_color_new() and move it to draw.c 2008-01-27 18:56:37 +01:00
Julien Danjou f9c9bc53c6 change default font 2008-01-26 11:52:36 +01:00
Julien Danjou 56e84597eb set floppy_raise_focus to false by default 2008-01-26 09:27:10 +01:00
MATSUU Takuto 363cefefee transparency rule support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 23:48:24 +01:00
Julien Danjou 8fc3d6b584 remove focus_move_pointer option 2008-01-25 23:28:55 +01:00
Julien Danjou e32070cffb add sloppy_focus_raise option 2008-01-25 23:27:32 +01:00
Julien Danjou 4e677d242c remove allow_lower_float option 2008-01-25 23:21:09 +01:00
marco candrian c73e0bd72e Additional graph widget options
There are the new styles:

bottom (fill the graph to the bottom of widget-square)
top (fill the graph to the top of the widget-square
line (just print a line representing the values)

E.g when there are multiple 'bottom'-style graphs, it will print the larger
part on top of the smaller.  When two values are the same, it will (actually)
just print it with one color (something to improve maybe).

bottom-style overdraws top-style, and line-style overdraws top and bottom style
(= gets drawn at the end)

An example configuration:

    graph gr_cpu
    {
      data { scale = false max = 100 fg = "#669966" style = bottom} # total
      data { scale = false max = 100 fg = "#cc9966" style = bottom} # user
      data { scale = false max = 100 fg = "#ffffff" style = bottom} # nice-processes
      width = 50
      height = "0.80"
      bg = "#000000"
      bordercolor = "#669966"
    }

With the 'line' style, there is a bug (draws sometimes over the rectangle).
I checked the values and didn't find any value what actually should do that.
So I have no idea why that is... needs a recheck, because it's not really nice..
Happens especially when scale=true and after a rescaling takes place.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 22:53:20 +01:00
Julien Danjou 5ade4d63e0 remove opacity_unfocused
this is crap
2008-01-24 23:45:04 +01:00
Julien Danjou 240ee786d1 rename nscreens to nscreen 2008-01-24 13:48:49 +01:00
Julien Danjou e84d614377 replace some code using switch and warn() 2008-01-24 10:47:01 +01:00
Julien Danjou c1569eedf4 store simple window geometry 2008-01-23 16:05:52 +01:00
Julien Danjou 668702b777 move list.h and util.[ch] to common/ 2008-01-21 18:14:59 +01:00
Julien Danjou db3931c549 add support for keycode instead of only string 2008-01-21 16:31:15 +01:00
Julien Danjou 2592d3032c add more functions to manipulate tags 2008-01-21 16:31:15 +01:00
Julien Danjou 4d117da0ec preinit in config.c 2008-01-21 16:31:14 +01:00
Julien Danjou b5e5878c2f push 2008-01-21 16:31:14 +01:00
Julien Danjou 9f28582820 add Display as arg 2008-01-21 16:31:14 +01:00
Julien Danjou 0b5e3e7cd1 split config.h, and move DO_SLIST() 2008-01-21 16:31:14 +01:00
Julien Danjou 3c960865aa use list functions for Layout 2008-01-21 16:31:14 +01:00
Julien Danjou 99e54ef971 use list functions for Tag 2008-01-21 16:31:13 +01:00
Julien Danjou 56d7e1654a use list functions for statusbar 2008-01-21 16:31:13 +01:00
Julien Danjou 6bd8c670e5 rename LayoutsList to LayoutList 2008-01-21 16:31:13 +01:00
Julien Danjou a823470fd0 use list function for Widget 2008-01-21 16:31:13 +01:00
Julien Danjou 19887a3201 use list functions for Button 2008-01-21 16:31:13 +01:00
Julien Danjou b08c343b65 use list functions for Key 2008-01-21 16:31:13 +01:00
Julien Danjou 66507b0401 use list functions for rules 2008-01-21 16:31:13 +01:00
Julien Danjou e6c0449009 rename NameFuncLink to name_func_list_t 2008-01-21 16:31:13 +01:00
Julien Danjou 0c3ac0468a add support for Button6 and Button7 2008-01-16 20:53:46 +01:00
Julien Danjou f77dcc056d missing CFG_END 2008-01-16 12:19:29 +01:00
Nikos Ntarmos 956ce4ab8e add nscreen var to store screen count
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-11 13:39:48 +01:00
Julien Danjou 34309baa60 change Layout linked list to by cycling 2008-01-11 10:32:44 +01:00
Julien Danjou c2ca948b39 add new_get_focus option 2008-01-07 18:54:45 +01:00
Julien Danjou 8877aae6c9 add show_all option to tasklist 2008-01-07 11:20:24 +01:00
Nikos Ntarmos 348440bc8e autoscale graph widget
FS#26
2008-01-07 09:28:07 +01:00
marco candrian c0ff2c6088 padding_left defaults to 0. Easier for x/y users. 2008-01-07 09:24:42 +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 81afe81b4e force windows to tile mode 2008-01-07 00:28:27 +01:00
Julien Danjou 4fbce766bf add auto option to float in rules 2008-01-06 22:21:23 +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 5770b56af0 allow negativ coords 2008-01-05 13:01:40 +01:00