Commit graph

88 commits

Author SHA1 Message Date
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
speedie 319f37254f clear up some possible errors 2023-04-07 18:45:22 +02:00
speedie 68b58325d4 allow specifying a specific configuration file to load 2023-04-07 18:42:12 +02:00
speedie e43754f534 add some arguments 2023-04-07 17:58:42 +02:00
speedie 2ee27ad8bc move a few things to the config, add .Xresources values 2023-04-07 14:57:19 +02:00
speedie 10495b48bf add experimental configuration file
profiles still need to be rewritten
2023-04-04 21:40:22 +02:00
speedie 43402ce76b add basic configuration, not anywhere near complete yet 2023-04-04 21:40:22 +02:00
speedie 2c68937e38 finish the -It argument 2023-04-03 15:14:20 +02:00
speedie c44333b3ce add ${PREFIX} to scripts, may improve compatibility with for example
NixOS
2023-04-03 14:54:44 +02:00
speedie 2a9eebe93f s/dynamic menu/fancy dynamic menu/g 2023-04-02 01:49:58 +02:00
speedie 6ac2afb240 add plenty of comments to spmenu 2023-03-31 12:42:42 +02:00