Commit graph

3765 commits

Author SHA1 Message Date
Dave Davenport
5d6876a516 [Theme] Add inherit highlight on default theme. 2020-09-06 12:07:57 +02:00
Dave Davenport
402aef334e [Doc] Add warning icon to release note. 2020-09-06 12:05:38 +02:00
Dave Davenport
bd332e7b7e [Doc] Add small (Extra) highlight section to rofi-theme 2020-09-06 11:59:41 +02:00
Dave Davenport
f5bb9d2cbf [Widget] Fix border drawing code.
Fixes: #1177
2020-09-05 11:12:54 +02:00
Dave Davenport
5deac0a697 Try to improve bison check so it works on bsd 2020-09-03 21:08:17 +02:00
lbonn
e4e59b99ea
Fix an unsafe use of strchr in dmenu mode (#1176)
Found with valgrind
2020-09-02 15:46:44 +02:00
Dave Davenport
2fbdf71951
Update bug_report.md 2020-09-01 10:51:14 +02:00
Dave Davenport
479063e87f Release notes, small markup fix 2020-08-30 13:57:20 +02:00
Dave Davenport
7beee6c3c2
Update release-1.6.0.markdown 2020-08-29 14:01:39 +02:00
Dave Davenport
956bf5dc91
Update release-1.6.0.markdown 2020-08-29 14:00:42 +02:00
Dave Davenport
bca0a47dbf Remove unneeded '# from shipped themes. 2020-08-29 11:16:39 +02:00
Dave Davenport
e8f78886d5 Fix showing of error message (-e ) in arther,paper-float,sidebar 2020-08-29 11:14:23 +02:00
Dave Davenport
c65f16576b Update changelog releasenotes 2020-08-29 10:55:51 +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
120ce36055 [ReleaseNotes] Update title + add examples script. 2020-08-25 21:35:56 +02:00
Dave Davenport
3d531a9cfc Update release notes 2020-08-25 21:02:32 +02:00
Dave Davenport
97ac7c9348 [Matching] Make fuzzy matching non-greedy 2020-08-25 20:23:26 +02:00
Dave Davenport
4f1169e326 Add extra timing debug.
Issue: #1162
2020-08-19 22:44:55 +02:00
Dave Davenport
802a9489e7 [Build] Try to fix make dist for meson. 2020-08-18 13:02:49 +02:00
Dave Davenport
13d291c6d4 Merge remote-tracking branch 'origin/mesonfix' into next 2020-08-18 12:58:48 +02:00
Dave Davenport
001a293b18 [ReleaseNotes] tiny update to header. 2020-08-18 11:12:10 +02:00
Dave Davenport
77b761aca5 [meson] Test possible 'workaround' for meson 0.55 issue
Make xcb a non-nested subproject (via simlink).

Issue: #1159
2020-08-01 11:28:48 +02:00
nick87720z
57ee69367d
micro-refactoring: widget.c (#1148)
* widget.c: microrefactoring

* widget.c: join enable/disable functions
2020-07-11 14:48:58 +02:00
Dave Davenport
641cd4ef46 [Widget] Fix inconsistency in argument checking. 2020-07-09 17:47:32 +02:00
Dave Davenport
5d3cd8a83f Update README to include both config and known_hosts.
Issue: #1154
2020-07-08 19:16:48 +02:00
Dave Davenport
f93033ebaa [Test] Update check building. 2020-07-05 16:07:55 +02:00
Dave Davenport
72138c1a10 release note, update image. 2020-07-05 16:00:39 +02:00
Dave Davenport
0b1cef778a Update releasenotes 2020-07-05 15:59:23 +02:00
Dave Davenport
fc0ea0b22e Update changelog a bit. 2020-07-05 11:41:04 +02:00
Dave Davenport
d6ac2f0f5b
Add language requirement to CONTRIBUTING. 2020-06-26 10:51:16 +02:00
nick87720z
e52094ee7a
Widget bg draw (#1147)
* Improved background draw code

- Better to read (precalculated coordinates)
- Unnecessary line_to in the end
- Don't use radius in calculations if zero

* Background draw - separate rounded rect function

* Limit background & border overlap size

Overlap is too good against artifacts when stiching antialiased areas to
be avoided, unless intermediate image is used for additive stiching. But
it doesn't look good with transparent borders, when overlaping background
is visible. It seems, that 1px overlap is right enough to completely
prevent artifacts. Though things may differ if one if side is 1px or
even 0px, while adjacent is still enough thick.

* Style: alignment, less noise, limit var scope
2020-06-17 14:10:48 +02:00
Dave Davenport
6bf823267e [ThemeSelector] Use rasi config file format, not xresources. 2020-06-17 13:53:18 +02:00
Dave Davenport
8c51b9ec3e [Doc] update rofi-theme(5) with mm size. 2020-06-09 22:57:02 +02:00
Dave Davenport
bf17e1c65e When no dpi set (-1) set the default one for fonts handling. 2020-06-09 22:51:44 +02:00
nick87720z
fb2ba8ada3
Millimeter support for distance (#1144) 2020-06-09 22:19:43 +02:00
Dave Davenport
2da2a1f4dc [rofi-sensible-terminal] use xfce4-terminal.wrapper instead of xfce4-terminal
xfce4 terminal does not follow the 'default' arguments.
2020-06-09 18:12:00 +02:00
nick87720z
e275ed2283
Again final workaround for #303 (#1142) 2020-06-09 17:17:50 +02:00
Quentin Glidic
3d5f0f086c
script: Fix parsing of extras (#1141)
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2020-06-06 18:32:14 +02:00
nick87720z
ae701ce54e
Entry info was not used at entry selection (#1140) 2020-06-06 18:28:39 +02:00
Dave Davenport
3763517abf Small release note tweak. 2020-06-02 10:46:53 +02:00
Dave Davenport
4821320833 [Listview] Try to fix sizing of barview.
Issue: #1137
2020-06-02 09:17:06 +02:00
Dave Davenport
6a6216af13 Update release notes. 2020-05-30 13:28:45 +02:00
Dave Davenport
da8c666e80 [Script] Initialize info entry. Don't pass entry at custom input.
Fixes: #1138
2020-05-30 10:44:37 +02:00
Dave Davenport
db308d2ed5 Add initial release notes. 2020-05-28 11:42:55 +02:00
ncoder-1
25a20f7b1c
Update INSTALL.md (#1136)
Added FreeBSD package install
2020-05-27 14:02:29 +02:00
Dave Davenport
1342b733af [Script] Add 'info' row option, that gets passed to ROFI_INFO environment. 2020-05-24 19:10:49 +02:00
Dave Davenport
0e880e76a2 [Window] On window name list, Check if we go out of range. 2020-05-24 17:14:12 +02:00
Dave Davenport
135ff94a79 Fix XDG_USER_CONFIG_DIR to XDG_CONFIG_HOME. 2020-05-23 15:27:15 +02:00
Dave Davenport
3604b12fde Add check that looks if rofi is running inside rofi script mode. 2020-05-21 09:35:55 +02:00