Commit graph

93 commits

Author SHA1 Message Date
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
speedie fcd52fa1c2 we must ALWAYS remove 2 * borderwidth and 2 * sp from menu width (mw) 2023-04-07 14:43:45 +02:00
speedie 0753a2ec69 i was wrong about the issue, this was actually a surprisingly simple fix 2023-04-07 03:35:36 +02:00
speedie 087a405ada some more minor changes to the drawing funcs 2023-04-05 20:54:37 +02:00
speedie a068296697 cleanup draw functions 2023-04-05 19:07:29 +02:00
speedie 108b72af46 last commit for drawinput(); 2023-04-05 18:58:48 +02:00
speedie 4e8c39d3ee use passed arguments in drawprompt(); 2023-04-05 18:56:44 +02:00
speedie 10495b48bf add experimental configuration file
profiles still need to be rewritten
2023-04-04 21:40:22 +02:00
speedie f7de91850b remove some useless lines 2023-04-04 00:23:46 +02:00
speedie 854461e046 fix border width as well 2023-04-03 23:55:57 +02:00
speedie 9078dbe61f fix barpadding for mode/number 2023-04-03 23:48:19 +02:00
speedie 485ad9fb58 support the \033[0m sequence, it resets the scheme 2023-04-02 17:45:56 +02:00
speedie 0a3c36fcd9 make GCC a bit happier 2023-04-01 15:03:42 +02:00
speedie 1495140dbd fix: drawing images when the top line is removed causes it to keep
resizing for all eternity, which eventually makes your computer
unusable
2023-04-01 14:01:59 +02:00