speedie
890457729c
Make regex matching a separate mode inside insert mode
2023-07-06 22:02:53 +02:00
speedie
7aecc3edf9
Fix pango markup highlighting by disabling highlighting
...
There is no real reasonable way to fix highlighting while
using Pango markup to my knowledge. If there actually is, please
PR.
2023-07-06 16:52:58 +02:00
speedie
3e581ded2e
Cleanup drawitemtext a bit
2023-07-06 16:19:20 +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
ad96d3fbb3
Oops, fix wacky highlighting, should be working perfectly now
2023-07-04 23:32:51 +02:00
speedie
7492eed0cf
Simplify and fix SGR sequence removal
2023-07-04 23:10:06 +02:00
speedie
cc8c3e988c
Revert "Include colored text in the tab completed text as well."
...
This reverts commit 364020aa2c
.
2023-07-04 21:58:36 +02:00
speedie
364020aa2c
Include colored text in the tab completed text as well.
2023-07-04 21:42:32 +02:00
speedie
5305303cd2
Don't indent if hideimage
2023-07-03 19:12:53 +02:00
speedie
4ac7119c5b
Add WIP icon support to spmenu
2023-07-03 18:48:38 +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
8e0de8f556
Simplify some variables
2023-06-23 17:27:57 +02:00
speedie
59983981c2
Rename libdrw functions to simply "draw"
2023-06-23 03:49:23 +02:00
speedie
6328edc5cd
Use global structs
2023-06-23 03:38:21 +02:00
speedie
ef4400d844
Fix loading from file dynamically on Wayland
2023-06-19 02:23:46 +02:00
speedie
92fb7fff5c
fix menumarginh when lines
2023-06-19 02:13:38 +02:00
speedie
6083df6736
update documentation
2023-06-19 01:08:15 +02:00
speedie
9ba2e0f52f
Add powerline for !lines as well
2023-06-18 21:15:32 +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
88a8212c80
fix !USEIMAGE usage of undeclared functions
2023-06-12 04:24:35 +02:00
speedie
c0d8adec85
significant image drawing codebase cleanup
2023-06-11 19:32:02 +02:00
speedie
00966f7547
simplify bh removal in drawmenu_layer() significantly
2023-06-11 17:34:54 +02:00
speedie
acdac97d75
fix a weird freeze when larrow and/or rarrow is hidden and an image is
...
being drawn
2023-06-11 16:49:41 +02:00
speedie
d7122af473
cleanup menu height setting
2023-06-11 16:46:36 +02:00
speedie
3bc300d029
Expose caret width, height and add a padding option
2023-06-11 04:22: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
9eb97d5da0
add rounded variant of the powerline
2023-06-07 21:31: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
692e3abc68
Add experimental native Wayland support
2023-06-02 18:37:51 +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
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
5aefbf249a
fix some bugs, add multisel for spmenu_run
2023-05-16 20:03:52 +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
195e4252b7
oops, i forgot i needed to set it to 0 first
2023-05-13 16:19:03 +02:00
speedie
11859ff159
allow rofi like "next" colors
2023-05-13 16:07:29 +02:00
speedie
d065aa8ab6
enable highlighting for colored entries
2023-05-10 08:16:22 +02:00
speedie
5efe236380
indent lots of code using vim gg=G
2023-05-08 23:00:45 +02:00
speedie
aad8baef66
save item index
2023-05-07 15:33:09 +02:00
speedie
776de147ea
a minor change to the way indentation is done
2023-05-01 04:30:38 +02:00
speedie
7d160b3766
oops we need to add to the x variable in drawhighlights
2023-05-01 00:14:41 +02:00
speedie
4f1a6d5349
add the ability to have text padding depending on item selection
2023-04-30 23:45:58 +02:00
speedie
c3b9687e21
add comments to config file for keybinds
2023-04-29 22:53:00 +02:00
speedie
ae96605fcd
fix some wacky stuff
2023-04-29 16:08:00 +02:00
speedie
6afd2e27b9
when lines, don't remove menumarginv
2023-04-22 01:08:39 +02:00
speedie
52f88f6a73
remove the item hovering, it's just not necessary and causes a lot of
...
slowness
if you find a way to speed this up significantly, please let me know
2023-04-21 17:59:10 +02:00
speedie
eca13f2896
fix lots of issues/bad code
2023-04-21 09:49:38 +02:00
speedie
b79f5c39c1
add a caps lock indicator, took lots of work
2023-04-20 21:22:45 +02:00