Tobias Witek
30d34b12e0
[core/theme] Fix loading of custom iconset
2020-02-22 14:08:28 +01:00
Tobias Witek
3bb857f250
[core/theme] Add iconset support
...
Allow themes to specify iconsets. To do so, add a new util library
"util.algorithm", which currently contains support for deep merging of
dicts.
2020-02-22 14:07:24 +01:00
Tobias Witek
38410adcb8
[core/theme|output] Add separators
...
Add a way for themes to specify custom separators. Doing that, make
nicer interfaces for drawing "supplementary" components (separators)
for widgets and generalize the attribute retrieval within the theme.
2020-02-22 13:42:44 +01:00
Tobias Witek
d3fc648c08
[core/theme] Dynamically create theme accessors
...
Dynamically generate the accessors for a theme's attributes.
NB: This might be even nicer coming from a JSON rather than inside the
code.
2020-02-16 21:15:14 +01:00
Tobias Witek
808c46f551
[core/theme] Add separator-block-width
2020-02-16 14:54:20 +01:00
Tobias Witek
6e5e297d93
[core/theme] Add true cycling support
...
Using the freshly introduced eventing system, enable cycling of widget
attributes.
2020-02-16 14:39:10 +01:00
Tobias Witek
26ae63b5ad
[core/theme] Add preliminary cycling support
...
Add support for cycling values in a theme, for now as long as the cycle
size is 0 :P
2020-02-16 14:02:21 +01:00
Tobias Witek
affeba5b8f
[core/theme] Add simple theme stub
...
Add support for default fg/bg colors
2020-02-15 14:05:27 +01:00
Tobias Witek
5d971267db
[core/theme] Add preparatory work for themes
...
Add two new parameters: theme and iconset
Add a placeholder class core.theme.Theme, an instance of which is passed
in to the i3 output object (which is the only object that should ever
have need of the theme, hopefully).
2020-02-09 13:46:56 +01:00