speedie.site project updates https://speedie.site/project-list RSS feed for updates on my projects. spmenu 1.1 release https://spmenu.speedie.site post5 Mon, 08 May 2023 00:00:00 +0100 spmenu 1.1 release. There are many changes, such as:

  • New theme.conf. Support for legacy themes also removed
  • spmenu_profile removed, a separate program must now be used for managing themes
  • Meson is now used to build the project, although it should be noted that you can still use the build.sh.
  • Add option to return item index
  • Fix color emojis crashing in case the user is using an old libXft version
  • Desktop entries are now validated before being displayed/cached
  • Caching is no longer optional, this allows a better codebase, and no one in their right mind would want it disabled anyway
  • Add option to read entries from a file allowing entries to be auto updated when the file has been changed
  • Add Arc-Dark theme to themes/
  • Clean up warnings when -Ofast is used
  • Replace suckless coding style with my own
  • Properly indent all C code
  • Use pascal case for clicks in the keybinds.h and mouse.h headers as well as the spmenu.conf
  • No longer use PDFs
  • Fix -nxrdb/xrdb arguments
  • Fix duplicate entries in spmenu_run when using the -cc argument caused by arrays not being cleared before reuse
  • Add 256 colors to the sgrcolors array by default
  • And much more.

You can get the new release through pacman if you're using my Arch repository, or you can simply get the source code and compile it yourself.

]]>
spmenu 1.1.1 release https://spmenu.speedie.site post6 Wed, 10 May 2023 00:00:00 +0100 spmenu 1.1.1 release. Very small release, but it fixes small issues with 1.1, such as:

  • Don't use stupid sed/variable jank in meson.build, as one good sir pointed out to me it's not necessary
  • Optimization is now set by the buildconf
  • Debloat build.sh script
  • Fix a bug where the caret may be moved if an item to the left/right is selected
  • Enable highlighting for entries that use SGR sequences
  • Add option to not allow typing if what is being typed doesn't have any matches. spmenuify uses this.
  • Rename some headers to more fitting names
  • Change some default keybinds (your existing spmenu.conf will still work)

You can get the new release through pacman if you're using my Arch repository, or you can simply get the source code and compile it yourself.

]]>
spmenu 1.1.2 release https://spmenu.speedie.site post7 Fri, 12 May 2023 00:00:00 +0100 spmenu 1.1.2 release. Minor release, fixing small issues with 1.1.1, such as:

  • Fix Pango markup bug
  • Use img:// prefix rather than IMG:
  • Allow UTF-8 text to be toggled
  • Don't draw images until KeyRelease
  • Fix arch package
  • Change some default keybinds (your existing spmenu.conf will still work)

You can get the new release through pacman if you're using my Arch repository, or you can simply get the source code and compile it yourself.

]]>
spmenu 1.2 release https://spmenu.speedie.site post8 Fri, 19 May 2023 00:00:00 +0100 spmenu 1.2 release. Minor release, fixing small issues with 1.1.1, such as:

  • spmenu_test displays 256 colors now and overall looks nicer
  • Add option to override image cache directory
  • Add .desktop entries
  • Add basic vector logo
  • Add rofi like 'next' colors
  • Add option to not validate desktop entries
  • Add function to fullscreen an image
  • Add Ctrl+Alt+Shift+Delete keybind to kill spmenu if the keybind is removed
  • Add separate man page for spmenu_run
  • Add multi selection (marking) to spmenu
  • Add script for generating themes
  • Improve pacman PKGBUILD
  • Improve meson.build and meson.options

You can get the new release through pacman if you're using my Arch repository, or you can simply get the source code and compile it yourself.

]]>
spmenu 2.0 release https://spmenu.speedie.site post9 Fri, 02 Jun 2023 00:00:00 +0100 spmenu 2.0 release. This release fixes many bugs, but notably adds in experimental Wayland support. It is enabled by default.

  • Add Wayland support
  • Code cleanup
  • Remove UTF-8 toggle
  • Use Cairo for everything, no more X11 specific libraries for drawing. This also means arrows look much better.
  • Remove colorschemes, colors are now passed directly to drw_text.
  • Add bind.conf file, which can be used to configure keybinds individually

You can get the new release through pacman if you're using my Arch repository, or you can simply get the source code and compile it yourself.

]]>
spmenu 2.0.1 release https://spmenu.speedie.site post10 Sat, 03 Jun 2023 00:00:00 +0100 spmenu 2.0.1 release. This release fixes some issues with release 2.0.

  • Fix alpha option for Wayland
  • Fix X11 support. It would work under Xwayland but not a real X11 window manager
  • Update URLs after the cgit to gitea migration
  • Add license notice to all the scripts
  • Remove old and outdated comments from the example .Xresources file
  • Disable broken X11 only features under Wayland.
  • Remove old USEPANGO code
  • Fix typo in die() call
  • Bash is now a dependency in the PKGBUILD, as it should be
  • Freetype is no longer a dependency in the PKGBUILD, it's not necessary
  • Move the code for opening the display to readstdin(), so .Xresources can be used if Wayland as the primary protocol is enabled, but X11 is actually used.
  • Don't remove spmenu-VERSION.tar.gz when creating a pacman package.

You can get the new release through pacman if you're using my Arch repository, or you can simply get the source code and compile it yourself.

]]>
fontctrl 1.3 release https://git.speedie.site/speedie/fontctrl post11 Tue, 06 Jun 2023 00:00:00 +0100 fontctrl 1.3 release. This release fixes some small bugs.

