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
speedie
a2c28dbfdd
add an option to display SGR sequences as plain text
2023-04-20 19:16:16 +02:00
speedie
1ea6e872f0
oops, fix something very stupid i did a few commits ago
2023-04-18 21:27:34 +02:00
speedie
273fb103c9
add the ability to have vertical/horizontal outer padding (margin)
2023-04-16 23:57:02 +02:00
speedie
9e2d297742
add the ability to enable/disable powerline for each powerlined part,
...
and also allow styling them
2023-04-07 21:20:43 +02:00
speedie
073b38faac
replace "cursor" with "caret", old arguments are still compatible
...
though as of now but deprecated
2023-04-07 20:22:25 +02:00
speedie
e43754f534
add some arguments
2023-04-07 17:58:42 +02:00