speedie
8c81603247
Remove unreliable code
2023-07-27 01:55:23 +02:00
speedie
ece810805d
Change some variable names & cleanup
2023-07-27 00:39:57 +02:00
speedie
da05068117
Add -itt/-itb option for positioning items above/below prompt
2023-07-25 00:11:17 +02:00
Jacob
6b6d5b77c5
Fix segmentation fault when pretext == NULL
2023-07-24 19:43:59 +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
speedie
7f5caf7bf0
Fix background 256 colors, add true color to script
2023-07-21 03:14:51 +02:00
speedie
023fe3af08
Support 39 and 49, and fix 256 color support
2023-07-21 02:03:01 +02:00
speedie
33c8e169de
Add true color SGR sequence support
2023-07-21 01:23:43 +02:00
speedie
a3385468b8
Caret size should be dynamic
2023-07-16 19:07:41 +02:00
Jacob
188c90184a
Fix item length for !items and powerlines
2023-07-16 16:39:57 +02:00
Jacob
e202b1668a
Much simplify SGR sequence handling and fix width weirdness
2023-07-16 16:35:25 +02:00
speedie
15fcdb0ca5
Don't merge the right powerline with the next item
2023-07-16 03:46:31 +02:00
speedie
0627c2fc1c
Replace more variable names to more descriptive ones
2023-07-16 03:16:45 +02:00
speedie
70f1970684
Remove pango_highlight
, it's useless.
2023-07-14 01:39:00 +02:00
speedie
ad4e1ab7e1
Code cleanup
2023-07-09 23:56:34 +02:00
Jacob
5d399c96e3
Use oleftpadding
in drawhighlights
2023-07-07 16:05:01 +02:00
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