Commit graph

139 commits

Author SHA1 Message Date
speedie d91dec4010 password argument fix 2023-03-28 23:35:46 +02:00
speedie 231a43d053 some changes, spmenu is now suitable to be used for simply drawing plain
text without any selection or anything
2023-03-28 17:37:06 +02:00
speedie cf1b79008b upgrade run launcher significantly 2023-03-28 15:10:57 +02:00
speedie 04b46313ef move drawing to separate functions 2023-03-26 16:42:11 +02:00
speedie ceec442bfe fix some prompt width issues 2023-03-24 04:04:37 +01:00
speedie 1c6c041f5e fixed: tab completion with sgr sequences 2023-03-24 03:48:56 +01:00
speedie b8e7fd27db some changes to the general codebase. also add spmenu:about which
displays information about the compiled spmenu build
2023-03-24 03:14:24 +01:00
speedie 1f2a37c1d2 fix: highlighting drawn when it shouldn't be 2023-03-21 22:24:50 +01:00
speedie 73685ee480 fix text sticking out 2023-03-21 17:10:16 +01:00
speedie ba6dfe2cee add powerline for number and mode 2023-03-21 16:40:11 +01:00
speedie dc51707520 powerline the prompt
TODO: powerline numbers and match count
2023-03-21 16:30:30 +01:00
speedie 45a46fa4a3 fix a possible segmentation fault 2023-03-18 13:07:15 +01:00
speedie d163a7262b remove centered in favor of menuposition == 2 2023-03-16 17:22:14 +01:00
speedie 1153d416ab replace almost all /* style comments with // where it makes sense 2023-03-16 16:54:36 +01:00
speedie 98b0ae0651 improve highlighting 2023-03-16 11:58:38 +01:00
speedie 8377ec92a9 some cleanup, start using // comments more 2023-03-16 10:09:51 +01:00
speedie 392e5bfffc Revert "don't set line height beyond item count"
This reverts commit 39ddf11931.

revert this, it caused a lot of issues
will rewrite this later
2023-03-13 23:07:05 +01:00
speedie 39ddf11931 don't set line height beyond item count 2023-03-13 22:48:11 +01:00
speedie 71090e7aa3 add keybinds for setting line/columns 2023-03-13 22:45:04 +01:00
speedie 14075e00a3 fix some bugs with padding 2023-03-12 21:03:35 +01:00
speedie b24cf560a1 add feature which allows prompt width to be removed from items, with or
without arguments
2023-03-11 13:24:20 +01:00
speedie 705cb460bf fix small warnings gcc will spit out if features have been disabled 2023-03-09 17:26:56 +01:00
speedie 9b806fa9c0 add high priority 2023-03-09 10:10:29 +01:00
speedie b84494043f fix one small thing with last commit 2023-03-08 22:51:00 +01:00
speedie c92d21c5c3 fix SGR size 2023-03-08 22:49:04 +01:00
speedie 6450a36f13 fix: last character not highlighted 2023-03-08 19:20:18 +01:00
speedie 3e0bf9cd83 cleanup all gcc warnings 2023-03-06 21:19:12 +01:00
speedie c1990916e3 Improve flipimage(); function, enable pango for item, add rtl lang support
for items with SGR colors
2023-03-04 19:59:36 +01:00
speedie 73a9622c8e apply pango markup to colored text 2023-03-04 02:07:06 +01:00
speedie e3b4a1c700 fix: imagegaps not applied to the right side of the image 2023-03-03 17:22:19 +01:00
speedie 2542474621 fix: prompt increases image gaps 2023-03-03 17:12:38 +01:00
speedie e60134edd0 Fix segmentation fault 2023-03-02 21:37:08 +01:00
speedie e6be5d5aad add option to change the password character 2023-03-02 18:43:09 +01:00
speedie 38b568b997 use TEXTWM for pango 2023-03-02 18:25:28 +01:00
speedie d455c3a3f2 cleanup item drawing, this means we can now disable any item we want at
any time (just don't forget to call drawmenu)
2023-03-02 18:10:37 +01:00
speedie 327636b0ee cleanup drw_text lines by setting an integer depending on whether or not
USERTL is true once globally
2023-03-02 17:51:25 +01:00
speedie fbfdfe2583 Fix toggle keybind 2023-03-02 16:22:59 +01:00
speedie be9a9b3547 add image toggle int 2023-03-02 14:53:48 +01:00
speedie 505c03c77b Move drawing functions 2023-03-02 11:40:52 +01:00