Commit graph

162 commits

Author SHA1 Message Date
speedie 1a4f2c08ef Replace sed -i with sed for *BSD compatibility 2023-06-24 23:30:03 +02:00
speedie c7632f342e Fix generate.sh
Fix generate.sh, it should now generate properly. Also remove the actual
protocols, the user should generate those, not me.
2023-06-24 21:12:18 +02:00
speedie b4dd4fc383 Add documentation for spmenu_test
Add documentation for spmenu_test, also improve Markdown format
consistency.
2023-06-24 19:55:11 +02:00
speedie c0cd874348 Use /usr/bin/env bash instead of /bin/bash in the spmenu_make script for
consistency with spmenu_run and spmenu_test
2023-06-24 04:22:15 +02:00
speedie f0b22fd14d Add some more functions 2023-06-23 01:08:36 +02:00
speedie e9f88bbb50 Auto refresh enabled by default 2023-06-23 00:56:07 +02:00
speedie f6d4ea8cb9 Add some functions that can be defined in the configuration file 2023-06-23 00:55:03 +02:00
speedie aa33711795 Replace read -r code with mapfile
This may break compatibility with Bash 3, but that shouldn't really
matter much.
2023-06-23 00:49:56 +02:00
speedie 2c256c6d5f Remove entry validation, not very useful and breaks several features
Still need some speed improvements
2023-06-23 00:38:44 +02:00
speedie e22c5f7e75 Simplify caching of desktop entries
This commit simplifies the caching of desktop entries. Previously
spmenu_run would cache each desktop entry into a cache directory, of
course using it's own format and then parses that yet again to add it to
the arrays. This is terribly inefficient and wastes the user's valuable
space.

With this commit, the entries are parsed and directly written to the six
cache files, which spmenu can then grab from in plain text, without any
parsing. Significantly speeds up the caching and saves disk space.
2023-06-22 23:27:56 +02:00
speedie 37dfc0548c cleanup macOS check 2023-06-21 16:18:17 +02:00
speedie 3b10355e5a Combine the many scripts into one. The protocols/generate.sh is
necessary because meson doesn't seem to like passing arguments to
scripts it has to execute.
2023-06-17 17:05:42 +02:00
speedie 59d9f63238 Remove example scripts, move them to spmenu-examples repository 2023-06-17 15:26:51 +02:00
speedie b7a4ef5a99 Support the Terminal=true desktop entry specification 2023-06-16 04:39:09 +02:00
speedie 355c3299c5 Update URLs with the non-php version 2023-06-10 14:36:44 +02:00
speedie d6df27e839 oops fix cp command in generate-pkg.sh 2023-06-09 18:21:41 +02:00
speedie 71f58b10f7 remove HTML, we don't really need it anymore 2023-06-09 08:19:27 +02:00
speedie 975d3564ed fix last commit, remove spmenu logo from docs 2023-06-07 01:28:21 +02:00
speedie 1ac9211b02 remove preview.png, it's not used anymore 2023-06-07 01:08:10 +02:00
speedie a9ee831159 add X11 toggle, so now Xlib, Xinerama and Xrender aren't dependencies if
you only use Wayland
2023-06-05 17:16:26 +02:00
speedie 0d80f82a6c don't remove tar.gz 2023-06-03 23:13:55 +02:00
speedie 945de3988f add license notice to all the scripts 2023-06-03 15:19:29 +02:00
speedie d5ca4510a0 add license to spmenu_run and spmenu_test 2023-06-03 15:10:27 +02:00
speedie 410b8b206a version bump: 2.0
also remove code-docs, the wiki should have this instead.
2023-06-02 20:27:55 +02:00
speedie 692e3abc68 Add experimental native Wayland support 2023-06-02 18:37:51 +02:00
speedie 95b420944c add a bind file which scripts can use to gain full control over keybinds 2023-05-22 22:47:37 +02:00
speedie f482aea8db remove UTF-8 toggle, it's not necessary now with cairo because cairo can
filter invalid unicode
2023-05-22 20:44:21 +02:00
speedie a5d1186118 add 'clean' script 2023-05-21 14:52:14 +02:00
speedie 98d169a074 use gpg signature 2023-05-21 14:49:05 +02:00
speedie 1711c5a9ad remove themes, they're moved to https://git.speedie.site/spmenu-themes
or https://github.com/speediegq/spmenu-themes
2023-05-21 14:38:01 +02:00
speedie a750da978c replace xft with cairo, remove sample theme because it's redundant,
remove optional pango support as its now required because we're using
cairo
2023-05-21 04:18:41 +02:00
speedie 5aeea3230b add option to not allow multisel 2023-05-19 02:01:36 +02:00
speedie ba8b940181 marking of items now possible for -fm 2023-05-19 01:57:54 +02:00
speedie 9373133c03 some script improvements
TODO: generate-keybind-list is absolutely horrible
2023-05-19 00:14:22 +02:00
speedie 63bfbceb7d add generate theme script and two new themes
new themes will probably be in a separate repository
2023-05-18 22:44:13 +02:00
speedie 7dd1441f48 remove opt variable, it makes no sense 2023-05-17 08:17:04 +02:00
speedie fa645e1ae7 update documentation 2023-05-17 08:15:21 +02:00
speedie 3e4e36250c some minor changes to spmenu_imageviewer and remove additional line when
there's an image
2023-05-16 22:06:24 +02:00
speedie 81f73fca14 make the test script look a little prettier 2023-05-16 21:51:31 +02:00
speedie 2a9ae1480c display number of selected items as well, run subshell in the background 2023-05-16 21:16:51 +02:00
speedie 82fa3eaa95 add separate man page for spmenu_run 2023-05-16 20:50:08 +02:00
speedie 5aefbf249a fix some bugs, add multisel for spmenu_run 2023-05-16 20:03:52 +02:00
speedie 94af79720f deprecate build.sh script 2023-05-13 21:27:12 +02:00
speedie 3ddb0f50dd add keywords for desktop entry display 2023-05-13 18:02:58 +02:00
speedie 66bcc31242 some cleanup in the script 2023-05-13 17:35:16 +02:00
speedie fd67511080 add .desktop entries for use with desktop environments, install to /usr
instead of /usr/local by default
2023-05-13 00:25:50 +02:00
speedie 21711e4236 add back the version 2023-05-12 19:57:59 +02:00
speedie f389af0dbe test script should now display 256 colors 2023-05-12 17:35:33 +02:00
speedie 09c9809456 scripts will fail now if you're not in the right directory 2023-05-11 19:58:28 +02:00
speedie 44ec1632bd apply last commit in all default scripts, update documentation to
reflect it
2023-05-10 21:55:59 +02:00