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
7bb81a26b8
Add ClickImage click
2023-07-03 23:06:33 +02:00
speedie
98f324aafe
Last commit for the regular configuration file
2023-07-03 22:07:51 +02:00
speedie
63229604e7
Add option to always use insert mode for binds.conf
2023-07-03 22:07:09 +02:00
speedie
b06ea39b11
move binds file to another function
2023-07-03 21:58:32 +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
6328edc5cd
Use global structs
2023-06-23 03:38:21 +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
e553da35a9
It's not "hideimage" in the config file, it's "image"
2023-06-12 03:44:27 +02:00
speedie
91178ad8ce
Use slightly safer version of strcpy()
2023-06-12 03:39:29 +02:00
speedie
fdce53681d
Fix typo causing gaps to set the image height in the configuration file
2023-06-12 00:30:53 +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
da0faccfa3
Move some configuration stuff around
2023-06-09 02:52:53 +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
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
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
17dd06139d
fix: argument protocol overriden by config file
2023-06-02 19:00:09 +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
0258974bf0
code cleanup, add moveitem function
2023-05-22 16:35:57 +02:00
speedie
620cb0ca63
add option to not allow selecting multiple items to spmenu itself
2023-05-19 02:13:13 +02:00
speedie
3543f04361
print errors to, well.. stderr not stdout
2023-05-18 20:01:22 +02:00
speedie
f534250e7a
add separate colorscheme for marked items, SchemeItemSel is used as a fallback
2023-05-18 10:23:45 +02:00
speedie
12b69656a7
add support for marking items (ie. multi selection)
2023-05-16 18:54:26 +02:00
speedie
8c9d33d01f
add LICENSE notice to all code
2023-05-14 00:21:16 +02:00
speedie
15141c230d
add the ability to full screen an image + code cleanup
...
images are drawn quite slowly, something needs to be done about that
soon
2023-05-14 00:10:24 +02:00
speedie
11859ff159
allow rofi like "next" colors
2023-05-13 16:07:29 +02:00
speedie
3da21bc052
allow overriding image cache directory
2023-05-12 23:23:15 +02:00
speedie
5efe236380
indent lots of code using vim gg=G
2023-05-08 23:00:45 +02:00
speedie
63e5be2884
add the ability to read from file, been wanting this for a very long
...
time
2023-05-07 01:41:30 +02:00
speedie
442c40b732
add incremental as well, this should now include most suckless patches people use
2023-05-06 23:39:03 +02:00
speedie
5ff1abc849
add ability to print item number rather than the item itself
2023-05-06 23:29:41 +02:00
speedie
c1d36670fa
replace a lot of suckless coding decisions with my own
2023-05-06 14:29:45 +02:00
speedie
104d46640b
don't use all lowercase for mouse click names
2023-05-06 14:13:56 +02:00
speedie
594b06fa86
convert all existing themes into .conf themes.
...
these are meant to eventually replace the older profiles
2023-05-01 18:46:11 +02:00
speedie
5f54e20a2b
some cleanup, add comments to buildconf
2023-05-01 17:48:21 +02:00
speedie
316fcd0a76
add basic theme.conf file support
2023-05-01 17:07:35 +02:00
speedie
4f1a6d5349
add the ability to have text padding depending on item selection
2023-04-30 23:45:58 +02:00
speedie
5b642b66b9
code quality improvements
2023-04-30 01:21:03 +02:00
speedie
54797235e1
fix a few issues, add in mouse bindings
2023-04-25 16:42:15 +02:00
speedie
ad32165408
finish keybind configuration
2023-04-25 11:39:50 +02:00
speedie
9c3bd4caab
basic keybind config file
2023-04-25 09:56:11 +02:00
speedie
b79f5c39c1
add a caps lock indicator, took lots of work
2023-04-20 21:22:45 +02:00
speedie
a2c28dbfdd
add an option to display SGR sequences as plain text
2023-04-20 19:16:16 +02:00
speedie
700c18d60e
change even more color names
...
NOTE: this breaks compatibility with most existing themes and
configurations, but i decided
it was better to do this change sooner than later
2023-04-17 17:36:18 +02:00