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
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
3b297ee80d
Re-indent the code using indenter.
2021-06-01 10:44: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
Dave Davenport
318a6d40ca
Add 'steal-focus' option instead of 'restore-focus' option.
...
Disable steal-focus by default.
Fixes : #1275
2021-04-13 11:35:34 +02:00
Dave Davenport
750dbad729
Add [no]focus restore option.
2021-03-27 16:28:27 +01:00
Dave Davenport
7061eb21ae
Indent round.
2020-11-03 23:57:02 +01: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
Dave Davenport
30735791b4
Run indenter.
2020-08-28 16:41:59 +02:00
Mike Dalessio
5bec191d2e
Follow Type=Link standard desktop entries with drun ( #1168 )
...
* [DRun] Introduce data structure changes for Link desktop entries
From the [freedesktop spec][1]:
> This specification defines 3 types of desktop entries:
> Application (type 1), Link (type 2) and Directory (type 3). To allow
> the addition of new types in the future, implementations should
> ignore desktop entries with an unknown type.
This commit adds an enum to capture these types, and adds `type` to
DRunModeEntry.
[1]: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
part of #1166
* [DRun] Sanity check Link entries and capture the URL
Note that we're introducing some logic that will differ depending on
the Desktop entry type (Application or Link). The logic is:
- if entry is Application type,
- then Exec is required
- and the value is saved in .exec
- and drun_mode_result calls exec_cmd_entry
- if entry is Link type,
- then URL is required (but is not saved in the DRunModeEntry)
- and drun_mode_result calls new function launch_link_entry
part of #1166
* [DRun] Launch desktop links via xdg-open
Note that this introduces a new dependency on xdg-open, which may not
be installed. In that case, rofi will display an error dialog
with something like:
"Failed to execute child process xdg-open (No such file or directory)"
which hopefully is explanatory enough for folks.
part of #1166
* Make drun options comments consistent and add a bit of whitespace
* [DRun] new config option drun-url-launcher for opening links
In previous commit, this was a hard-coded string.
part of #1166
2020-08-26 21:10:04 +02:00
Dave Davenport
2ccc65ff52
Add some ui benchmark code
2020-05-12 10:40:50 +02:00
Dave Davenport
9a3d4b1d2e
[Test] Fix compiler warning, theme test (bug in lexer) and more.
2020-04-26 11:43:14 +02:00
Dave Davenport
b169289996
Indent all the code.
2020-02-02 13:56:37 +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
aeecf34c27
[Window] Add thumbnail of windows as option.
2019-10-17 21:19:19 +02:00
Dave Davenport
aa35ecc40a
[DRun] Add keywords to match and printing.
2019-08-20 22:51:07 +02:00
Dave Davenport
f896146217
[DRUN] Add option to only show desktop files in certain categories
...
closes : #817
2019-08-09 19:33:23 +02:00
Dave Davenport
fadfae5433
[Window] Fix default value and help comment.
2019-03-29 11:24:10 +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
52204a527c
Add option to change location of cache dir.
...
-cache-dir
Fixes : #769
2019-02-08 20:43:53 +01:00
Dave Davenport
cac2eb1a7f
change default alt. window command to bring to current desktop.
...
Xkill is duplicate of shift-del (build in close). This is more useful.
Fix test-case.
Fixes : #902
2019-01-21 18:09:34 +01:00
Yoav
238648b5b2
Add history ignore ( #846 )
2018-12-31 00:35:00 +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
76ceac1f20
[DRUN] Add drun-display-format.
2018-10-17 23:02:50 +02:00
Dave Davenport
859a9c79d6
Indent the code.
2018-08-08 15:55:13 +02:00
Dave Davenport
4538303be6
[DRUN] Add option to show actions in drun.
...
Fixes : #836
2018-07-28 11:12:11 +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
c96ebfc2de
Re-add icon-theme option.
2018-06-09 22:17:32 +02:00
Dave Davenport
1aa79a9a06
[DRun] Set the default for match fields in the config to the correct value.
2017-12-31 14:13:48 +01:00
Dave Davenport
9cd1e3fac2
Indent
2017-11-07 20:04:07 +01:00
Dave Davenport
4ac428bace
[Combi] Add hide prefix option.
2017-11-07 20:03:42 +01:00
Askrenteam
0dc71fcc00
Added option -name-only to match only desktop entry name with drun ( #690 )
...
* Added option -name-only to match only desktop entry name with drun
* fixed indent and xrdump test
* fixed test
* option -drun-match-fields
* option -window-match-fields
* matching fields as static in window/drun + enums for field indexes
* prevent window_mode_parse_fields() from executing twice
2017-10-21 11:18:52 +02:00
Dave Davenport
9ae62960c1
Indent files.
2017-10-05 17:45:50 +02:00
Dave Davenport
2784959fc1
Allow maximum history size to be configured.
...
Fixes : #613
2017-10-03 19:59:35 +02:00
Quentin Glidic
67db30ad05
config: Only default-enable window mode if built
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-10-02 19:45:06 +02:00
Dave Davenport
3c52f15140
Move more enums to rofi-types.h
2017-08-18 11:38:54 +02:00
Dave Davenport
ecc9bcc270
Re-add some of the old theme options, so theme converter use them.
...
- line margin
- separator style.
- fake transparency.
- line padding.
- scrollbar width
2017-07-06 18:20:32 +02:00
Dave Davenport
7e1c02b04c
[OldTheme] Re-add the padding/bw option.
2017-07-03 09:23:03 +02:00
Quentin Glidic
3067f67fd1
drun: Use Adwaita and gnome as fallback themes
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-07 12:41:09 +02:00
Quentin Glidic
8a6bdd827d
config: Add a setting to disable icons loading
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 19:08:33 +02:00
Dave Davenport
f3b4af1da0
window: Add icons support (quick and dirty)
2017-05-30 19:08:20 +02:00
Quentin Glidic
03eb4a3abb
drun: Implement icon support
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 19:01:01 +02:00
Quentin Glidic
7fd8ce4c0a
Add Meson build system support
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 21:50:07 +02:00
Dave Davenport
04e764c8e6
[Plugins] Add -no-plugins and -plugin-path options
...
* -no-plugins disables the loading of plugins.
* -plugin-path specifies the directory used by rofi to look for plugins.
2017-04-21 09:48:03 +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