Dave Davenport
6bb9262245
[Config] workaround for int data type passed to string option in configuration file/cmdline.
2022-03-09 17:55:29 +01:00
Dave Davenport
47d785758a
[listview] Allow settings of flow direction of elements ( #1605 )
...
* [Listview] Initial implementation for left to right packing.
* [Listview] fix movement in pack-left-to-right.
* Add element-next/prev keybinding and remap tab.
* [Listview] Change option name to 'flow' and use rofi orientation type.
* [Listview] Make listview work with reverse property.
* Update test for 2 new keybindings.
fixes : #1058
2022-03-07 20:37:58 +01:00
Dave Davenport
fe656d2d94
[Script] Fix memory leak.
2022-03-02 22:08:14 +01:00
Dave Davenport
497d18d108
[Script] Support a data option that get passed to next execution.
...
fixes : #1601
2022-03-02 22:06:04 +01:00
Dave Davenport
1d4a8227b2
[config] dump modes instead of modi
2022-03-02 18:46:59 +01:00
Dave Davenport
534aa6ad54
Rename Dialogs -> Modes
...
Try to fix some of old syntax.
2022-02-23 23:18:53 +01:00
Dave Davenport
82a50c6111
fix small compile warning glib.
2022-02-23 23:00:17 +01:00
Dave Davenport
4e06bff706
Change modi -> modes
...
issues: #1599
2022-02-23 22:42:56 +01:00
Dave Davenport
eff3b86c94
Bump copyright date.
2022-02-07 23:17:15 +01:00
Dave Davenport
6b3dc4a8af
[Theme] Make error message more verbose.
2022-02-06 18:33:32 +01:00
Dave Davenport
a34c13bdb2
[Theme] Validate variables in theme and throw error on fail.
...
issue: #1580
2022-01-31 23:19:51 +01:00
Dave Davenport
579735e76f
[Theme] Add warning when we find an unresolved link.
2022-01-31 20:23:33 +01:00
Dave Davenport
61aa11ba12
[DMenu] Document the -display-columns and -display-column-separator option.
2022-01-31 12:56:18 +01:00
Dave Davenport
2817debc04
[XrmOptions] Small fix in parsing cmdline option.
2022-01-25 20:29:06 +01:00
Dave Davenport
bdea8b9787
Mark -combi-hide-mode-prefix as deprecated.
2022-01-25 11:23:40 +01:00
Dave Davenport
85c6545a43
Merge List and Array type into one. ( #1572 )
...
* Merge list and array into one.
* [Lexer] Only use string without " in list
* Some cleanups
* Cleanups based on feedback.
2022-01-25 09:57:59 +01:00
Jakub Jirutka
6e3feee179
Add support for setting tabs stops on textboxes ( #1571 )
...
* Document new array of values type
* Move WIDGET_PADDING_INIT from widget.c to widget-internal.h
* Refactor WIDGET_PADDING_INIT macro
* Add support for setting tab stops on textbox
This allows to emulate a multi-column layout inside the text boxes.
The implementation is kinda hackish due to the limitations of the theme
parser. The only property type that can contain multiple distance values
is Padding, so I used that.
* Use new array syntax for tab-stops
2022-01-24 22:20:41 +01:00
Dave Davenport
33643d0642
Theme array fix inheriting.
2022-01-24 21:50:52 +01:00
Dave Davenport
4bef336b9c
What is in a name.
2022-01-24 20:33:19 +01:00
Dave Davenport
28052a452c
Fix missing enum to str for Set.
2022-01-24 19:56:17 +01:00
Dave Davenport
55b043bcfa
[Theme] Add set type for testing.
...
Allows a set of properties, f.e.:
test: { "aap", "noot", "mies"}
or
tabs: { 1px, 10px, 1px, 3em }
Issue: #1571
2022-01-24 19:43:08 +01:00
Jakub Jirutka
50b85ba954
Add -combi-display-format ( #1570 )
...
Implement a new option -combi-display-format (analogous to
-drun-display-format) that allows to change position appearance of
the mode name in the combi entries.
2022-01-22 22:03:10 +01:00
Dave Davenport
faa360041e
Small cleanups.
2022-01-22 10:21:35 +01:00
Dave Davenport
9ab2059865
[ #1569 ] Make order explicit
2022-01-18 11:41:37 +01:00
Dave Davenport
b6ce41825c
[ #1569 ] Add initial round,floor,ceil function
...
a round b
rounds a to the closest multiple off b
a ceil b
ceil a to the multiple off b
a floor b
floor a to the multiple off b
Completely untested.
2022-01-18 11:01:56 +01:00
Dave Davenport
f5eafcc04c
[1566] Extra debug for monitor resolving for m=-1.
2022-01-13 20:55:26 +01:00
Dave Davenport
5543e6497f
[XCB] Fix small memory leak.
2022-01-07 18:31:31 +01:00
Dave Davenport
addfc1d367
[Helper] Remove font sanity check as it is insufficient, and old format.
2022-01-07 18:16:47 +01:00
Dave Davenport
e563cd3ad0
Add -replace option
...
Issue: #568
2021-12-22 21:03:54 +01:00
Dave Davenport
0424dc6f2e
Small rename switcher --> mode.
2021-12-22 20:33:22 +01:00
Dave Davenport
91050eaf74
[XCB] Cache lookup of monitor.
2021-12-18 20:38:51 +01:00
Dave Davenport
5f7563dae3
Update cmdline separator and add to manpage.
2021-12-17 19:04:02 +01:00
Dave Davenport
a5f76b9d56
[X11Helper] add some extra debug.
2021-12-17 10:23:21 +01:00
Dave Davenport
8f5d9b425e
[KeyBindings] Fix keybinding modified by -theme-str.
2021-12-15 20:49:53 +01:00
Dave Davenport
f0500a5a0e
[Help] Print out the parsed config/theme files.
2021-12-12 20:56:32 +01:00
Dave Davenport
2614fe4425
[Config] Change separator to '#'.
2021-12-04 22:13:31 +01:00
Dave Davenport
8f1aa8481d
[Config] when parsing -theme- cmd option, allow throwing errors.
2021-12-02 08:51:32 +01:00
Dave Davenport
50ac47e24e
[Config] Skip single element options.
2021-12-02 08:47:26 +01:00
Dave Davenport
e3f41474fd
[Config] Allow all theme properties to be set from commandline
...
Bit hack solution, but `listview { scrollbar: false; }` can be reached
by: -theme-listview-scrollbar false
2021-12-02 08:42:06 +01:00
Dave Davenport
dac09b8728
Cleanups based on cppcheck.
2021-12-01 13:14:36 +01:00
Dave Davenport
f72d6135bd
[Config] on -dump-config do not include -theme option.
...
But print the right line at the bottom.
fixes : #1534
2021-11-29 19:31:31 +01:00
Dave Davenport
b03c072aaa
[Build] Allow rofi to build without window mode
...
fixes : #1533
2021-11-29 19:15:19 +01:00
Dave Davenport
dee9c526d3
[Rofi] Don't try to parse commandline options using theme engine if theme parsing failed.
...
Issues: #1531
2021-11-28 17:08:09 +01:00
Dave Davenport
8d943e4a55
[Rofi] Fix error message to have right syntax.
2021-11-12 23:51:12 +01:00
Dave Davenport
b77de4c00d
[Theme] Accept just color for highlight
2021-11-08 21:46:55 +01:00
Dave Davenport
c45fc38856
[Combi] Add a check against recursion.
...
Fixes : #1510
2021-10-29 00:39:51 +02:00
Quentin Glidic
bde8175d39
gitmodules: Update libnkutils
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2021-10-28 06:33:12 +00:00
Quentin Glidic
f24cbe270e
script: Include config.h
...
It avoids deprecation warnings wrt GLib.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2021-10-28 06:31:20 +00:00
Dave Davenport
06bb72d39b
[DMenu] Do not crash when no entry is available.
...
Issue: #1504
2021-10-16 01:39:21 +02:00
Dave Davenport
ccaaaf6a46
[RUN|DRUN] Only initialize file-completer on first use.
2021-10-12 13:35:00 +02:00