Commit Graph

1544 Commits

Author SHA1 Message Date
Julien Danjou 0bde5c9e29 Move some screen functions from screen.c to new common/xscreen.c 2008-03-23 15:52:17 +01:00
Julien Danjou 5f26ab448c Free the previously opened font if changing it via widget_tell in textbox 2008-03-23 15:52:17 +01:00
Chris Ciulla 77827ee364 Add a simple progress bar example
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:17 +01:00
calmar 64afb9b840 awesomerc.5.txt with Kai Grossjohann's improved shell-script
+ making the AUTHOR's section more homogeneous.
+ some other minor corrections

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:17 +01:00
Julien Danjou 0cd969bfb9 Split screen_build_screen() into more generic code and type: screeninfos_new() 2008-03-23 15:52:17 +01:00
Julien Danjou 8db08ea43e [awesome-menu] Fix a problem with XK_Tab completion and with "." listing 2008-03-23 15:52:17 +01:00
Julien Danjou f3652aaca6 Add a pointer to SLIST struct to store previous element
This will make back cycling faster
2008-03-23 15:52:17 +01:00
Julien Danjou 28af9e7e61 Replace perror() with warn() 2008-03-23 15:52:17 +01:00
Chris Ciulla edc0c01f2b Add a "Simple Clock" example from the wiki in awesomerc manpage 2008-03-23 15:52:17 +01:00
Julien Danjou 6d5d2e68d6 [awesome-menu] Add a final / to directory names 2008-03-23 15:52:17 +01:00
Julien Danjou 6b06e6808a [awesome-menu] Add support for ~user path 2008-03-23 15:52:17 +01:00
Julien Danjou 8c901c8b1e Be more verbose about errors and warnings location
Print function name and line,
and also print a W: or E: in front of the warn/errors
2008-03-23 15:52:17 +01:00
Julien Danjou 33560c393d [awesome-menu] Check that we have enough width to draw our items 2008-03-23 15:52:17 +01:00
Julien Danjou 4a41a50a39 [awesome-menu] Better handling of selected item that are drawn in the end of the list 2008-03-23 15:52:17 +01:00
Julien Danjou e668bf8dc3 [awesome-menu] Fix problem with filling via stdin was overwritten 2008-03-23 15:52:17 +01:00
Julien Danjou e6b3aa92f5 [awesome-menu] Remove a bunch of useless keybindings and add support for ISO_Left_Tab 2008-03-23 15:52:17 +01:00
Julien Danjou f00008938f [awesome-menu] Fix wrong size in a_strcpy() 2008-03-23 15:52:17 +01:00
Julien Danjou 5b2e9c0139 [awesome-menu] Fix infinite loop on bad completion 2008-03-23 15:52:16 +01:00
Julien Danjou a5f0df0c95 [awesome-menu] Add support for empty prompt 2008-03-23 15:52:16 +01:00
Julien Danjou 1fb61f54df [awesome-menu] Remove command line option and add support for menu {} in conffile 2008-03-23 15:52:16 +01:00
Julien Danjou cb525dd4ba [awesome-menu] rewrite handling of ~ which was too buggy 2008-03-23 15:52:16 +01:00
Julien Danjou df8e3abf50 [awesome-menu] item_list_fill_file() now returns a Bool and support for ~ as directory 2008-03-23 15:52:16 +01:00
Julien Danjou 9d14cca8e0 [awesome-menu] Make compute_match() take an arg, and rewrite conditions 2008-03-23 15:52:16 +01:00
Julien Danjou 7cbd82011b [awesome-menu] Change item_list_fill_file() proto to take directory as arg 2008-03-23 15:52:16 +01:00
Julien Danjou 5b7200daf2 [awesome-menu] Try harder to grab keyboard
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:16 +01:00
marco candrian b9c2d11d83 awesomerc.5: new progressbar option: vertical=<boolean> 2008-03-23 15:52:16 +01:00
marco candrian 04ff373a63 New progressbar option: vertical=<boolean>
if 'true', draws the whole progressbar-block vertically
instead of horizontally.
2008-03-23 15:52:16 +01:00
marco candrian f4447f0026 awesomerc.5 update for the new option "reverse=<boolean>" 2008-03-23 15:52:16 +01:00
marco candrian 6216d25bc6 new progressbar option for reversing the drawing
inside a data section, with reverse=<boolean> it's possible to reverse the
drawing i.e instead of left to right, from right to left. etc.
2008-03-23 15:52:16 +01:00
marco candrian 397aa33163 widget error infrastructure additions 2008-03-23 15:52:16 +01:00
Julien Danjou 0e69534a65 Add a common error infratructure for widget_tell
Signed-off-by: Marco Candrian <mac@calmar.ws>
2008-03-23 15:52:16 +01:00
marco candrian 3efadded39 graph widget handles property arguments now
data section values:

