Dave Davenport
9d85bcb914
Update copyright header.
2021-06-09 14:50:39 +02:00
Dave Davenport
dc46457f71
Remove deprecated theme options
...
* color_window
* color_urgent
* color_active
* color_normal
2021-06-08 22:44:15 +02:00
Dave Davenport
b478de3d7d
Remove deprecated option, fix typo in manpage.
2021-06-08 22:02:29 +02:00
Dave Davenport
0db6412ae2
[Doc,Config] Remove line-margin|padding and fix doc mistake.
...
*Deprecated* option.
2021-06-08 12:17:59 +02:00
Dave Davenport
3598ebe603
[Config] Quick hackish workaround for handling dynamic options from config file
...
Quick hackish workaround for having options that are added *after*
config file is parsed.
This needs to be replaced once the config system is revamped.
Fixes : #905
2021-06-01 12:17:59 +02:00
TonCherAmi
dc28a97437
Add cursor property ( #1313 )
...
* Change mouse cursor on widget hover
Currently only listview element and editbox are supported.
* Add cursor property
2021-05-23 00:17:27 +02:00
Dave Davenport
7061eb21ae
Indent round.
2020-11-03 23:57:02 +01:00
Dave Davenport
7c331b130b
[Calc] Add min/max operator support to calc()
...
Fixes : #1172
2020-09-14 20:34:39 +02:00
Dave Davenport
3499e1dad0
[Theme] First attempt at more cleanups and nested media support.
...
First throw at nested media support.
Issue: #1189
2020-09-13 15:11:12 +02:00
Dave Davenport
0a3734dce4
[Theme] Fix @media printing in -dump-theme
.
2020-09-13 13:48:48 +02:00
Dave Davenport
30735791b4
Run indenter.
2020-08-28 16:41:59 +02:00
nick87720z
fb2ba8ada3
Millimeter support for distance ( #1144 )
2020-06-09 22:19:43 +02:00
Dave Davenport
151547a99e
[Themes] add calc() support to distance in theme format. ( #1105 )
...
* Initial test to allow math in distances.
Support + and -
Needs spaces around + and -.
* [THEME] Fix printing theme with math in distance.
* [Theme] use calc() syntax.
* [Theme] Add * and / to calc().
* [Theme] Fix the precedense ordering in parsing. Also avoid making copies.
* [Theme] Don't print unneeded ().
* [Theme] Add modulo to calc.
2020-04-24 19:54:08 +02:00
Dave Davenport
f63da72ea6
[Dmenu] Fix possible crash.
...
Don't pass empty string.
Issue: #1083
2020-04-06 23:31:45 +02:00
Dave Davenport
e0e6c5e670
Fix detection no theme.
2020-03-02 12:21:34 +01:00
Dave Davenport
b169289996
Indent all the code.
2020-02-02 13:56:37 +01:00
Dave Davenport
b03edc5cf3
Update copyright dates.
2020-01-01 12:23:12 +01:00
Dave Davenport
8d9e403659
Update copyright.
2019-09-27 11:58:32 +02:00
Dave Davenport
7c613f6a4c
Issue893: Add support for @media in the theme format. ( #1015 )
...
* [Lexer] Add support for @media.
Issue: #893
* [Theme] @media limit to px.
* [Theme@Media] add *{} support.
* [Theme@Media] Add support for monitor-id media.
* [Theme@Media] Code cleanup.
* [Theme@Media] Add min/max-aspect-ratio.
* [Theme@Media] Remove some debug output
Fixes : #893
2019-09-20 15:05:36 +02:00
qball
ad74da45d1
[Workaround] Add default icon size.
2019-08-17 22:57:05 +02:00
Dave Davenport
618d1396ee
Issue949 ( #999 )
...
* [Issue 949] Add initial split of listview row into widget tree.
Allowing better themeing.
* Remove unneeded code from textbox. allow dis. icons.
* Fix typo.
* Fix wrong widget offset in textbox.
* Fix mouse handling
* [ListView] Add 'fixed-columns' boolean option.
* [Listview] Fix inversion of option.
* [ListView] remove commented old code.
* [Textbox] Handle null pointer on desired width.
* [Listview] Fix crasher with fixed_columns and more max elements requested items.
* Add hack to get backwards compatibility for new listview structure.
* Fix the scrollbar test.
* Fix tests for theme update..
2019-08-08 20:02:20 +02:00
Quentin Glidic
4224614115
theme: Fix g_list_copy_deep() warning
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-04-19 10:10:07 +02:00
Dave Davenport
6fffe427c4
Change sidebar in theme to mode-switcher.
...
Fixes : #930
2019-03-19 22:45:10 +01:00
Dave Davenport
40da1b25e2
[Theme3.0] Change reference to use the CSS like var() syntax.
...
Supports defaults var(name, default); var(name);
Where default can be another property.
(https://www.w3schools.com/css/css3_variables.asp )
This deprecates the @name syntax.
Fixes : #876
2019-01-29 17:56:45 +01:00
Dave Davenport
859a9c79d6
Indent the code.
2018-08-08 15:55:13 +02:00
Dave Davenport
b8592f8b99
Documentation updates.
...
* theme,
* view,
* textbox
* helper
2018-06-12 12:00:00 +02:00
Dave Davenport
5ab0a642c9
[Theme] When reading double property, allow fallback to integer.
...
Otherwise the value '1' is not seen as valid entry, only '1.0'.
Fixes : #752
2018-01-14 11:21:02 +01:00
Dave Davenport
9cd1e3fac2
Indent
2017-11-07 20:04:07 +01:00
Dave Davenport
f992e0e21a
Add the prompt colon to the default theme.
...
- Fix dumping of theme localization of the decimal-point. Force it to
be always a '.'.
2017-11-05 12:56:41 +01:00
Dave Davenport
0ef2ad0771
Use PACKAGE_VERSION as it is known to both make and meson.
2017-10-31 19:36:13 +01:00
Dave Davenport
ba0acd625f
Remove leading # from dump theme and add mesg about rofi dumping it
2017-10-31 19:29:27 +01:00
Dave Davenport
5f1be779a2
Fixes parsing of non-existing fields.
...
Fixes : #700
2017-10-20 22:13:28 +02:00
Dave Davenport
fcaf8d8104
Fix color conversion from old ARGB to RGBA (new)
...
Fixes : #693
2017-10-19 07:48:48 +02:00
Dave Davenport
9ae62960c1
Indent files.
2017-10-05 17:45:50 +02:00
Dave Davenport
8a0563634f
Fix conversion of border color to new theme format.
2017-09-24 15:32:53 +02:00
Dave Davenport
99f2a1a9bf
Add @theme import command, that resets the current theme.
2017-09-18 17:48:13 +02:00
Dave Davenport
ff4946edaf
Cleanup compiler warnings.
...
- Unused var.
- Missing switch statement.
- Change fallthrough for older compilers.
2017-09-17 18:17:26 +02:00
Dave Davenport
e01aefd773
Update shipped themes.
2017-09-09 14:50:23 +02:00
Dave Davenport
af369bd244
Update default theme and converter.
2017-09-09 12:07:11 +02:00
Dave Davenport
28ca3cb510
Fix tests.
2017-09-07 20:03:21 +02:00
Dave Davenport
2a5cb6f621
Alias 'color' property name to 'text-color'
2017-09-07 08:35:09 +02:00
Dave Davenport
7c1ecb4707
Add support for multiple selectors. #dummy0, dummy1 {}
2017-09-06 23:11:03 +02:00
Dave Davenport
0824a1e48c
Inherit again, for modifiers.
2017-09-06 22:19:00 +02:00
Dave Davenport
6b43fed3aa
use color, background-color and border-color
2017-09-06 19:02:09 +02:00
Dave Davenport
4dc9f29512
Add (untested) support for inherit keyword.
2017-09-06 18:26:04 +02:00
Dave Davenport
50998b8f04
Flatten hierarchy, don't inherit by default.
...
* add keyword inherit to language parser and theme structure.
2017-09-06 10:03:44 +02:00
Dave Davenport
9b0a430fd4
Indent.
2017-09-05 13:52:44 +02:00
Dave Davenport
ba296f9210
Add ch
as size unit.
2017-09-05 13:52:21 +02:00
Dave Davenport
2b8179b684
Try to match line-padding in theme converter.
2017-09-04 22:46:50 +02:00
Dave Davenport
604779c444
Change order evaluation to make CPPCheck happy.
...
Code was not wrong.
2017-08-08 09:40:38 +02:00