Commit graph

238 commits

Author SHA1 Message Date
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
speedie d19a9104bf don't use stupid variables and sed jank 2023-05-09 12:03:53 +02:00
speedie 5efe236380 indent lots of code using vim gg=G 2023-05-08 23:00:45 +02:00
speedie 8ab66132f1 add example script for counting entries 2023-05-08 17:29:30 +02:00
speedie e0a719e428 update generate-code-docs, the old method for getting version no longer
works because we have no makefile
2023-05-08 12:08:59 +02:00
speedie 72af4b4019 remove .mk, we don't need them anymore as we don't have makefiles 2023-05-08 12:01:36 +02:00
speedie ac863b11fa remove junk from test script 2023-05-08 11:56:30 +02:00
speedie 7f43d03a0d update docs, remove makefile 2023-05-08 11:39:34 +02:00
speedie a26f64de33 move from makefile 2023-05-08 11:11:49 +02:00
speedie 589983db68 remove pdflist, it's bad 2023-05-07 02:26:21 +02:00
speedie d8b995bb0c remove the CACHE option, it didn't do anything and it shouldn't be
optional anyway
2023-05-06 14:55:23 +02:00
speedie 81dba63bc9 fix cache clearing 2023-05-06 14:54:06 +02:00
speedie 8e8c359d00 some fixes, add to TODO 2023-05-04 20:44:43 +02:00
speedie a2257f2503 validate items 2023-05-02 21:53:30 +02:00
speedie 759c0d879e delete spmenu_profile because it's not going to be used anymore
external theme managers will manage themes instead.
2023-05-01 19:00:49 +02:00
speedie ca82d24b33 fix duplicate entries when using -cc flag 2023-05-01 00:28:15 +02:00
speedie 3a6e22ca3d sort desktop entries 2023-04-29 11:52:08 +02:00
speedie 5107136b64 dmenu compat for description 2023-04-29 02:25:17 +02:00
speedie c227e6d374 fix a minor issue 2023-04-28 19:43:20 +02:00
speedie 07cef2c494 add description printing to spmenu_run 2023-04-28 19:40:28 +02:00
speedie bb0d810b07 pass the full path 2023-04-28 18:43:28 +02:00
speedie ca7bb88b45 add option to clear cache 2023-04-28 18:33:56 +02:00
speedie e9edd9bee0 update docs 2023-04-28 18:24:27 +02:00
speedie cfef4e073e another fix 2023-04-28 18:11:55 +02:00
speedie 24ea28eb13 fix '#' prefix 2023-04-28 18:07:58 +02:00
speedie 0c637489dc array -> string, avoids a shellcheck warning 2023-04-27 08:15:16 +02:00
speedie 9864adb93f minor fix 2023-04-27 08:00:38 +02:00
speedie 87fdfe9659 move uniq 2023-04-26 21:18:43 +02:00
speedie 91e303fb80 significant codebase improvements 2023-04-26 21:17:01 +02:00
speedie 4d19d95263 fix a huge bug 2023-04-26 21:11:07 +02:00
speedie a9c9b57b05 disable support for macOS in spmenu_run 2023-04-26 10:07:01 +02:00
speedie 7541628a00 some changes to the test script 2023-04-24 23:55:29 +02:00
speedie 29f29a8a84 don't generate cache 2023-04-24 23:53:28 +02:00
speedie d512351828 actually add hidecaps, oops 2023-04-22 21:34:37 +02:00
speedie f56e0a3ae3 add more docs 2023-04-21 19:36:05 +02:00
speedie f70c69161b now using arrays for arguments 2023-04-21 18:53:15 +02:00
speedie 3c466f2abb oops we should allow it to be empty 2023-04-20 18:36:51 +02:00
speedie e550f3f100 silence a warning that doesn't really matter 2023-04-20 18:30:56 +02:00
speedie 0ec8d8cbb9 some improvements to the scripts 2023-04-20 18:21:17 +02:00
speedie ee9c014b46 add dmenu compatibility mode to spmenu_run 2023-04-20 16:45:05 +02:00
speedie 86b625f766 allow cache paths to be customized 2023-04-18 18:33:50 +02:00
speedie 30aaebb7f8 various improvements
this commit also downgrades code quality slightly (by not using
readarray). while readarray is cleaner, it is not compatible with older
bash versions (< version 4) so a while loop will have to do. i may
change this later.
2023-04-18 18:24:35 +02:00
speedie c35aedb651 rewrite the script slightly, now works properly 2023-04-18 18:13:42 +02:00
speedie fec532fc34 cleanup 2023-04-18 16:25:13 +02:00
speedie 7869c4d085 massively speed up listing, need to fix running executable 2023-04-18 16:19:39 +02:00
speedie e724d54eb5 fix images 2023-04-18 14:56:52 +02:00
speedie 6e6888c9bc use arrays, leads to better performance but adds bash as a dependency 2023-04-18 14:56:52 +02:00
speedie 07917bed28 fix case in profile menu 2023-04-17 20:52:49 +02:00
speedie 92cdbd68c7 add option to return full file name 2023-04-16 20:57:48 +02:00
speedie 621fdb53a6 don't display duplicate .desktop entries 2023-04-14 21:42:22 +02:00
speedie 8934327efe use bold text 2023-04-14 13:28:33 +02:00
speedie b9a4ffe949 some minor changes, also merge spmenu_desktop with spmenu_run 2023-04-13 17:39:27 +02:00
speedie ecb7e953bb fix -fm arg 2023-04-13 12:04:11 +02:00
speedie 43cf05c2b7 some changes to the way passing arguments work 2023-04-13 11:55:31 +02:00
speedie f347c9e432 oops, forgot about that 2023-04-13 00:05:30 +02:00
speedie 91665f9ffe fix some more bugs 2023-04-12 23:37:12 +02:00
speedie a79b7c3023 fix a slight oversight 2023-04-12 23:37:12 +02:00
speedie 016202ad04 fix a typo in the default config 2023-04-10 23:02:09 +02:00
speedie 68716f15a3 add some really nice features, and WIP file navigation to spmenu_run 2023-04-10 21:00:48 +02:00
speedie f5a32cd9be add 16 cols script 2023-04-08 15:29:54 +02:00
speedie 5eb54af7a6 be slightly more XDG compliant 2023-04-07 18:18:56 +02:00
speedie b610ed5e59 silence output of command -v 2023-04-07 01:06:25 +02:00
speedie 5deac136ce add the ability to run functions from the config file 2023-04-06 23:30:58 +02:00
speedie 7853ba8d3f sed "s/%u//g" 2023-04-06 02:26:56 +02:00
speedie 944ec3f685 add some options to spmenu_run 2023-04-06 01:59:14 +02:00
speedie 1aea6858ba s/example.Xresources/Default/g 2023-04-05 00:13:27 +02:00
speedie 6d3db1c798 do not create spmenurc by default 2023-04-05 00:11:27 +02:00
speedie 7dc43f7f52 do not clear, this is a bit of an issue 2023-04-05 00:01:09 +02:00
speedie 660c4e53fd some minor changes to spmenu_profile 2023-04-04 23:57:47 +02:00
speedie a7c91704c6 actually support ~/.spmenurc, documentation would be lying otherwise 2023-04-04 00:14:23 +02:00
speedie 4d1e640e89 oops forgot to use the variable everywhere 2023-04-03 15:05:00 +02:00
speedie 34029793bc forgot to change here 2023-04-03 14:57:03 +02:00
speedie c44333b3ce add ${PREFIX} to scripts, may improve compatibility with for example
NixOS
2023-04-03 14:54:44 +02:00
speedie caa2248774 hide mode indicator for the profile menu 2023-04-02 18:25:32 +02:00
speedie 55c2995acb color the entries, and strip SGR sequences using sed 2023-04-01 23:36:22 +02:00
speedie aec9909d7c don't load spmenurc first 2023-03-31 16:24:50 +02:00
speedie 7ca70051af some changes + new colorscheme 2023-03-31 00:37:16 +02:00
speedie 7a7ab4dedf add a separator 2023-03-30 20:27:59 +02:00
speedie 0607f9f607 add support for profiles 2023-03-29 23:45:54 +02:00
speedie 7953cbbbe9 improve script a bit 2023-03-29 22:41:39 +02:00
speedie 2487157fa4 fix grep matching, now qt lingui(st) isn't included for st 2023-03-29 19:56:52 +02:00
speedie 0ad04fec26 take arguments 2023-03-28 23:55:06 +02:00
speedie 78138025d2 some minor changes, new bind 2023-03-28 19:49:05 +02:00
speedie 231a43d053 some changes, spmenu is now suitable to be used for simply drawing plain
text without any selection or anything
2023-03-28 17:37:06 +02:00
speedie cf1b79008b upgrade run launcher significantly 2023-03-28 15:10:57 +02:00
speedie a257e61d90 add a good help 2023-03-28 13:14:22 +02:00
speedie 8d08f98791 use long arguments 2023-03-28 03:10:09 +02:00
speedie 7e7d5481b7 minor fix 2023-03-28 02:54:47 +02:00
speedie 197a042ee9 cleanup script 2023-03-28 02:53:28 +02:00
speedie aef24a8579 customizable log file 2023-03-28 00:35:46 +02:00
speedie ac9cfdf9a0 some changes, don't print "generating thumbnail" to stdout 2023-03-28 00:30:47 +02:00
speedie 914a41b4ee some more improvements 2023-03-26 16:12:27 +02:00
speedie 3b6daf4750 check /usr/share/pixmaps too 2023-03-26 16:03:13 +02:00
speedie b75fd0d5b5 don't print duplicates, don't draw image if unchanged 2023-03-26 15:23:24 +02:00
speedie fab3ab5ab7 add a script to install all example scripts 2023-03-26 01:36:27 +01:00
speedie 1996baaa83 oops LOL 2023-03-25 23:50:23 +01:00
speedie f594b3b14e fix a small issue 2023-03-25 23:49:52 +01:00
speedie a931cab517 add spmenu_desktop script 2023-03-25 22:34:21 +01:00
speedie ca7cd97e08 some improvements to documentation and spmenu_run 2023-03-24 15:58:36 +01:00
speedie b1f1afe192 some improvements to the script 2023-03-21 11:45:25 +01:00
speedie 31c8e4aab0 add image viewer script 2023-03-21 11:38:51 +01:00
speedie ef859739f8 don't display cover.jpg 2023-03-19 18:31:10 +01:00
speedie 1194c426f4 add some scripts 2023-03-19 18:26:55 +01:00
speedie 94266f59dc add another example script 2023-03-11 13:27:23 +01:00
speedie a2d47faee9 fix: wrong path 2023-03-09 16:20:10 +01:00
speedie 4e193772a0 some minor changes 2023-03-08 19:46:33 +01:00
speedie 3044e40c5f update example script to replace & with &amp; 2023-03-08 19:29:26 +01:00
speedie 20e5121a49 add an example spmenu script 2023-03-08 19:26:38 +01:00
speedie ea1d6285c0 add flags to spmenu_test 2023-03-08 18:30:28 +01:00
speedie 1343a0e1b1 add some nice functionality to spmenu_run 2023-03-08 13:56:18 +01:00
speedie 6f8e1c5683 add spmenu test script and some other minor changes 2023-03-03 18:58:37 +01:00
speedie a0ab4aed96 use normal mode by default, but insert mode in spmenu_run 2023-02-26 05:50:36 +01:00
speedie c73c22aa56 Add initial build of spmenu 2023-01-20 23:17:30 +01:00