Commit Graph

19 Commits

Author SHA1 Message Date
Uli Schlachter 226bb2cc31 Fix luacheck warnings in themes/xresources/assets.lua
These were introduced by commit 12e1bd6747.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-12-18 18:57:58 +01:00
Emmanuel Lepage Vallee 12e1bd6747 theme: Refactor xresource wallpaper to expose the vectorial logo 2016-12-11 00:10:39 -05:00
Daniel Hahler aeab2a70e9 Fix whitespace warnings reported by luacheck (#1229) 2016-11-21 22:38:23 +01:00
actionless 0fe532104d fix(themes: xresources: assets): recolor for minimize_focus 2016-07-17 15:27:45 +02:00
Uli Schlachter 1a5680e57a Fix the titlebar minimize button (#995)
Commit 0318c61328 added an image for the minimize button which was
missing before. However, only the default theme and xresources where fixed to
contain the path to the image.

This commit adds the path to all themes.

Also, minimized clients aren't visible, just as closed (=killed) clients aren't
visible. Thus, we don't need an "active" version of this image.

This commit makes us handle the image for the minimize button just like we
handle the close button: There is no difference between "active" and "inactive"
and the file path in the theme doesn't get any path suffix.

Fixes: https://github.com/awesomeWM/awesome/issues/387
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-07-09 19:06:13 +02:00
Yauhen Kirylau 2337329d71 fix(themes: xresources): explicit bg and fg for tooltip (#983) 2016-07-06 14:15:29 +02:00
Uli Schlachter daf05e6eb1 xresources theme: Use a RecordingSurface for wallpaper
This theme draws a minimal wallpaper directly. This commit replaces the
ImageSurface of the wallpaper with a RecordingSurface. This shouldn't have any
visible effect, except for reducing memory usage, because an ImageSurface needs
a lot of memory and is only eventually released by the garbage collector. A
RecordingSurface instead just records the operations that were done which needs
a lot less memory for the simple operations done here.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-04-30 09:36:50 +02:00
Uli Schlachter 1714a6513b xresources theme: Let beautiful.wallpaper be a function
This makes the code create a wallpaper of the correct size, instead of cairo
later having to scale the wallpaper up to fill the screen (if it has a different
size than screen 1).

Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-04-30 09:36:50 +02:00
Uli Schlachter 63653bed76 Add the right vim modeline to all lua files
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-12-12 17:42:33 +01:00
actionless b3136c1329 feat(themes: default): add icons for minimize button
Closes https://github.com/awesomeWM/awesome/pull/394.
2015-09-13 14:41:07 +02:00
actionless 32a4a0e261 fix(themes: xresources): reduce useless gap size and increase border width
Closes: https://github.com/awesomeWM/awesome/pull/386.
2015-09-04 21:10:02 +02:00
actionless 9c750ede63 refactor(themes: xresources): move recoloring to theme assets 2015-09-04 21:09:46 +02:00
actionless d1f13975dd feat(themes: xresources): recolor titlebar icons; improve comments 2015-09-04 21:09:42 +02:00
actionless 2f340f05ff feat(themes: xresources): recolor layout icons 2015-09-04 21:08:18 +02:00
actionless 47ba4729a4 refactor(themes: xresources): inherit theme from default one 2015-09-04 21:08:06 +02:00
actionless a3c550804c refactor(themes: xresources): move assets to a separate file 2015-09-04 21:03:10 +02:00
actionless 705f965915 fix(themes: xresources): add icons for corner layout
Closes https://github.com/awesomeWM/awesome/pull/355.
2015-07-26 18:14:43 +02:00
actionless 1a32ba6ecb feat(themes): add 'useless_gap' prop to all themes 2015-07-03 00:20:28 +02:00
actionless cec04b2684 Add DPI support and 'xresources' theme
This makes awesome respect DPI settings, and adds a new theme based on
xrdb and xsettingsd color settings ("xresources").

Closes https://github.com/awesomeWM/awesome/pull/229
2015-06-25 06:40:38 +02:00