Dave Davenport
6fffe427c4
Change sidebar in theme to mode-switcher.
...
Fixes : #930
2019-03-19 22:45:10 +01:00
Dave Davenport
2728e4ad23
[Theme] Make 'sidebar' settable by theme.
...
Now it needs a configuration option to enable, this should be just part
of the theme now.
Sidebar is the "sidebar" widget.
If not set by theme, old behaviour is still followed.
2019-03-05 10:11:34 +01:00
Dave Davenport
859a9c79d6
Indent the code.
2018-08-08 15:55:13 +02:00
Dave Davenport
a92bcc2818
[Theme] Change window layout for error dialog
2018-06-14 11:16:32 +02:00
Dave Davenport
bdb6abef4a
Sorting cleanup ( #816 )
...
* Add `-sorting-method` option remove weird -sort-levenshtein.
* Fix test for updated cmdline options.
* Update manpage
2018-06-13 11:57:23 +02:00
Dave Davenport
9909fb3d71
More documentation fixes
2018-06-12 14:11:08 +02:00
Dave Davenport
32b45c2d10
Fix documentation
...
* theme
* view
* textbox
2018-06-12 12:16:33 +02:00
Dave Davenport
d4cfb5bb4b
Fix crash in error dialog and tests.
2018-06-12 09:46:24 +02:00
Dave Davenport
441c511296
Add an generic icon fetcher that can be used by any widget and re-uses the main threadpool.
...
Add an generic icon fetcher that can be used by any widget and re-uses the main threadpool.
* Make threadpool more generic usable.
* Add generic icon fetcher, that caches icons.
* Make DRUN use this fetcher.
* Add icon widget.
#809
2018-06-09 19:13:57 +02:00
Dave Davenport
7ad3ce25b1
[View] Added textboxes are set to autoheight and wrapping.
...
Fixes : #754
2018-01-14 11:47:04 +01:00
Dave Davenport
ae4ea622bb
Fix (old style) fake-transparency and fake-background option.
...
- Broke and only setting it via theme worked.
2017-12-08 10:59:43 +01:00
Dave Davenport
07cf9aabc7
Re-calculate size before showing.
2017-11-30 11:01:23 +01:00
Edward Betts
79adae77d7
Correct spelling mistakes. ( #722 )
2017-11-23 18:41:52 +01:00
Dave Davenport
9cd1e3fac2
Indent
2017-11-07 20:04:07 +01:00
Dave Davenport
d9def87930
Allow height to be specified on window.
...
Fixes : #718
2017-11-06 20:49:26 +01:00
Dave Davenport
1dccdb302e
Remove color from prompt, can be added in theme now.
...
fixed : #637
2017-10-30 21:40:13 +01:00
Dave Davenport
9ae62960c1
Indent files.
2017-10-05 17:45:50 +02:00
Dave Davenport
91d88b1fd1
Rename tokenize to helper_tokenize
2017-10-01 10:51:02 +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
acfc07a63e
Fix Inherit keyword
2017-09-07 13:46:09 +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
508e39c3f3
Set cursor to end of input field.
...
Fixes : #662
2017-08-29 10:40:24 +02:00
Dave Davenport
3c52f15140
Move more enums to rofi-types.h
2017-08-18 11:38:54 +02:00
Dave Davenport
7b57985203
Add wid:{window id} to monitor option.
...
- By specifying the window id, rofi will assume that window to be the
monitor (for placing.)
- syntax: wid:{monitor id}
Issue: #632
2017-07-12 12:27:45 +02:00
Dave Davenport
5996303c08
Convert old location format into new, so we are compatible again.
...
Fixes : #630
2017-07-11 19:41:24 +02:00
Dave Davenport
d82231d0df
Correctly switch to other RofiViewState.
...
* Triggers when error message occurs on handling action.
* Reproducable with broken drun file. (give a non-existing path)
2017-07-05 00:14:28 +02:00
Dave Davenport
3556f65198
Update DPI value once auto-detected.
2017-06-26 20:14:51 +02:00
Dave Davenport
8f035bf919
Add extra checks so widgets do not get added twice.
2017-06-14 07:54:20 +02:00
Dave Davenport
a3c1ff7d94
[helper] Fix type issue with variadic function.
...
*
https://www.securecoding.cert.org/confluence/display/c/DCL11-C.+Understand+the+type+issues+associated+with+variadic+functions
2017-06-13 10:16:40 +02:00
Dave Davenport
1b3ce23b80
Add missing null statement for fallthrough
2017-06-12 08:53:16 +02:00
Dave Davenport
26d9da7263
Position the overlay in the top right corner of the listview.
2017-06-12 08:17:28 +02:00
Dave Davenport
c53e6cc20c
Make the compiler STFU about desired fallthroughs.
...
* https://dzone.com/articles/implicit-fallthrough-in-gcc-7
2017-06-12 07:47:44 +02:00
Dave Davenport
f102ed7295
Center align sidebar buttons by default.
2017-06-11 19:23:18 +02:00
Dave Davenport
9fe67c1822
[TextBox] Remove TB_LEFT/CENTER/RIGHT replace with xalign/yalign.
2017-06-07 20:16:14 +02:00
Dave Davenport
d33edaf09d
[View] Do not set rofi fullheight when num lines eq 0
2017-06-06 17:49:24 +02:00
Dave Davenport
2a18a46b24
[View] Update sidebar buttons when we have no prompt.
2017-06-06 09:40:56 +02:00
Dave Davenport
9a62bfd172
Run indenter.
2017-06-03 20:35:50 +02:00
Dave Davenport
684211aba4
[View] Remove extra return.
2017-06-03 20:33:30 +02:00
Quentin Glidic
0adc0d7c08
view: Always create textbox with type
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-03 20:04:21 +02:00
Dave Davenport
a2620745e2
Fix sidebar in stock theme and sidebar button clicking
2017-06-03 19:56:02 +02:00
Dave Davenport
8b7ceb9286
Fix textview clicking.
2017-06-03 18:34:26 +02:00
Dave Davenport
4bd9828aa7
Remove index from box_add.
2017-06-02 16:53:39 +02:00
Dave Davenport
1d622aa59c
Change ThemeHighlight to RofiHighlightColorStyle
2017-06-02 16:46:28 +02:00
Dave Davenport
ea7d20d150
Change Orientation enum to RofiOrientation.
2017-06-02 16:34:52 +02:00
Dave Davenport
9915857a2e
Change Distance struct to RofiDistance.
2017-06-02 16:25:47 +02:00
Dave Davenport
48bf1709b6
Rename HL_ to ROFI_HL_ and fix box test.
2017-06-02 16:09:20 +02:00
Dave Davenport
eec5c6eadc
Add orientation property.
2017-06-02 14:05:19 +02:00
Dave Davenport
85b6e32158
Merge remote-tracking branch 'origin/master' into barview
2017-06-01 18:54:30 +02:00
Quentin Glidic
48a80e3f82
display: Introduce display.h
...
The API is meant to be neutral to fit any display backend.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 15:06:57 +02:00
Dave Davenport
cdc8e462b8
Merge remote-tracking branch 'origin/master' into barview
2017-06-01 14:20:36 +02:00