Commit graph

98 commits

Author SHA1 Message Date
Jacob f6e34668cf Remove globalcolors, it's not necessary now that we only have global
colors. Compatibility option is still available which will enable or
disable xrdb entirely.
2023-07-29 18:44:17 +02:00
Jacob 0540eacfd7 Fix bind and theme arguments 2023-07-28 02:26:49 +02:00
speedie da05068117 Add -itt/-itb option for positioning items above/below prompt 2023-07-25 00:11:17 +02:00
speedie 3f5c0b657b Add -pt argument for setting pretext 2023-07-24 16:38:41 +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 597bcb541b Fix typos, change argument 2023-07-14 01:54:48 +02:00
speedie 4135cbc0f2 Add fuzzy matching using tiny-regex-c 2023-07-05 01:40:35 +02:00
speedie 63229604e7 Add option to always use insert mode for binds.conf 2023-07-03 22:07:09 +02:00
speedie 4ac7119c5b Add WIP icon support to spmenu 2023-07-03 18:48:38 +02:00
speedie 6328edc5cd Use global structs 2023-06-23 03:38:21 +02:00
speedie ebd625ba1e Add check for GNOME Wayland 2023-06-19 17:18:27 +02:00
speedie c1058dfb00 add option to enable/disable setting lines/columns using keybinds 2023-06-19 01:46:05 +02:00
speedie 1c6bc9f92d Add -fl argument which can be used to check if a feature is supported
This could be very useful for shell scripts, or debugging.
2023-06-12 17:09:34 +02:00
speedie 91178ad8ce Use slightly safer version of strcpy() 2023-06-12 03:39:29 +02:00
speedie 1c4c68dcc6 Add image resize option 2023-06-12 00:26:35 +02:00
speedie 263eca5820 remove wayland support section, instead arguments in the list are now
marked with X11 only.
2023-06-09 08:16:00 +02:00
speedie fd92de24ff allow overriding path to theme file and binds file in the regular config
file, and allow overriding config file path in options.h
2023-06-06 17:59:03 +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 ceb86bed13 move opening display to readstdin(), so .Xresources can be read if
protocol is set to wayland but wayland isn't actually used
2023-06-03 23:10:27 +02:00
speedie 17dd06139d fix: argument protocol overriden by config file 2023-06-02 19:00:09 +02:00
speedie 692e3abc68 Add experimental native Wayland support 2023-06-02 18:37:51 +02:00
speedie 95b420944c add a bind file which scripts can use to gain full control over keybinds 2023-05-22 22:47:37 +02:00
speedie 620cb0ca63 add option to not allow selecting multiple items to spmenu itself 2023-05-19 02:13:13 +02:00
speedie 71eb652853 improve the usage() function, remove unnecessary declaration of usage()
from spmenu.c
2023-05-19 01:44:11 +02:00
speedie 8c9d33d01f add LICENSE notice to all code 2023-05-14 00:21:16 +02:00
speedie 11859ff159 allow rofi like "next" colors 2023-05-13 16:07:29 +02:00
speedie 3da21bc052 allow overriding image cache directory 2023-05-12 23:23:15 +02:00
speedie 2e9cb1e408 add option to not allow typing if what is being typed doesn't have any
matches
2023-05-09 19:30:01 +02:00
speedie 5efe236380 indent lots of code using vim gg=G 2023-05-08 23:00:45 +02:00
speedie f08a72c5b1 fix typo 2023-05-08 14:08:06 +02:00
speedie 6c71982b58 its not a fucking float its a string why am i so retarded? 2023-05-07 22:55:09 +02:00
speedie 49973b40e2 fix some issues, add meson.build which i may or may not use later 2023-05-07 22:30:57 +02:00
speedie 63e5be2884 add the ability to read from file, been wanting this for a very long
time
2023-05-07 01:41:30 +02:00
speedie 442c40b732 add incremental as well, this should now include most suckless patches people use 2023-05-06 23:39:03 +02:00
speedie 5ff1abc849 add ability to print item number rather than the item itself 2023-05-06 23:29:41 +02:00
speedie 409fc8db5e add the option to not include support for .Xresources in the build 2023-05-06 22:01:28 +02:00
speedie c1d36670fa replace a lot of suckless coding decisions with my own 2023-05-06 14:29:45 +02:00
speedie 7509780d48 this is unnecessary 2023-05-01 19:33:25 +02:00
speedie 316fcd0a76 add basic theme.conf file support 2023-05-01 17:07:35 +02:00
speedie 683e051106 fix -nxrdb/-xrdb args 2023-04-29 23:16:31 +02:00
speedie a8b52b38e9 fix typo, it's -hom not -hem 2023-04-29 16:04:29 +02:00
speedie d512351828 actually add hidecaps, oops 2023-04-22 21:34:37 +02:00
speedie de3264d4f6 change arg, old arg is still recognized 2023-04-22 14:18:30 +02:00
speedie b79f5c39c1 add a caps lock indicator, took lots of work 2023-04-20 21:22:45 +02:00
speedie b58eb6cb9f last commit can now be done with an argument 2023-04-20 19:19:46 +02:00
speedie 700c18d60e change even more color names
NOTE: this breaks compatibility with most existing themes and
configurations, but i decided
it was better to do this change sooner than later
2023-04-17 17:36:18 +02:00
speedie 273fb103c9 add the ability to have vertical/horizontal outer padding (margin) 2023-04-16 23:57:02 +02:00
speedie 96ebb6ab8e don't allow columns to be lower than 1, previously this would hide items
but we have hideitems now making this useless
2023-04-07 23:53:19 +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 e0e56a9240 fix segmentation fault caused by strcmp(argv[++i], null); 2023-04-07 19:59:37 +02:00