You can get the new release through pacman if you're using my Arch repository, or you can simply get the updated version here.

]]>
spmenu 2.1 release https://spmenu.speedie.site post12 Fri, 09 Jun 2023 00:00:00 +0100 spmenu 2.1 release. This release is once again mostly a bug fix update, but introduces some pretty cool stuff.

  • Add X11 toggle, so now spmenu can run 100% on Wayland without any X libraries installed.
  • Add option to override path to theme file, useful for Pywal.
  • Drop official macOS support (it will most likely still work though).
  • Massive documentation improvements
  • Remove old preview image, add new screenshots including some animated gifs.
  • Add rounded variant of the powerline
  • Add support for images on Wayland too.
  • Keybinds in the config file are now one liners, so the default config is a lot more user friendly.
  • Indent lines in the default config file
  • Fix previously undiscovered bugs with the keybind handling
  • Replace the spmenu colorscheme with a new colorscheme
  • Enable rounded powerlines and indentitems by default
  • Update spmenu(1) and spmenu_run(1) to point to this repository instead.
  • Fix one instance of a keybind conflict causing multiple keybinds to be activated.
  • Move the rest of the headers to libs/

You can get the new release through pacman if you're using my Arch repository, or you can simply get the source code and compile it yourself.

]]>
spmenu 2.1.1 release https://spmenu.speedie.site post13 Tue, 13 Jun 2023 00:00:00 +0100 spmenu 2.1.1 release. Some cleanup and fixes after the 2.1 release, nothing too major.

  • Replace deprecated MD5() function (yay!)
  • Remove unused cursor code from (now) draw.c
  • Move libs/libdrw/drw.c to libs/draw/draw.c and libs/libdrw/drw.h to libs/draw/draw.h
  • Move libs/sl/main.c to libs/main.c and libs/sl/main.h to libs/main.h
  • Add slightly safer strncpy() function to main.c and use it everywhere
  • Fix keybind conflict in the Wayland keybind array, 2.1 forgot this.
  • Add options to the config allowing width, height and padding for the cursor/caret to be set in the config file.
  • Cleanup menu height setting by calling a single function instead
  • Fix a freeze when certain parts of spmenu is hidden and an image is drawn
  • Fix compiling when !USEIMAGE
  • Massively clean up image drawing code
  • Don't include Xlib in draw.c if !USEX
  • Fix fullscreen image mode height
  • Fix typo causing image gaps to set the image height in the config file
  • Simplify .gitignore, much of what it used to contain is no longer useful
  • Add -fl or --feature-list argument allowing you to see what features were compiled in
  • Allow forcing xdg directory if $XDG_CACHE_DIR is unset, mostly useful for debugging
  • Add image resizing toggle, in case you want the menu height to never change

You can get the new release through pacman if you're using my Arch repository, or you can simply get the source code and compile it yourself.

]]>
spmenu 2.2 release https://spmenu.speedie.site post14 Wed, 21 Jun 2023 00:00:00 +0100 spmenu 2.2 release. Adds a few features, but more importantly fixes a lot of bugs with mouse clicks and images.

  • Add powerline for items
  • Support the Terminal specification in .desktop entries
  • Add option and argument to not allow setting lines/columns using keybinds
  • Fix margin-horizontal when lines are used
  • Fix margin-vertical when full screen images are used
  • Fix loading from file on Wayland
  • Change Ctrl+Shift+h keybind to simply Shift+h
  • Switch to Ctrl modifier from Alt modifier for navhistory keys
  • Add check for GNOME Wayland, to make the experience a little less bad for the people using Mutter.
  • Fix far too many bugs to count with mouse clicks
  • Better screenshots in the README
  • Set cache size on Wayland too, could fix some issues with very big images
  • Combine the many make scripts into a single script, spmenu_make
  • Remove broken single line clicks
  • Remove example scripts, those can now be found in a separate repository
  • Improve documentation a bit

You can get the new release through pacman if you're using my Arch repository, or you can simply get the source code and compile it yourself.

]]>
spmenu 2.3 release https://spmenu.speedie.site post15 Wed, 28 Jun 2023 00:00:00 +0100 spmenu 2.3 release. Adds bookmarking, fixes BSD support and some bugs.

  • Default to the default value of $XDG_CACHE_DIR in case $XDG_CACHE_DIR isn't set
  • Simplify caching of desktop entries
  • Remove entry validation, not very useful and breaks several features
  • Replace read -r code with mapfile
  • Add some functions that can be defined in the user's config file
  • Enable auto refreshing entries by default, it doesn't seem to cause any issues anymore
  • Clean up the codebase by using structs
  • Rename libdrw, because it doesn't resemble upstream anymore
  • Remove useless else continue at the end of loops
  • Remove fullscreen functionality, it's not useful and you can just scale the image up. It caused several bugs, none of which were worth fixing
  • Remove duplicate Xinerama code, now only get window width/height once and assign it to a variable
  • Replace sed -i for non-GNU support
  • Add man page for spmenu_test
  • Add bookmarking to spmenu_run
  • Don't include Wayland headers in the build, wayland-scanner should do the job on the user's machine
  • Fix spmenu_run history on BSD
  • Return exit code 1 if no item is selected using the -fm spmenu_run argument
  • Fix spmenu_run -x argument on BSD by using compgen
  • Fix infinite loop on non-GNU systems caused by wc -l being used to break in a while true loop

You can get the new release through pacman if you're using my Arch repository, or you can simply get the source code and compile it yourself.

]]>