Dave Davenport
0726ed9f33
[Config] Remove fake-transparency/background option.
...
* fake-transparency
* fake-background
2021-06-08 23:07:52 +02:00
Dave Davenport
1a9dac80a9
Remove some deprecated options.
...
* lines
* columns
* width
2021-06-08 22:33:23 +02:00
Dave Davenport
2eefd9b191
[Run] Allow (Ctrl-L) to complete files using file-browser.
...
Merge old setup from #1116
issue: #1116 #659
2021-06-01 13:14:45 +02:00
Dave Davenport
3b297ee80d
Re-indent the code using indenter.
2021-06-01 10:44:23 +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
f69f8fcb7b
Cleanup code documentation.
2021-05-05 21:53:29 +02:00
Dave Davenport
67eda1a776
Remove -fullscreen option, deprecated by new theme format.
...
Use 'window {fullscreen: true;}' instead.
2021-05-02 20:15:58 +02:00
Dave Davenport
d539e6478a
Remove -show-match option, deprecated.
...
Use 'element {highlight: none;}' in theme/configuration to reproduce it.
2021-05-02 20:01:03 +02:00
rahulaggarwal965
e304dbc883
Added -hover-select option that automatically selects the entry under the cursor ( #1234 )
2021-04-13 11:45:20 +02:00
Dave Davenport
e9cf6fb2b0
Improve blur algorithm.
2021-02-16 01:46:04 +01:00
Dave Davenport
606d9d12bf
Test blurring of background image (screenshot/background/image).
...
window {
blur: {radius};
}
Does not work on true transparency.
2021-02-15 23:30:58 +01:00
Quentin Glidic
2e18133667
xcb: Restore focus in more places
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2020-12-20 14:11:56 +01:00
Quentin Glidic
11b677b521
xcb: Nicer focus stealing in O-R mode
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2020-12-13 15:56:37 +01:00
Dave Davenport
ec858dd305
Revert "xcb: Steal focus in O-R mode"
...
This reverts commit 1c9d975dd2
.
Fixes : #1228
2020-12-09 16:04:04 +01:00
Quentin Glidic
1c9d975dd2
xcb: Steal focus in O-R mode
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2020-11-27 07:26:17 +01:00
Quentin Glidic
627bd43510
xcb: Ask for focus where possible
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2020-11-27 07:26:16 +01:00
Dave Davenport
7061eb21ae
Indent round.
2020-11-03 23:57:02 +01:00
Dave Davenport
011908e1ff
issue 1187: If error on launching application, show error message and return to list` ( #1193 )
...
* Show error message, then possibly pop back to main window.
Fix drun/run dialog to use this for command execution.
Issue #1187
* [Combi] When no line selected, handle using the first entry.
* [Window] Add execute on invalid input to window dialog.
* Update view.h doxygen docu
* Update manpage with running application changes.
2020-09-13 21:56:25 +02:00
Dave Davenport
6a38f88e98
Split MENU_QUICK_SWITCH into MENU_CUSTOM_COMMAND/QUICK_SWITCH
2020-09-08 18:24:36 +02:00
Dave Davenport
30735791b4
Run indenter.
2020-08-28 16:41:59 +02:00
Dave Davenport
bf17e1c65e
When no dpi set (-1) set the default one for fonts handling.
2020-06-09 22:51:44 +02:00
Dave Davenport
2ccc65ff52
Add some ui benchmark code
2020-05-12 10:40:50 +02:00
Dave Davenport
3e64e4422d
[DMenu] Implement -keep-right
...
Fixes : #1089
2020-04-16 23:31:43 +02: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
50be2b446a
[Timings] Add extra debug.
2019-12-29 20:38:30 +01:00
Dave Davenport
c1378e4c60
[View] Add two widgets num-rows/num-filtered-rows
...
Issue: #1026
2019-11-07 11:49:45 +01:00
Dave Davenport
8d9e403659
Update copyright.
2019-09-27 11:58:32 +02:00
Dave Davenport
138acf6f3d
Alow buttons to be added to the UI.
...
Support:
* ok
* custom
* ok|alternate
* custom|alternate
|alternate launches in terminal.
2019-09-16 22:07:30 +02:00
Dave Davenport
c3caa20df8
[Theme] Add sidebar as alias to mode-switcher
2019-08-24 11:04:45 +02:00
Dave Davenport
85279323e6
Set window title based on mode name.
...
For dmenu allow customize with `-window-title`.
Fixes : #969
2019-08-10 12:02:49 +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
Dave Davenport
52c5592a6f
[ListView|Textbox] Add user-settable ellipsize mode.
...
Fixes : #917
2019-05-04 11:04:54 +02:00
Dave Davenport
5b96be66ae
[View] Move overlay into the theme system instead of weird addon.
...
It is now a child in the inputbar.
Fixes : #950
2019-04-16 12:52:53 +02:00
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