Commit Graph

22 Commits

Author SHA1 Message Date
Actionless Loveless 02fa372d9e
fix(themes: xresources): load fallback theme from theme_assets instead of using unthemed svg if svg libs are not installed (#3641) 2022-06-27 00:01:32 -07:00
Yaroslav Chvanov 8abc99f35f
refactor(theme): remove mouse finder remnants
It was removed back in Awesome v4.0 in 2016.
2022-02-13 15:49:40 +03:00
Emmanuel Lepage Vallee 1ff860454e theme: Use a SVG wallpaper for the xresources theme.
It uses a stylesheet for the colors. This is not "as good" as the
old one because it only supports 16:9 aspect ratio. However, the
old wallpaper function doesn't fit great in the new model. The
widget doesn't know the screen, so it cannot pass it to a function.
It's possible to stretch the wallpaper.
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallee c6f617ab98 themes: Add `ruled.notification` to all themes.
The rational behind this is that adding more and more `beautiful`
variables doesn't scale. While not everybody is on board with this,
I think we should move more logic into the theme to put an end to
the unscalable complexity plagging some modules (such as the
tasklist).

Instead of adding a variable for the background and foreground color
of urgent notification, we can now use the rules.
2020-02-16 02:28:03 -05:00
Emmanuel Lepage Vallee 04c757322c client: Turn `rc.lua` logic into a new `request::border` signal.
The default `rc.lua` was using the focus/unfocus signals to set
the border color along with `awful.rules`. This logic block was
no longer aligned with the rest of `rc.lua` since it was
the only place where `beautiful` variables where only used by
`rc.lua`.

On top of this, the new request handler also has extra contexts
for the urgent and floating/maximixed use cases. So it can be used
by themes to implement much smarter borders than just focus based
ones. They were previously limited by the fact most of the
(un-monkey-patchable) logic was in `rc.lua`.

Note that this commit also shuffle the awful.rules order between
the titlebar and the border and changes the tests accordignly.
After some consideration, I came to the conclusion the previous
behavior was bogus and the fact that the placement tests required
to know about the titlebar height is simply a proof of that. The
change was required in this commit because since the border is no
longer in the default rules, a new buggy edge case surfaced.
2020-01-11 15:43:11 -08:00
actionless 5fdb2c6298 feat(beatiful: theme_assets; themes: xresources): recolor titlebar icons for `hover` and `press` states 2017-07-02 19:48:59 +02:00
Kevin Zander 45dadde0dd Move filesystem functions out of awful.util into new gears.filesystem
Update awful.util filesystem function calls to gears.filesystem function calls
Rename getdir to get_dir for consistency
2017-03-15 13:46:33 -05:00
Yauhen Kirylau 316734a681 move `theme_assets` from xresources theme to `beautiful` module. (#1219) 2017-01-14 04:09:54 +01:00
rob cb3138544f themes: updated taglist variable hint comments 2017-01-07 21:22:30 -07:00
Daniel Hahler aeab2a70e9 Fix whitespace warnings reported by luacheck (#1229) 2016-11-21 22:38:23 +01:00
Yauhen Kirylau 2337329d71 fix(themes: xresources): explicit bg and fg for tooltip (#983) 2016-07-06 14:15:29 +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 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