echo '0 widget_tell progess data title new_value' ...

universal settings  are width, height, padding_left, bg, bordercolor like:

echo '0 widget_tell progess height value' ...
2008-03-23 15:52:16 +01:00
marco candrian 0c4dc79bb6 progressbar widget handles property arguments now
data section values:

echo '0 widget_tell progess data title new_value' ...

data properties: fg, bg, fg_center, fg_end, bordercolor works like this:

echo '0 widget_tell progess fg_end title new_color' ...

universal settings to tune are gap, width, height, padding:

echo '0 widget_tell progess padding value' ...
2008-03-23 15:52:16 +01:00
marco candrian 57e9cb468f textbox handles properties now
text, fg, bg, font, width and text_align actually
2008-03-23 15:52:16 +01:00
marco candrian c384252bc6 iconbox handles the property arguments
image <image), resize <{true, false}> are supported actually
2008-03-23 15:52:16 +01:00
marco candrian 3569ab617d new property argument to widget _tell functions
actually the _tell function won't handle the new argument.
Coming patches will handle them.

it will need now something like this:

echo '0 widget_tell widget property value'

where property can be anything used in the awesomerc file,
that means what will be supported. Like: fg, fg_end, width, font...

(actually it ignores the property value and changes what have been changed in
the past as well.)
2008-03-23 15:52:16 +01:00
marco candrian ce7f77c8c5 data{} sections needs a unique title now
so like: data title {}

Used for widget_tell to individually address/change them
2008-03-23 15:52:16 +01:00
marco candrian 7c27f84287 man page for widget_tell options modified; 'bar{}' is now 'data{}' 2008-03-23 15:52:16 +01:00
Julien Danjou cd28b2357b [awesome-menu] Make completion cyclic 2008-03-23 15:52:16 +01:00
Julien Danjou 6ebf5b5032 [awesome-menu] Fix some completion error 2008-03-23 15:52:16 +01:00
Julien Danjou f3c632aebf [awesome-menu] Complete file completion 2008-03-23 15:52:16 +01:00
Julien Danjou b5ad123e60 [awesome-menu] Add preliminary support for file completion 2008-03-23 15:52:16 +01:00
Julien Danjou 6c88ddc63e [awesome-menu] Cosmetic changes; init var with nice value and remove else statement 2008-03-23 15:52:16 +01:00
Julien Danjou 86ab2f4764 Fix documentation for text_shadow_offset in awesomerc manpage 2008-03-23 15:52:16 +01:00
Julien Danjou 8a685bf177 Add mwfact_lower_limit and mwfact_upper_limit to configure limits of mwfact value
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:16 +01:00
Julien Danjou 6161fc2130 Fix regression, set selected_item_is_drawn to True when selected has been drawn. 2008-03-23 15:52:15 +01:00
Julien Danjou 4451e9099e Add support for text shadow, add new text_shadow_offset option. 2008-03-23 15:52:15 +01:00
Julien Danjou ddd4f1c43b Refactorize item drawing: add draw_item() function 2008-03-23 15:52:15 +01:00
Julien Danjou e5069d1b8c Add Xinerama support to awesome-menu and fix a bug with wrong displaying when selecting an item 2008-03-23 15:52:15 +01:00
Julien Danjou 5084451dc9 Fix rendering problem when selecting a item which would be drawn after the end of the screen. 2008-03-23 15:52:15 +01:00