Commit Graph

1765 Commits

Author SHA1 Message Date
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
Julien Danjou 7dbcdde705 Add reverse attribute to awesome-menu: support for XK_Left to go back 2008-03-23 15:52:15 +01:00
Julien Danjou e81bd8de02 Add a #prefix_list_next() function to lists functions
That may seem useless, but it's not.
2008-03-23 15:52:15 +01:00
Julien Danjou 867b2f0775 first version of awesome-menu 2008-03-23 15:52:15 +01:00
Julien Danjou a52832b57d Fix a bug in uicb_spawn when using IP address in DISPLAY
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-22 21:15:59 +01:00
Julien Danjou 74ab56b1b2 Stop adding useless space at the end of each default awesomerc line
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-21 14:50:35 +01:00
Julien Danjou 6036e68e85 Fix a bug with sleep()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-20 18:30:52 +01:00
Julien Danjou a734c7dd5d Remove transparency prop on focus
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-19 15:04:43 +01:00
Julien Danjou 4516bfcf3a Check for EWMH hints after reloading client props
This avoid to think a client has already props in case it's tagged
with EWMH and then do not use its rules
2008-03-15 14:46:45 +01:00
Julien Danjou 91a09c2423 Add a note about writing documentation 2008-03-15 09:47:43 +01:00
Thomas Janu a30c6279dc awesomerc-documentatin
Hello!

I just wrote some more documentation stuff for awesomerc that was missing and
changed some things I consider to be typing errors. Hope it helps.

Greetings,
	Thomas

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-14 15:09:38 +01:00
Julien Danjou d1e7633a22 Use tag code in case of no tag, not ours. 2008-03-14 07:27:23 +01:00
Julien Danjou f797aec81e Fix segmentation fault on no layout available 2008-03-14 07:23:39 +01:00
Julien Danjou 2b0de43885 Remove useless tab_border option. 2008-03-13 13:25:15 +01:00
Julien Danjou e534111a39 Update awesomerc.5 documentation 2008-03-13 13:09:19 +01:00
Julien Danjou e971ab1b51 Add some global options to awesomerc.5 2008-03-13 11:49:28 +01:00
Julien Danjou 23a31eda23 Add a manpage for awesome-message 2008-03-13 11:33:58 +01:00
Julien Danjou f4beb460d8 Add support for package codename into codename-stamp (like version) 2008-03-13 10:57:10 +01:00
Julien Danjou 14798753ca Bugfix in client_toggletag and checking if not tag selected 2008-03-12 16:09:56 +01:00
Hans Ulrich Niedermann 2d454a438a Determine screen number from $DISPLAY for restarts
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-09 20:50:11 +01:00
Hans Ulrich Niedermann f1e4ad09a1 Add make targets replacing the running awesome
Presuming we are running awesome on this screen, and this is
screen 0,

  * we replace the running awesome instance by a freshly compiled
    one with the "restart-uninstalled" target,
  * we replace the running awesome instance by the last installed
    one with the "restart-installed" target.

Note this can render your running X11 screen unusable.

A little bit of test magic starting Xnest should make more
confined tests possible with less serious failure modes.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-09 20:49:47 +01:00
Julien Danjou a9d7a08c2e Add support for ~ in include() from awesome 2008-03-09 20:01:32 +01:00
Julien Danjou 2fd1f0db66 Write our own cfg_awesome_include() function to do check before calling confuse's one 2008-03-09 18:31:16 +01:00
Julien Danjou 1b87c2be2a Verify user input for tag values (mwfact, nmaster and ncol)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-08 10:26:51 +01:00
Julien Danjou af04238204 Merge branch 'master' of ssh://git.naquadah.org/var/cache/git/awesome 2008-03-07 09:14:33 +01:00
Julien Danjou bd2f4a212e Move grabkeys() out of event, and move it into window; clean and remove setup() function in awesome.c 2008-03-06 16:18:01 +01:00
Julien Danjou d10036a366 Remove useless call to get_phys_screen() in grabkeys()
screen is already a physical screen since we use ScreenCount()
2008-03-06 16:09:38 +01:00
Julien Danjou fcf086ec08 Add some comments to window functions 2008-03-06 16:04:58 +01:00
Julien Danjou b58631581b Add comments to some layout functions 2008-03-06 16:03:01 +01:00
Julien Danjou 3d8b7565d4 Comments widgets functions 2008-03-06 11:41:26 +01:00