Commit Graph

104 Commits

Author SHA1 Message Date
Kirottu
8da0ec5ff7 Fixed an issue where multiple instances could run at the same time 2023-06-17 12:40:20 +03:00
loqusion
2188800388 feat(applications): handle Path field in desktop entries (#46)
* feat: handle `Path` field in desktop entries

* Fix code style issue
2023-06-14 19:41:19 +03:00
Kirottu
8d595daf52 Fix desktop entries with Terminal=true not working 2023-06-05 21:22:47 +03:00
Kirottu
38517c09d0 Fix broken example plugin 2023-06-02 23:02:05 +03:00
NotAShelf
5f01f30235 provide a valid package for the buiild CI (#42) 2023-05-31 16:23:34 +03:00
NotAShelf
8e588204c0 fix overlapping URLs (#41) 2023-05-31 07:28:23 +03:00
Kirottu
55647caaab Update cachix.yml
Change main branch to master branch
2023-05-30 21:25:06 +03:00
NotAShelf
86894dc701 fix deprecated URL literals (#40) 2023-05-30 17:03:49 +03:00
NotAShelf
f1776a1dc4 provide a binary cache for anyrun (#39)
* upload built binaries to cachix

* add cachix instructions to the README
2023-05-30 16:58:34 +03:00
Jake Stanger
2b9ced1bf0 feat(rink): extract description from result (#37)
This splits the rink result to move the bracketed text into the description, meaning copying the result will not contain text such as `(dimensionless)` or `(length)`, while still keeping this information present.
2023-05-30 12:31:18 +03:00
Kirottu
7bc81a9dca Merge branch 'master' of https://github.com/Kirottu/anyrun 2023-05-27 22:12:50 +03:00
Kirottu
12020f685e Only create widgets once if configure event is received 2023-05-27 22:12:41 +03:00
Kirottu
e1fb5ff99e Added note about desktop entries to applications/README.md 2023-05-16 11:52:31 +03:00
Kirottu
063d5b91b4 Added desktop entry to overriding criteria
Made overriding dependent on both the icon and the name being identical,
this should prevent desktop entries from being mistakenly overridden.
2023-05-15 14:04:55 +03:00
Kirottu
de606380a2 Made language delimiter in the translate plugin configurable 2023-05-15 13:51:04 +03:00
Kirottu
5c0765fdba General improvements to the translate plugin, added option to specify source language 2023-05-15 13:46:39 +03:00
Johnny Doe
9d151d9725 remove kidex-common hash (#32)
not needed anymore as upstream started using an actual package of kidex-common
2023-05-11 20:28:09 +03:00
Kirottu
5f2067e22f Added show_results_immediately to example config 2023-05-11 10:27:46 +03:00
Kirottu
7f29aa8224 Added ability to immediately display results, switched to clap for argument parsing 2023-05-11 10:23:14 +03:00
Kirottu
c52d0d02e5 Switched to using a properly versioned version of kidex-common 2023-05-11 08:12:27 +03:00
Kirottu
31b0d44eee Switched to using a properly versioned version of kidex-common 2023-05-11 08:11:49 +03:00
Kirottu
9f920a2108 Made user desktop files override system desktop files 2023-05-04 15:14:57 +03:00
Kirottu
d522c035d0 Added max_entries to default config 2023-05-03 10:54:19 +03:00
Kirottu
c4e0940ce5 Added max_entries to limit amount of total entries 2023-05-03 10:53:41 +03:00
Kirottu
b4b13ffdae Merge branch 'master' of https://github.com/Kirottu/anyrun 2023-05-02 22:42:48 +03:00
Kirottu
594fcf2bd0 Removed debug print message 2023-05-02 22:41:53 +03:00
Michał
599fc1d44d fix: fix nix build (#24)
* fix: fix nix build

* feat: automatically prefix ANYRUN_PLUGINS with the nix store
2023-05-02 20:51:46 +03:00
Kirottu
9fed55e692 Load plugins from paths provided in the env var ANYRUN_PLUGINS 2023-05-02 13:51:03 +03:00
Kirottu
81b00ad52b Added a README to each of the plugins, giving an overview on how they work 2023-05-02 08:37:43 +03:00
Kirottu
8a4c0ae397 Trim shell command 2023-05-02 08:37:17 +03:00
Kirottu
0e5fd5d1bf Fixed translate crashing on unknown language code, added Ewe 2023-05-01 22:40:19 +03:00
Kirottu
681032e0f2 Added Dictionary plugin to README 2023-05-01 18:21:59 +03:00
Kirottu
9603381da7 Display config error in the main Anyrun window, if exists 2023-05-01 16:13:05 +03:00
Kirottu
24719751d4 Use default config if the config file parsing/loading fails
This could happen for example after Anyrun has just been updated
and there were changes to the config file format.
2023-05-01 15:40:27 +03:00
Kirottu
465ee1d266 Option to close window when a click is received outside the main box 2023-05-01 15:28:39 +03:00
Kangwook Lee (이강욱)
0aabb332c9 Add max_entries config to plugins (#19) 2023-05-01 15:16:11 +03:00
Kirottu
90ecba8261 Fixed plugin example in README 2023-05-01 11:19:12 +03:00
Kirottu
8e5bff9e91 Switched to using proc macros for the anyrun_plugin crate
This allows for plugins to decide on whether or not a mutable borrow or
a normal borrow is needed of the shared data. It can also now be omitted
alltogether.
2023-05-01 11:15:02 +03:00
Kirottu
042c5f0ad1 Fixed desktop file scrubbing failing when user applications dir does not exist 2023-04-30 10:13:07 +03:00
Kirottu
beaf2549ac Added dictionary plugin and switched from a Mutex to an RwLock in the anyrun_plugin crate
This change means that `get_matches` no longer has access to a mutable version of the
state of the plugin. A redesign is needed to allow for this if needed.
2023-04-29 18:18:47 +03:00
Kirottu
3a1648cf37 Fix wacky alignment for matches with long titles 2023-04-29 16:21:31 +03:00
Kirottu
7f8c313f2a Switch to repology packaging badge 2023-04-27 21:13:53 +03:00
Kirottu
356d4f619a Merge branch 'master' of https://github.com/Kirottu/anyrun 2023-04-27 16:22:24 +03:00
Kirottu
b2f3e67cb4 Stdin plugin 2023-04-27 16:22:18 +03:00
Kirottu
e11aa35503 Fixed outdated README.md plugin example 2023-04-27 10:56:26 +03:00
Kirottu
3fdf22bd4e Create FUNDING.yml 2023-04-27 07:35:40 +03:00
Kirottu
e9e07b17b4 Set proper namespace for layer 2023-04-26 12:51:43 +03:00
Kirottu
f56d95fa31 Added prefix & config to Randr 2023-04-25 22:06:18 +03:00
Kirottu
b4f1f292bb Merge branch 'randr' 2023-04-25 21:45:23 +03:00
Kirottu
cfeff7d08f Icons and back match for Randr 2023-04-25 21:45:01 +03:00