Dave Davenport
0e90fb065f
[Build] Fix some compile warnings.
2022-07-23 00:28:55 +02:00
Dave Davenport
af976c3779
[XCB] Add a flag to enable work around for #611 .
...
In issue #611 there is a workaround implemented for an issue within
xserver: https://bugs.freedesktop.org/show_bug.cgi?id=104323#c1 ,
https://gitlab.freedesktop.org/xorg/xserver/-/issues/300 .
With a latest update in xkeyboard-config this workaround breaks rofi,
see #1642 and
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/341 .
This commits disabled this work-around (can be re-enabled with
-xserver-i300-workaround flag).
Hopefully this restores correct rofi functionality.
issue: #611 #1642
2022-07-19 15:50:42 +02:00
Dave Davenport
c37186a911
[Options] explicitely mark offset deprecated.
2022-07-02 20:55:16 +02:00
Dave Davenport
e2a7cfdd52
[DMenu] Huge list speedups ( #1621 )
...
* Don´t refilter on each key-press.
* Make sure refiltering is not completely starved.
* Force refilter before accepting entry
* Go into 'timeout' refilter mode only after certain # elements.
* [DMenu] threading with getdelim to speed up reading.
* [View] Remove debug output.
* [dmenu] Fix pre-read.
* [DMenu] Make sure that async mode cannot block
* Remove mutex for IPC via pipes.
* [Dmenu] Small cleanup.
* [Scrollbar] Fix scrollbar overflowing on big lists.
* Fix stack overflow by creating to many filter jobs.
* [Doc] Add new option to manpage
2022-04-20 21:53:44 +02:00
Dave Davenport
f088d75ee4
Cleanup some duplicate checks.
2022-03-15 01:00:56 +01:00
Dave Davenport
6bb9262245
[Config] workaround for int data type passed to string option in configuration file/cmdline.
2022-03-09 17:55:29 +01:00
Dave Davenport
1d4a8227b2
[config] dump modes instead of modi
2022-03-02 18:46:59 +01:00
Dave Davenport
4e06bff706
Change modi -> modes
...
issues: #1599
2022-02-23 22:42:56 +01:00
Dave Davenport
eff3b86c94
Bump copyright date.
2022-02-07 23:17:15 +01:00
Dave Davenport
2817debc04
[XrmOptions] Small fix in parsing cmdline option.
2022-01-25 20:29:06 +01:00
Dave Davenport
bdea8b9787
Mark -combi-hide-mode-prefix as deprecated.
2022-01-25 11:23:40 +01:00
Dave Davenport
85c6545a43
Merge List and Array type into one. ( #1572 )
...
* Merge list and array into one.
* [Lexer] Only use string without " in list
* Some cleanups
* Cleanups based on feedback.
2022-01-25 09:57:59 +01:00
Jakub Jirutka
50b85ba954
Add -combi-display-format ( #1570 )
...
Implement a new option -combi-display-format (analogous to
-drun-display-format) that allows to change position appearance of
the mode name in the combi entries.
2022-01-22 22:03:10 +01:00
Dave Davenport
e563cd3ad0
Add -replace option
...
Issue: #568
2021-12-22 21:03:54 +01:00
Dave Davenport
5f7563dae3
Update cmdline separator and add to manpage.
2021-12-17 19:04:02 +01:00
Dave Davenport
2614fe4425
[Config] Change separator to '#'.
2021-12-04 22:13:31 +01:00
Dave Davenport
8f1aa8481d
[Config] when parsing -theme- cmd option, allow throwing errors.
2021-12-02 08:51:32 +01:00
Dave Davenport
50ac47e24e
[Config] Skip single element options.
2021-12-02 08:47:26 +01:00
Dave Davenport
e3f41474fd
[Config] Allow all theme properties to be set from commandline
...
Bit hack solution, but `listview { scrollbar: false; }` can be reached
by: -theme-listview-scrollbar false
2021-12-02 08:42:06 +01:00
Dave Davenport
f72d6135bd
[Config] on -dump-config do not include -theme option.
...
But print the right line at the bottom.
fixes : #1534
2021-11-29 19:31:31 +01:00
Dave Davenport
6ec5bfba64
[Config] Downgrade unknown options from error to warning.
2021-10-09 18:28:55 +02:00
Dave Davenport
0e70d8a5c9
[Config] Add 'in your face' error message about deprecated theme setting.
...
Issue: #1468
2021-09-21 12:51:57 +02:00
Dave Davenport
b9e28942bf
[CMD] If failed to convert commandline option to new config do not stop.
...
Fixes : #1425
2021-09-08 14:20:24 +02:00
Dave Davenport
954fc728b2
[Cleanup] Using clang-tidy
2021-08-18 01:16:45 +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
Ian C
69c6004681
fix typo ( #1355 )
2021-07-29 20:46:23 +02:00
Dave Davenport
9f71c4f78d
[Config] Load default config file in at startup
...
* load via resources doc/default_configuration.rasi
* print the configuration options on dump-config
2021-07-10 00:25:20 +02:00
Dave Davenport
42dde494c1
[Config] Remove some debug printfs.
2021-06-27 12:23:20 +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
TonCherAmi
0ff0866be7
[FileBrowser] Add sorting-method. ( #1340 )
...
* [FileBrowser] Add sorting-method.
* [FileBrowser] Convert -file-browser-directory to new config format.
2021-06-27 09:28:21 +02:00
Dave Davenport
330402aa13
[FileBrowser] rename file-browser to filebrowser
...
In preperation to a overhaul of config system.
2021-06-24 19:11:56 +02:00
Dave Davenport
0f21541327
[Configuration] Add start of more 'theme' based configuration.
...
Nested CSS blocks in configuration {} are parsed into
rofi_configuration.
2021-06-14 19:29:05 +02:00
Dave Davenport
9d85bcb914
Update copyright header.
2021-06-09 14:50:39 +02:00
Dave Davenport
0726ed9f33
[Config] Remove fake-transparency/background option.
...
* fake-transparency
* fake-background
2021-06-08 23:07:52 +02:00
Dave Davenport
e0a3067f69
[Config] Remove old unused options.
2021-06-08 23:04:19 +02:00
Dave Davenport
dc46457f71
Remove deprecated theme options
...
* color_window
* color_urgent
* color_active
* color_normal
2021-06-08 22:44:15 +02:00
Dave Davenport
1a9dac80a9
Remove some deprecated options.
...
* lines
* columns
* width
2021-06-08 22:33:23 +02:00
Dave Davenport
b478de3d7d
Remove deprecated option, fix typo in manpage.
2021-06-08 22:02:29 +02:00
TonCherAmi
62ec84b5e6
[Doc] Document -drun-url-launcher. ( #1328 )
2021-06-08 20:25:05 +02:00
Dave Davenport
cb250fa73a
Add fallback icon option.
2021-06-08 20:21:28 +02:00
Dave Davenport
0db6412ae2
[Doc,Config] Remove line-margin|padding and fix doc mistake.
...
*Deprecated* option.
2021-06-08 12:17:59 +02:00
TonCherAmi
c1244b066f
[FileBrowser] Allow setting startup directory ( #1325 )
2021-06-05 14:22:48 +02:00
Dave Davenport
3598ebe603
[Config] Quick hackish workaround for handling dynamic options from config file
...
Quick hackish workaround for having options that are added *after*
config file is parsed.
This needs to be replaced once the config system is revamped.
Fixes : #905
2021-06-01 12:17:59 +02:00
Dave Davenport
3b297ee80d
Re-indent the code using indenter.
2021-06-01 10:44:23 +02:00
Dave Davenport
5a7df38ccd
[Configuration] Remove old configuration format.
2021-06-01 10:43:25 +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
37044dc27e
Remove -dump-xresources option update manpage.
2021-05-04 20:44:38 +02:00
Dave Davenport
2516173a3d
Remove parsing of xresource config settings via Xserver.
...
This option is deprecated.
2021-05-04 19:50:23 +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