Commit graph

86 commits

Author SHA1 Message Date
Jacob b221e94015 Add input width float, allowing input width to be customized in the
config file
2023-08-08 17:27:04 +02:00
Jacob 40935e7591 Change indentation in config file, change font size 2023-08-07 19:29:36 +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 da05068117 Add -itt/-itb option for positioning items above/below prompt 2023-07-25 00:11:17 +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 79967d9ad4 Last commit for binds.conf too 2023-07-22 18:32:57 +02:00
Jacob c9292de59d Add scrolldistance option, allowing scroll distance to be configured in
the config file
2023-07-22 18:30:27 +02:00
Jacob 1d94af0b89 Forgot to edit the default configuration file 2023-07-19 17:57:15 +02:00
Jacob 9daedf9554 Change normselitemfg 2023-07-19 01:02:49 +02:00
Jacob d18fd28fa0 Scroll up/down to move to the next/previous page 2023-07-15 15:55:15 +02:00
speedie fe49f1ff7c Change default alpha value to 222 2023-07-14 01:41:09 +02:00
speedie 70f1970684 Remove pango_highlight, it's useless. 2023-07-14 01:39:00 +02:00
speedie eb053eae23 Remove and change some keybinds related to image size and gaps 2023-07-14 01:30:28 +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 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 f1b0ecd624 Change worddelimiters 2023-07-03 21:35:21 +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 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 aa62ca8cdd Add powerline for items
Currently does not work with !lines, and as such it has been disabled
for the time being.
2023-06-18 18:05:42 +02:00
speedie 1c4c68dcc6 Add image resize option 2023-06-12 00:26:35 +02:00
speedie 3bc300d029 Expose caret width, height and add a padding option 2023-06-11 04:22:25 +02:00
speedie 355c3299c5 Update URLs with the non-php version 2023-06-10 14:36:44 +02:00
speedie 965043e5e6 Don't indent items to prompt width by default 2023-06-09 14:00:12 +02:00
speedie b37de0b2e0 Fix keybind conflict causing image to be flipped if columns are changed 2023-06-09 13:55:55 +02:00
speedie 498b786b23 Some more colorscheme changes, update options.h and example.Xresources 2023-06-09 03:50:31 +02:00
speedie 807b378582 Indent lines in config file, replace many colors. Colors still need to be replaced in options.h and example.Xresources though. 2023-06-09 03:36:56 +02:00
speedie da0faccfa3 Move some configuration stuff around 2023-06-09 02:52:53 +02:00
speedie 505f06ac6c Combine the long keybinds into one liners, meaning the default config is
a lot more approachable to a beginner.
2023-06-09 00:48:19 +02:00
Jacob 2e968a9c32 Merge branch 'master' into new-theme 2023-06-08 21:33:52 +00:00
speedie e6b2c0d9c9 Fix some bugs which had been previous undiscovered with the keysym
handling
2023-06-08 22:42:25 +02:00
speedie 5745b52bc9 Add work in progress support for images on Wayland
This commit also adds MASSIVE speed improvements to image drawing, due
to code cleanup. There are still a *few* issues to resolve, one is
X11 related, and one is caused by alpha/blending.
2023-06-08 19:40:30 +02:00
speedie a78dddb597 Use rounded powerlines in the default config 2023-06-08 13:46:28 +02:00
speedie e7c944a5d6 Improve SGR sequence colors 2023-06-08 08:17:42 +02:00
speedie 9eb97d5da0 add rounded variant of the powerline 2023-06-07 21:31:10 +02:00
speedie fd92de24ff allow overriding path to theme file and binds file in the regular config
file, and allow overriding config file path in options.h
2023-06-06 17:59:03 +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 620cb0ca63 add option to not allow selecting multiple items to spmenu itself 2023-05-19 02:13:13 +02:00
speedie f534250e7a add separate colorscheme for marked items, SchemeItemSel is used as a fallback 2023-05-18 10:23:45 +02:00