Commit graph

127 commits

Author SHA1 Message Date
Jacob f2b56cf11c Move source into new src/ directory and move Vim config into
`contrib/` directory.
2023-09-20 22:57:35 +02:00
Jacob 48dcf2f384 Add support for 91-97 and 101-107 sequences and update documentation 2023-08-22 19:29:20 +02:00
Jacob 6b20fe939e Add --min-lines option 2023-08-17 14:56:37 +02:00
Jacob a90be9015f Allow X/Y position to be configurable on runtime 2023-08-12 17:53:13 +02:00
Jacob 646972ea70 You no longer **need** to remove it yourself 2023-08-12 05:22:20 +02:00
Jacob 7324b1e084 Add note regarding the FIFO 2023-08-12 02:10:26 +02:00
Jacob d892f8a986 Add a lot more FIFO funcs 2023-08-09 21:23:21 +02:00
Jacob a3a860fe26 Add togglepretext func 2023-08-09 20:49:23 +02:00
Jacob 3be3e38be6 Add a lot more FIFO options 2023-08-09 20:33:17 +02:00
Jacob d3798b90ff Add toggleimgtype 2023-08-09 05:48:32 +02:00
Jacob 62038cbb3d Add FIFO documentation, add more funcs 2023-08-08 22:32:24 +02:00
Jacob 9faf8c64bd Improve documentation for .Xresources 2023-08-08 19:42:20 +02:00
Jacob f6e34668cf Remove globalcolors, it's not necessary now that we only have global
colors. Compatibility option is still available which will enable or
disable xrdb entirely.
2023-07-29 18:44:17 +02:00
Jacob 185c95a526 Replace Vim like binds with normal dmenu like binds by default. 2023-07-29 04:24:02 +02:00
speedie d3983d46d9 Add right click to mark mouse click 2023-07-25 20:31:14 +02:00
speedie 0ec1c73053 Improve selecthover() function, add markhover() function 2023-07-25 00:19:58 +02:00
speedie da05068117 Add -itt/-itb option for positioning items above/below prompt 2023-07-25 00:11:17 +02:00
speedie 3f5c0b657b Add -pt argument for setting pretext 2023-07-24 16:38:41 +02:00
speedie 7d1b58f431 Add support for pretext
This commit adds support for text that can be displayed when there's no
input text (tx.text)
2023-07-24 15:18:03 +02:00
Jacob ed6b1ff309 Add togglefuzzy function 2023-07-22 19:13:02 +02:00
speedie 10ed06bac8 Better document SGR sequences 2023-07-22 05:17:28 +02:00
Jacob 4e716ee80c Remove ClickSelItem
This commit removes ClickSelItem. It doesn't make very much sense to
keep a separate click for the click and output functionality.
2023-07-19 17:50:50 +02:00
speedie 0988babd15 Add setlineheight function 2023-07-16 18:59:08 +02:00
speedie 21f9aa09e5 Add documentation for functions 2023-07-16 18:44:35 +02:00
Jacob 8029b42870 More docs changes 2023-07-15 17:26:21 +02:00
Jacob 106afb674e Improve documentation for mouse and key binds 2023-07-15 17:18:20 +02:00
speedie cb6b01950d Clean up more pre 2.0 misinformation 2023-07-14 02:07:59 +02:00
speedie 1c6aecfbb0 Replace outdated information 2023-07-14 02:00:28 +02:00
speedie 597bcb541b Fix typos, change argument 2023-07-14 01:54:48 +02:00
speedie eb053eae23 Remove and change some keybinds related to image size and gaps 2023-07-14 01:30:28 +02:00
speedie b92233e536 Better documentation 2023-07-11 18:26:32 +02:00
Jacob d935122998 Remove spmenu: syntax, it's basically useless 2023-07-11 17:01:57 +02:00
Jacob 9d6ae13eae Update docs, remove most .Xresources preferences 2023-07-11 16:53:26 +02:00
speedie 890457729c Make regex matching a separate mode inside insert mode 2023-07-06 22:02:53 +02:00
speedie 4135cbc0f2 Add fuzzy matching using tiny-regex-c 2023-07-05 01:40:35 +02:00
speedie 13b46b03bb Fix typo in the spmenu(1) man page 2023-07-05 00:42:50 +02:00
speedie fbfbc44dec Fix some issues with the image gaps, fix image gaps size, remove some
more keybinds
2023-07-05 00:39:40 +02:00
speedie 7e963db38e Simplify default keybinds 2023-07-05 00:12:11 +02:00
speedie 4ac7119c5b Add WIP icon support to spmenu 2023-07-03 18:48:38 +02:00
Jacob 3f456f3a37 Feature: Add the ability to take "screenshots" of spmenu.
It doesn't actually capture your screen, but rather saves the Cairo
surface to an image. The path to the image and some other options
can also be configured in the config file.

By default, Print Screen can be pressed in Normal mode with no modifier
to take a screenshot. The default location is the user's home directory,
and the file has a date attached to it. Of course, this can be changed
as well.
2023-06-30 02:44:29 +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 dfc4fe038c Remove fullscreen functionality
The fullscreen functionality is kind of cool, but adds a lot of code and
as commit history has shown, plenty of bugs and extra required testing.

I may reimplement this later in a less bad manner. Note that the
fullscreen behavior can be achieved by simply increasing image size to
the max. spmenu will let you do that.

Fixes issue #9
2023-06-24 04:53:44 +02:00
speedie 0a59088313 Fix keybind conflict, replace imageg, imagew and imageh in favor of
using the img struct
2023-06-24 04:20:51 +02:00
speedie 453b0028aa Switch to Ctrl modifier from Alt modifier for navhistory keys 2023-06-19 16:26:03 +02:00
speedie 0409dbff12 Change Ctrl+Shift+h keybind to simply Shift+h in normal mode 2023-06-19 16:16:16 +02:00
speedie 3c59249fbd setlines and setcolumns now work in insert mode as well 2023-06-19 02:36:28 +02:00
speedie c1058dfb00 add option to enable/disable setting lines/columns using keybinds 2023-06-19 01:46:05 +02:00
speedie 6083df6736 update documentation 2023-06-19 01:08:15 +02:00
speedie 1c6bc9f92d Add -fl argument which can be used to check if a feature is supported
This could be very useful for shell scripts, or debugging.
2023-06-12 17:09:34 +02:00
speedie 1c4c68dcc6 Add image resize option 2023-06-12 00:26:35 +02:00