Jacob
b1c80607a4
Add features section to README
2023-07-03 20:14:29 +02:00
speedie
903c4096af
It's *an* X11 menu application.
2023-07-03 19:22:01 +02:00
speedie
5305303cd2
Don't indent if hideimage
2023-07-03 19:12:53 +02:00
speedie
c7a402c00e
Add icons screenshot
2023-07-03 19:11:31 +02:00
Jacob
2f5a78a695
Merge pull request 'Add icon support to spmenu' ( #10 ) from icons into master
...
Reviewed-on: speedie/spmenu#10
2023-07-03 17:05:38 +00:00
speedie
4ac7119c5b
Add WIP icon support to spmenu
2023-07-03 18:48:38 +02:00
Jacob
3f456f3a37
Feature: Add the ability to take "screenshots" of spmenu.
...
It doesn't actually capture your screen, but rather saves the Cairo
surface to an image. The path to the image and some other options
can also be configured in the config file.
By default, Print Screen can be pressed in Normal mode with no modifier
to take a screenshot. The default location is the user's home directory,
and the file has a date attached to it. Of course, this can be changed
as well.
2023-06-30 02:44:29 +02:00
Jacob
eefa047c6e
No need to generate manual on install.
2023-06-30 01:23:57 +02:00
speedie
9c246c037d
Fix last commit
2023-06-28 19:46:03 +02:00
speedie
75637c4ae6
version bump: 2.3
2023-06-28 19:44:08 +02:00
speedie
bab025207f
Return exit code 1 if no item is selected
2023-06-27 01:46:34 +02:00
speedie
ba32ad46cb
Change the default number of columns for -fm
2023-06-27 01:41:36 +02:00
speedie
d4b43ac072
Fix $HISTORY passed to spmenu without -H argument
2023-06-27 01:36:54 +02:00
speedie
2124d33044
fix typo breaking -fm
2023-06-26 22:47:33 +02:00
speedie
706be5fbe0
Fix $PATH on BSD by using compgen instead
2023-06-26 18:48:49 +02:00
speedie
a6efdbc17f
Some history fixing for FreeBSD
2023-06-26 18:34:25 +02:00
speedie
b33f0bc68e
More BSD compatibility
2023-06-26 18:26:53 +02:00
speedie
5806bcc897
Always check if the desktop entry exists.
2023-06-26 18:25:35 +02:00
speedie
d4f8f58178
Redirect find
errors to /dev/null, fixing bugs on BSD.
2023-06-26 18:20:46 +02:00
speedie
8e257d5f6b
Improve FreeBSD compatibility by moving meson.options to
...
meson_options.txt
Also fix a -Wsometimes-uninitialized
2023-06-26 18:09:03 +02:00
speedie
20e019b748
Update documentation for spmenu_run to mention bookmarking
2023-06-25 22:21:54 +02:00
speedie
6bc994399f
pandoc version update
2023-06-25 18:38:13 +02:00
Jacob
591023c471
Fix headers being deleted when they shouldn't be
2023-06-25 20:23:15 +02:00
Jacob
1ac60b25ad
Add $RUNLAUNCHER_BM_ARGS variable
2023-06-25 20:19:41 +02:00
Jacob
0c9ae3977a
Add -sb and -nsb arguments to spmenu_run
2023-06-25 20:14:58 +02:00
Jacob
9b062f7dfb
Set prefix in script
2023-06-25 19:56:00 +02:00
Jacob
d439b14ea2
Rename some variables, allow setting prompt
2023-06-25 19:53:22 +02:00
Jacob
88bbfa2cb9
Add the ability to run a command for the bookmark.
...
Typing in @GNU:xdg-open https://gnu.org will create a bookmark called
GNU which opens up gnu.org in your browser. '@' will show bookmarks and
'@c' will clear bookmarks.
2023-06-25 19:43:17 +02:00
Jacob
53dca773a7
Add bookmarking to spmenu_run
2023-06-25 18:41:43 +02:00
speedie
f08b9bdccc
spmenu_test.1 must be installed
2023-06-25 02:26:30 +02:00
speedie
1a4f2c08ef
Replace sed -i
with sed
for *BSD compatibility
2023-06-24 23:30:03 +02:00
speedie
c7632f342e
Fix generate.sh
...
Fix generate.sh, it should now generate properly. Also remove the actual
protocols, the user should generate those, not me.
2023-06-24 21:12:18 +02:00
speedie
b4dd4fc383
Add documentation for spmenu_test
...
Add documentation for spmenu_test, also improve Markdown format
consistency.
2023-06-24 19:55:11 +02:00
speedie
2cee004182
Remove more useless Xinerama code
2023-06-24 17:34:03 +02:00
speedie
336bdd5830
Simplify display width/height code
...
With this commit, display width/height is only grabbed once. This means
we don't need to deal with all that X11 and Xinerama code when we're
simply resizing the window.
2023-06-24 17:13:17 +02:00
speedie
bd49d876cd
Move to the first item when setting lines
...
This fixes an issue where you can resize beyond the number of items
2023-06-24 17:01:43 +02:00
speedie
dfc4fe038c
Remove fullscreen functionality
...
The fullscreen functionality is kind of cool, but adds a lot of code and
as commit history has shown, plenty of bugs and extra required testing.
I may reimplement this later in a less bad manner. Note that the
fullscreen behavior can be achieved by simply increasing image size to
the max. spmenu will let you do that.
Fixes issue #9
2023-06-24 04:53:44 +02:00
speedie
748db7eed1
simplify full screen
2023-06-24 04:43:05 +02:00
speedie
c0cd874348
Use /usr/bin/env bash instead of /bin/bash in the spmenu_make script for
...
consistency with spmenu_run and spmenu_test
2023-06-24 04:22:15 +02:00
speedie
0a59088313
Fix keybind conflict, replace imageg, imagew and imageh in favor of
...
using the img struct
2023-06-24 04:20:51 +02:00
speedie
aba3541d37
Disable fullscreen when no image
2023-06-24 03:00:00 +02:00
speedie
02c6c4ac5c
Remove unnecessary else continue;
from X11 and Wayland keybind
...
handling
2023-06-23 20:28:22 +02:00
Jacob
98240c4d13
Merge pull request 'Codebase improvements' ( #8 ) from imp into master
...
Reviewed-on: speedie/spmenu#8
2023-06-23 15:30:22 +00:00
speedie
8e0de8f556
Simplify some variables
2023-06-23 17:27:57 +02:00
speedie
152b14330f
Xlib must now be included in spmenu.c
...
Also, we should be checking the length of wl_cbuttons, not cbuttons on
Wayland.
2023-06-23 04:04:02 +02:00
speedie
59983981c2
Rename libdrw functions to simply "draw"
2023-06-23 03:49:23 +02:00
speedie
6328edc5cd
Use global structs
2023-06-23 03:38:21 +02:00
speedie
f0b22fd14d
Add some more functions
2023-06-23 01:08:36 +02:00
speedie
e9f88bbb50
Auto refresh enabled by default
2023-06-23 00:56:07 +02:00
speedie
f6d4ea8cb9
Add some functions that can be defined in the configuration file
2023-06-23 00:55:03 +02:00