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
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
7e1c02b04c
[OldTheme] Re-add the padding/bw option.
2017-07-03 09:23:03 +02:00
Dave Davenport
fcd9878a3b
[Config] Remove stray printf, add compiler hints.
2017-06-27 09:28:33 +02:00
Dave Davenport
5eb9fad4e3
[Helper] Fix render return success, not fail.
2017-06-26 20:24:33 +02:00
Dave Davenport
cf7d0866d5
[Helper] Add basic error checking to svg loading code.
2017-06-26 20:16:20 +02:00
Dave Davenport
03d6ac4de3
Run indenter.
2017-06-25 20:25:17 +02:00
Dave Davenport
e28b038d62
Check user data dir when looking for theme.
...
- set default textbox color to black.
2017-06-22 08:54:29 +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
9a62bfd172
Run indenter.
2017-06-03 20:35:50 +02:00
Dave Davenport
4cd2d87ed2
Merge remote-tracking branch 'origin/master' into barview
2017-06-02 18:52:28 +02:00
Dave Davenport
1d622aa59c
Change ThemeHighlight to RofiHighlightColorStyle
2017-06-02 16:46:28 +02:00
Dave Davenport
48bf1709b6
Rename HL_ to ROFI_HL_ and fix box test.
2017-06-02 16:09:20 +02:00
Quentin Glidic
51d34b662e
helper: Add API to support startup notification
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02 14:54:21 +02:00
Quentin Glidic
0daab1844e
helper: Add execute helper
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02 12:50:32 +02:00
Quentin Glidic
1d99363ce9
helper: Move cairo_image_surface_create_from_svg to helper.c
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 13:36:11 +02:00
Quentin Glidic
46dee2671d
x11-helper: Rename xcb.c
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 00:12:58 +02:00
Dave Davenport
f3b4af1da0
window: Add icons support (quick and dirty)
2017-05-30 19:08:20 +02:00
Quentin Glidic
a9199e3e17
Use libnkutils for keybindings
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-29 16:51:06 +02:00
Dave Davenport
dca5caaa47
[Theme] Add small caps options (not working?)
2017-05-22 09:24:05 +02:00
Dave Davenport
72afc7b039
Add strikethrough highlight method.
2017-05-18 07:59:37 +02:00
Dave Davenport
1f76e2c3f3
Small code refactor to work around mis-detect static code analyzer.
2017-05-03 17:41:14 +02:00
Dave Davenport
ce4b1b23b4
Re-Indent code
2017-04-27 22:59:14 +02:00
Dave Davenport
fb318f0ff8
Cleanups, fix arguments mismatch
2017-04-23 15:17:15 +02:00
Dave Davenport
dc2de0d042
[RUN] Expand the paths found in /home/mkoedam/.local/bin/:/opt/mpd/bin/:/home/mkoedam/.local/bin/:/opt/mpd/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
2017-04-19 09:26:35 +02:00
Dave Davenport
97fe894f43
Add some theme name resolving functions.
2017-04-17 17:46:01 +02:00
Quentin Glidic
9a68b22009
Fix licenses headers
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15 12:32:05 +02:00
Quentin Glidic
cfbe4027bc
Consolidate logging
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15 12:07:29 +02:00
Dave Davenport
ba9e1fb92a
Switch to g_{debug,warning} instead of g_log
2017-04-15 11:37:50 +02:00
Dave Davenport
b227fece10
Fix some warning that converity scan picked up.
2017-04-06 19:55:47 +02:00
Dave Davenport
a754815d14
Add converter back for old theme format.
2017-04-02 12:32:11 +02:00
Dave Davenport
9ae1344d56
Improve error message when called with -show
2017-03-31 13:47:44 +02:00
Dave Davenport
652749081a
Fix missing doxygen documentation
2017-03-11 13:20:46 +01:00
Dave Davenport
3f4d58ef53
Indent code.
2017-03-04 19:41:06 +01:00
Dave Davenport
dc7e4aa96e
Install some headers for use in plugins
2017-02-17 14:06:31 +01:00
Dave Davenport
f7b4bebb9b
Rename token_match to helper_token_match.
2017-02-17 09:58:47 +01:00
Dave Davenport
87251a991c
Indent
2017-02-09 08:27:26 +01:00
Dave Davenport
7b3e0918cf
Reduce amount of paths created
2017-02-06 23:45:46 +01:00
Dave Davenport
db92ff1f41
Add border radius to border around widget.
2017-02-06 21:17:56 +01:00
Dave Davenport
8ef7b4b794
Don't recreate every string everytime.
2017-02-03 20:49:16 +01:00
Dave Davenport
8f4a4d51c6
Don't apply fonts that don't result in family name or have size 0.
...
Issue: 554
2017-02-03 09:54:18 +01:00
Dave Davenport
0a31175da5
If no filter specified, match everything with default matcher
2017-01-30 08:23:33 +01:00
Moritz Maxeiner
6b9dc1d081
Combi mode: Bang mode prefixes with len>1 ( #542 )
...
* Combi mode: Bang mode prefixes with len>1
This is required to match on modes that share a prefix.
Let 'power' and 'pass' be such modes for the following explanation:
Previously, only the first character of after the bang was compared,
so '!p' would always be matched to the 'pass' mode and there was no
way to limit selection in combi mode to the 'power' mode.
Now we can use prefixes of arbitrary length following the bang
such as '!po' (matches 'power' mode), or '!pa' (matches 'pass' mode).
Prefixes of length 1 are unchanged compared to the previous
behaviour, i.e. '!p' will still match 'pass'.
* Combi-mode prefixes should be utf-8 aware
2017-01-26 19:46:46 +01:00
Dave Davenport
0ebd6a260b
Add auto-detect option to DPI setting.
2017-01-21 12:58:52 +01:00
Dave Davenport
b5d094fa35
Update theme specifcation documentation.
2017-01-18 09:43:58 +01:00
Dave Davenport
d8ca3e01de
fzf matching remove debug
2017-01-11 09:43:24 +01:00
Dave Davenport
19b023b221
Split sorting option. one for sorting. One to force levenshtein.
2017-01-11 09:42:37 +01:00
Dave Davenport
4452b08288
Move fzf matcher into helper
2017-01-11 09:20:19 +01:00
Dave Davenport
bfae111579
Fix indenting and header commenting.
2017-01-11 09:11:19 +01:00
Dave Davenport
25dff63006
Improve error handling string.
2017-01-09 22:40:11 +01:00
Dave Davenport
854aa55453
Better error reporting (1)
2017-01-09 18:32:26 +01:00
Dave Davenport
f42e4ffbd7
Remove old cairo color set functions
2017-01-09 08:32:16 +01:00
Dave Davenport
713d41f619
Allow matching highlighting to be set. Fixes #522
2017-01-09 00:09:02 +01:00
Dave Davenport
baab2047ad
Indent magic, rework makefile so lexer and yacc file are not passed.
2017-01-08 21:36:06 +01:00
Dave Davenport
26efbecbc3
Fix multiple -theme-str lines parsing, fix num lines
2017-01-08 17:18:49 +01:00
Dave Davenport
c57e7348d2
Add some better error message. Allow -theme-str option to override part of theme
2017-01-08 16:09:24 +01:00
Dave Davenport
22e2d7587d
Update copyright to 2017.
2017-01-03 17:59:28 +01:00
Dave Davenport
2220b75467
Fix two issues detected by coverty. 1.) copy /paste error. 2.) dead code
2016-11-30 08:41:47 +01:00
Dave Davenport
84f7ec2f0e
Fuzzy matcher, take simple escaping into account when creating regex.
2016-11-26 17:18:38 +01:00
Dave Davenport
b1a44cc65e
Update code documentation
2016-11-15 21:54:31 +01:00
Dave Davenport
7e74d39a01
Fix indentation
2016-11-15 08:24:27 +01:00
Dave Davenport
c86a28ca70
Small code restructure
2016-11-15 08:24:06 +01:00
Dave Davenport
d22920fd5e
Backspace->BackSpace
2016-11-14 16:58:43 +01:00
Dave Davenport
fcf3c33415
Fix keybinding with Shift in name. Alt-Shift-S -> Alt-S. Alt-Shift-1 -> Alt-exclam
...
+ indent.
2016-11-14 16:25:04 +01:00
Dave Davenport
27cef3c9ae
Fix #497 : Create cache dir if not exists.
2016-11-12 11:28:40 +01:00
Dave Davenport
ed6cb59b5d
Fix crash on wrongly queued ViewState (thx to teto)
2016-11-02 18:24:20 +01:00
Dave Davenport
4c5df96fcd
Pull config option access from out of separator widget.
2016-11-01 08:04:39 +01:00
Dave Davenport
86b6beb1e9
Update some code.
2016-10-28 23:28:49 +02:00
Dave Davenport
fb459e1660
Make scrollbar behave better
2016-10-26 08:24:34 +02:00
Dave Davenport
a38ac9caf3
Update scrollbar behaviour, so dragging is more natural. (limit range from hw/2 to h-hw/2)
2016-10-25 21:19:39 +02:00
Dave Davenport
7b3b68462e
Fix memory leak in box and listview widget, add coverage make target. (ggcov and lcov)
2016-10-18 13:49:24 +02:00
Dave Davenport
f0981d6697
Indenting, comments
2016-10-15 15:39:08 +02:00
Dave Davenport
ce341f6885
Document more headers.
2016-10-14 16:46:54 +02:00
Dave Davenport
eb5f169af0
Remove error check for large windows as it is incorrect often. Fix issue 468
2016-10-13 18:11:15 +02:00