Commit graph

3123 commits

Author SHA1 Message Date
Dave Davenport
8be08007f8 [Textbox] Round estimated size up. 2020-03-31 14:05:12 +02:00
Dave Davenport
c6a405e840 Fix hack for height calc. 2020-03-30 00:09:28 +02:00
Dave Davenport
ca067234ff [Textbox|Listview] Fix sizing of textbox.
- don't get height of layout, but calculate height using metrics.
- listview, set string with right number of lines.

Issue: #925, #1069
2020-03-29 16:31:47 +02:00
Dave Davenport
cca9fa3372 Update manpage -selected-row option. 2020-03-29 12:58:28 +02:00
Dave Davenport
d8a0f540f0 Add selected-row option to normal operation. 2020-03-29 12:56:47 +02:00
Sebastiaan Lokhorst
1e4409c6b3
Remove gnome-terminal from rofi-sensible-terminal (#1074)
gnome-terminal is no longer compatible, as noted in #1003
2020-03-20 10:01:11 +01:00
Sidou
f8c3d694bb
man: Fix typo (#1068)
Removed a duplicate word "the" on rofi.1.markdown.
2020-03-14 17:00:10 +01:00
Dave Davenport
e0e6c5e670 Fix detection no theme. 2020-03-02 12:21:34 +01:00
asymmetric
e8eecae4c4
man: update default matches for desktop files (#1061)
Taken from [`config.c`](d777d0ed4b/config/config.c (L120)).
2020-02-21 15:32:52 +01:00
Dave Davenport
d777d0ed4b [Meson] Add libjpeg as dependency.
Issue: #1060
2020-02-17 21:34:41 +01:00
Dave Davenport
333d71af11 [IconFetcher] Do faster scaling. 2020-02-14 14:37:41 +01:00
Dave Davenport
855d09ded7 [IconFetcher] Add jpeg support, scale on load.
TODO: fix scaling speed.
2020-02-14 14:27:03 +01:00
Dave Davenport
3bf9d3d3b1 [Script] Reload dialog, on selecting non-selectable item. 2020-02-13 21:32:19 +01:00
Dave Davenport
c458047ef6 [Script] Fix next dialog option.
Error slipped in from previous patch.

Issue: #1059
2020-02-13 21:29:02 +01:00
Dave Davenport
03775378e0 [Script] init nonselectable.
Issue: #1057
2020-02-13 16:52:11 +01:00
Dave Davenport
eb12ff2375 Add missing compiled manpage. 2020-02-02 21:34:14 +01:00
Dave Davenport
bc2e1549fb Add rofi-script manpage, add meta option support to dmenu.
update ronn to go-md2man
2020-02-02 17:21:21 +01:00
Dave Davenport
7dcc3f450c Add option to make entry non-selectable in dmenu/script.
Fixes: #1024
2020-02-02 14:21:29 +01:00
Dave Davenport
b169289996 Indent all the code. 2020-02-02 13:56:37 +01:00
Jeff
83c2e467d5
Add support for additional field on script entries meta (#1052)
* Add test for hidden meta data in script mode

The purpose of this is to provide support for "hidden" fields on a
script item that work for search but don't get displayed.  This is
mostly to provide something similar to the optional display (but still
matchable) fields in drun like "categories" or "keywords".  This also
enables the choice to display unicode icons but still allow for
searching for the keywords without needing to print them.

* Ignore the output file from test runs

* Add support for the "meta" field on script entries

This fields provides a matchable but unprinted string for entries in a
script mode list match.  This means you can use one thing but provide
multiple options that can match that item without polluting the list
view or make confusing output.

* Add new test to test suite file
2020-02-01 13:49:11 +01:00
Dave Davenport
a422b33e99 Update manpage with drun-cache. 2020-01-26 15:48:17 +01:00
Dave Davenport
a35a898816 [DRun] Add desktop cache
Add a desktop cache file. Usable for system with slow filesystems.

* -drun-use-desktop-cache
* -drun-reload-desktop-cache

Fixes: #1040
2020-01-26 12:47:04 +01:00
Dave Davenport
f8be880b45 Add total num + filtered num to default theme. 2020-01-16 19:12:03 +01:00
Dave Davenport
7a6fcb20f4 Initialize all the configuration before upgrading config. 2020-01-02 18:57:53 +01:00
Dave Davenport
25402f44eb [Textbox] Correctly fall back to content when str is empty. 2020-01-02 16:37:24 +01:00
Dave Davenport
b4b85b2a71 [Textbox] Don't use placeholder color for cursor. 2020-01-02 13:42:14 +01:00
Dave Davenport
b44b5e8d16 Add -upgrade-config option.
* Print warning when old-style configuration is used.
* Add -upgrade-config option.
2020-01-02 12:00:44 +01:00
Dave Davenport
7650ed5d7a [Listview] Small fix when distributing remaining space whith scrollbar. 2020-01-01 15:44:01 +01:00
Dave Davenport
b03edc5cf3 Update copyright dates. 2020-01-01 12:23:12 +01:00
Dave Davenport
f1a90c5d0c [Listview] Add more debug output for debugging. 2019-12-29 21:26:41 +01:00
Dave Davenport
de89be5c95 [Listview] Make str code more explicit. 2019-12-29 21:23:26 +01:00
Dave Davenport
cd4607c77c [Listview] Fix wrong flag set on index 2019-12-29 21:19:31 +01:00
Dave Davenport
50be2b446a [Timings] Add extra debug. 2019-12-29 20:38:30 +01:00
Dave Davenport
40c1476855 [Listview] Fix drawing issue 2019-12-29 20:33:34 +01:00
Dave Davenport
e6bed0e5d3 [Listview] Add support for showing the (keybindable) index.
fixes: #1050
2019-12-29 19:04:29 +01:00
Dave Davenport
afda9cbb13 [Doc] Update theme manpage with import. 2019-12-29 17:30:53 +01:00
Dave Davenport
0a4426af29 Add placeholder to default theme. 2019-12-26 14:39:51 +01:00
Dave Davenport
f3bb043df0 [Textbox] Add placeholder.
Fixes: #1020
2019-12-26 14:24:10 +01:00
Dave Davenport
2c56e5ca33 [DOC] Update theme documentation with @media. 2019-12-25 23:10:46 +01:00
Dave Davenport
cc71fa13b7 [Window] Remove pointless mem duplication. 2019-12-20 15:55:23 +01:00
Dave Davenport
b71f51523a [Window] Remove arbitrary limit of 100 windows.
Fixes: #1047
2019-12-20 15:49:33 +01:00
Mustaqim Malim
2312421392 Add Issue and PR Templates (#1043)
* Issue Template: Add Bug report

* Issue Template: Add Feature request

* Pull Request Template
2019-12-14 14:03:09 +01:00
Dave Davenport
e9dde8e2ac [Doc] Update rofi-theme documentation.
allow `content` as alias to `str` on textbox.
2019-12-14 10:59:10 +01:00
Dave Davenport
cd06d593b2 [listview] Always do full update to update all theme elements.
fixes: #1032
2019-11-23 16:23:58 +01:00
Dave Davenport
c4a4243616 [Theme] Add alpha channel to highlight color.
Fixes: 1033
2019-11-20 11:18:53 +01:00
Dave Davenport
5a457022e9
Update rofi-theme.5.markdown 2019-11-18 20:38:38 +01:00
Dave Davenport
37121bfbe2 [ListView] Fix right-to-left scrolling in bar-view.
Issue: #1028
2019-11-14 13:01:49 +01:00
Dave Davenport
eb5c4bfdcc [Box] Fix update not propagating to parent. 2019-11-07 12:44:20 +01:00
Dave Davenport
c1378e4c60 [View] Add two widgets num-rows/num-filtered-rows
Issue: #1026
2019-11-07 11:49:45 +01:00
Simon Legner
5f57519940 Fix typo "Csutom" (#1025) 2019-11-03 20:06:48 +01:00