Commit Graph

91 Commits

Author SHA1 Message Date
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
Kirottu
cc6680611a Made Arch section in README.md 2023-04-25 21:10:39 +03:00
Michał
c15f0513b4 feat: add nix flake (#17)
* feat: add nix flake

* docs: add info about plugins in nix

* Removed .envrc

---------

Co-authored-by: Kirottu <arnovaara@gmail.com>
2023-04-25 21:09:05 +03:00
Kirottu
eafb676585 Working Randr plugin for Hyprland 2023-04-24 08:20:30 +03:00
Ivordir
0874e09c31 Fix out of bounds panic (#16) 2023-04-15 18:11:04 +03:00
Ivordir
1119137d27 Add use_pango option for Match (#15) 2023-04-15 08:02:23 +03:00
Kirottu
ca8255c532 Revert "Create rust.yml"
This reverts commit aac220c3b4.
2023-04-14 12:38:32 +03:00
Kirottu
aac220c3b4 Create rust.yml 2023-04-14 12:34:26 +03:00
Kirottu
41104dcdb1 Made default config more spatious and added comments, made README reference the default config 2023-04-14 11:19:23 +03:00
Kirottu
08114309a3 Switched to summing exec and name matches in the Applications plugin 2023-04-14 08:31:03 +03:00
Kirottu
78acd78d66 Fixed incorrect rustls feature from rink and translate plugins 2023-04-13 14:31:18 +03:00
Kirottu
df6491b6b5 Changed example config ignore_exclusive_zones to false, added an example config to examples/config.ron 2023-04-13 14:19:47 +03:00
Kirottu
5b0b18e449 Merge branch 'master' of https://github.com/Kirottu/anyrun 2023-04-13 14:16:01 +03:00
Andrej Benz
61773e2d79 added option for fullscreen window (#12)
* added option for fullscreen window

* added option for fullscreen window

* WIP center & top positions with proper positioning

* Added enum for absolute and fractions for the vertical offset and width

* fixed readme in regards to relative numbers

* Fixed default background color for the main box

---------

Co-authored-by: Kirottu <arnovaara@gmail.com>
2023-04-13 14:13:40 +03:00