Jakub Jirutka
7ce8c8584b
Remove unused/surplus xcb-related includes
...
Includes in the rofi code base are a complete mess; there are many
needless includes and many files rely on transitive includes.
I used include-what-you-use tool to find them. There are much more,
I cherry picked only suggestions relevant to the goal - allow building
rofi without XCB dependencies.
This doesn't break X11 support and it can be upstreamed (after rebasing
and removing changes in wayland-stuff).
2021-09-30 21:48:44 +02:00
lbonn
6baa463264
Merge commit '954fc728b29d3c63a09a84870f29b57640062966' into wayland
...
Formatting changes only
2021-09-06 13:01:37 +02:00
lbonn
deb9330a0d
Merge commit '1a1dc7282f5ed010af874398b5b3d70ea7cda8e8' into wayland
2021-09-06 13:00:57 +02:00
Dave Davenport
954fc728b2
[Cleanup] Using clang-tidy
2021-08-18 01:16:45 +02:00
Dave Davenport
47f26ca2f1
[IconFetcher] Look for images in theme directories.
2021-08-17 11:05:03 +02:00
a1346054
c62137f8ab
Simple maintenance improvements ( #1370 )
...
* rofi moved to libera.chat
* unify some theme headers and whitespace
* consistently use the same hashbang for bash
* improve obsolete way of testing equality
see https://github.com/koalaman/shellcheck/wiki/SC2268 for explanation
* use consistent function definitions in bash scripts
* remove duplicated author and fix whitespace
* quote all variables in scripts
fixes many warnings identified through shellcheck
* fix whitespace in scripts
* fix whitespace in non-source files
* fix spelling in non-source files
* fix whitespace and indentation in source files
* fix spelling in source files
2021-08-14 13:03:16 +02:00
Dave Davenport
067a3b82ad
[Config system] Add a bit of a hack to auto-add commandline options.
...
For new config system.
2021-06-27 12:21:26 +02:00
Zachary Freed
44140ac5b4
Made it so the presence of a field in drun-display-format is enough to parse the .desktop files for that field. Also fixed helper_string_replace_if_exists only allowing one guarded field in the display format by making the regex ungreedy ( #911 )
...
Co-authored-by: Dave Davenport <DaveDavenport@users.noreply.github.com>
2021-06-15 14:32:46 +02:00
Dave Davenport
9d85bcb914
Update copyright header.
2021-06-09 14:50:39 +02:00
Dave Davenport
1a9dac80a9
Remove some deprecated options.
...
* lines
* columns
* width
2021-06-08 22:33:23 +02:00
Dave Davenport
3b297ee80d
Re-indent the code using indenter.
2021-06-01 10:44:23 +02:00
unisgn
c3e70d4e1a
add prefix matching method feature ( #1237 )
...
* add prefix matching method feature
* Update helper.c
* prefix matching regex memory leak fix
* prefix matching regex memory leak fix
Co-authored-by: francis <oxfrancis@outlook.com>
2021-05-29 13:39:31 +02:00
Dave Davenport
fa96f32846
More doxygen cleanups. (1 warning left I don't understand)
2021-05-05 22:39:03 +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
519b2a22eb
Add check for input == NULL.
2021-01-17 16:09:58 +01:00
lbonn
ab1ce4a4ca
Merge tag '1.6.1' into wayland
2020-11-25 19:18:07 +01:00
lbonn
7d4c5e8bd9
Run indenter
2020-11-25 19:10:26 +01:00
Dave Davenport
7061eb21ae
Indent round.
2020-11-03 23:57:02 +01:00
Dave Davenport
deb1e6a208
[RofiIconFetcher] Switch to gdk-pixbuf.
2020-10-20 20:38:13 +02:00
lbonn
807a2c0969
Merge remote-tracking branch 'upstream/next' into wayland
2020-10-18 21:25:18 +02:00
Dave Davenport
b4bbce4af5
[Helper] Add -normalize-match option.
...
Decomposes string and remove accent characters before matching.
This makes o match ö, é match e and more.
It is not a perfect implementation but works.
Currently disables the match highlighting.
Fixes : #1119
2020-09-30 21:56:37 +02:00
lbonn
afe553909d
Merge remote-tracking branch 'upstream/next' into wayland
2020-09-02 16:10:58 +02:00
Dave Davenport
97ac7c9348
[Matching] Make fuzzy matching non-greedy
2020-08-25 20:23:26 +02:00
lbonn
98a9635173
Make xcb and wayland implementations coexist
2020-07-24 19:30:02 +02:00
lbonn
7d94413675
Display something on wayland with layer shell
...
Based on sardemff7 previous wayland attempt
2020-07-24 19:30:02 +02:00
Dave Davenport
1a9e6450e3
[Helper] Throw error when shell parsing fails.
2020-05-04 14:10:35 +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
c4a4243616
[Theme] Add alpha channel to highlight color.
...
Fixes: 1033
2019-11-20 11:18:53 +01:00
Dave Davenport
8d9e403659
Update copyright.
2019-09-27 11:58:32 +02:00
Keith Collister
d9eb9f25a1
Added 'rofi/themes' to paths checked for theme files ( #1001 )
2019-08-04 21:04:26 +02:00
Kenneth Ho
be21fbae5d
add pythonic rows selection to -a and -u ( #985 )
2019-07-02 21:27:46 +02:00
Dave Davenport
e7da00dbff
[DMenu] Add format option to output string stripped from pango markup.
2019-05-04 10:24:59 +02:00
Dave Davenport
3c56761a76
[Helper] Add more error checking/reporting.
2019-02-10 14:32:21 +01:00
Dave Davenport
f49866bd8b
[Doc] Update documentation to match changed functions.
2019-02-10 14:26:06 +01:00
Dave Davenport
f879062417
[SSH] Add support for parsing port number from known hosts file.
...
* Store port number in history.
* Parse the [host]:port format.
* Update default ssh command to (optionally) add -p {port}.
Fixes : #580
2019-02-10 13:56:44 +01:00
Dave Davenport
8ea484349b
Remove unused variable.
2018-12-15 21:22:53 +01:00
Dave Davenport
6b96ae123b
Add an option to change the matching negation character.
...
Fixes : #877
2018-12-14 16:58:26 +01:00
Dave Davenport
f80e7d52bc
[Helper] Remove fixed key/values and accept keys with NULL as values.
2018-10-17 22:41:20 +02:00
Dave Davenport
e8edc42f9d
[Helper] Quick and dirty string replacer with optional keys block.
...
First (quick and dirty) version of a more advanced key replacer where
sets of text are only outputted if the contained key matches.
2018-10-16 21:01:45 +02:00
Dave Davenport
859a9c79d6
Indent the code.
2018-08-08 15:55:13 +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
b8592f8b99
Documentation updates.
...
* theme,
* view,
* textbox
* helper
2018-06-12 12:00:00 +02:00
Edward Betts
79adae77d7
Correct spelling mistakes. ( #722 )
2017-11-23 18:41:52 +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
ebffe5503d
Implement support for specifying negated match
...
- Prepending - inverts the matching result.
- Fix logic window/drun browser.
- Breaks API as argument token_match callback changed.
- Update tests.
Fixes : #665
2017-09-29 08:40:25 +02:00
Dave Davenport
a1ea3e268f
Add more configuration options to script mode, getting closer to dmenu.
...
- urgent
- active
- prompt
- message
2017-09-27 20:00:33 +02:00
Dave Davenport
8a99f0b7bd
[Script] Execute script + argument direction, do not pass run-command.
...
Fixes : #650
2017-08-14 17:28:25 +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