~mil/sxmo-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH sxmo-utils] sxmo_hook_*.sh: add iamb

Details
Message ID
<20240321113525.17290-1-hazardchem@disroot.org>
DKIM signature
pass
Download raw message
Patch: +19 -0
This patch adds iamb to:

sxmo_hook_apps.sh

sxmo_hook_contextmenu.sh

Signed-off-by: hazardchem <hazardchem@disroot.org>
---
 configs/default_hooks/sxmo_hook_apps.sh        |  1 +
 configs/default_hooks/sxmo_hook_contextmenu.sh | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)

diff --git a/configs/default_hooks/sxmo_hook_apps.sh b/configs/default_hooks/sxmo_hook_apps.sh
index e007d62..bf04f17 100755
--- a/configs/default_hooks/sxmo_hook_apps.sh
+++ b/configs/default_hooks/sxmo_hook_apps.sh
@@ -69,6 +69,7 @@ write_line_app gpodder "$icon_rss gPodder" "gpodder"
write_line_app gucharmap "$icon_inf Gucharmap" "gucharmap"
write_line_app hexchat "$icon_msg Hexchat" "hexchat"
write_line_app htop "$icon_cfg Htop" "sxmo_terminal.sh htop"
write_line_app iamb "$icon_msg Iamb" "sxmo_terminal.sh iamb"
write_line_app irssi "$icon_msg Irssi" "sxmo_terminal.sh irssi"
write_line_app ii "$icon_msg Ii" "sxmo_terminal.sh ii"
write_line_app ipython "$icon_trm IPython" "sxmo_terminal.sh ipython"
diff --git a/configs/default_hooks/sxmo_hook_contextmenu.sh b/configs/default_hooks/sxmo_hook_contextmenu.sh
index 3b189bc..ed95c96 100755
--- a/configs/default_hooks/sxmo_hook_contextmenu.sh
+++ b/configs/default_hooks/sxmo_hook_contextmenu.sh
@@ -419,6 +419,24 @@ case "$WMCLASS" in
				$icon_mnu Terminal menu   ^ 0 ^ sxmo_appmenu.sh $WMCLASS
			"
			WINNAME=cmus
		elif printf %s "$WMNAME" | grep -qi -w "iamb"; then
			CHOICES="
				$icon_aru Page Up          ^ 1 ^ sxmo_type.sh -k Escape -M Ctrl -k b
				$icon_tab Toggle Selection ^ 0 ^ sxmo_type.sh -k Escape -M Ctrl -k W m
				$icon_ard Page Down        ^ 1 ^ sxmo_type.sh -k Escape -M Ctrl -k f
				$icon_ret Reply To Message ^ 0 ^ sxmo_type.sh -k Escape :reply -k Return
				$icon_tab New Tab          ^ 0 ^ sxmo_type.sh -k Escape :tab rooms -k Return
				$icon_arl Previous Tab     ^ 0 ^ sxmo_type.sh -k Escape :tabp -k Return
				$icon_arr Next Tab         ^ 0 ^ sxmo_type.sh -k Escape :tabn -k Return
				$icon_cls Close Tab        ^ 0 ^ sxmo_type.sh -k Escape :tabclose -k Return
				$icon_win Split View       ^ 0 ^ sxmo_type.sh -k Escape :split -k Return
				$icon_win Split View Vertical ^ 0 ^ sxmo_type.sh -k Escape :vsplit -k Return
				$icon_msg Direct Messages  ^ 0 ^ sxmo_type.sh -k Escape :dms -k Return
				$icon_grp Rooms            ^ 0 ^ sxmo_type.sh -k Escape :rooms -k Return
				$icon_glb Spaces           ^ 0 ^ sxmo_type.sh -k Escape :spaces -k Return
				$icon_sav Download         ^ 0 ^ sxmo_type.sh -k Escape :download -k Return
			"
			WINNAME=iamb
		else
			# Now we fallback to the default terminal menu
			case "$WMCLASS" in
-- 
2.44.0

[sxmo-utils/patches/test.yml] build success

builds.sr.ht <builds@sr.ht>
Details
Message ID
<CZZEBANUX4PK.1NRX2T6429SIH@fra01>
In-Reply-To
<20240321113525.17290-1-hazardchem@disroot.org> (view parent)
DKIM signature
missing
Download raw message
sxmo-utils/patches/test.yml: SUCCESS in 23s

[sxmo_hook_*.sh: add iamb][0] from [hazardchem][1]

[0]: https://lists.sr.ht/~mil/sxmo-devel/patches/50345
[1]: hazardchem@disroot.org

✓ #1174808 SUCCESS sxmo-utils/patches/test.yml https://builds.sr.ht/~mil/job/1174808
Details
Message ID
<k5da56oduijqngn4huel4noknzho2df4p2tezcvt2yq5zu34ki@vxtcy745ycxk>
In-Reply-To
<20240321113525.17290-1-hazardchem@disroot.org> (view parent)
DKIM signature
pass
Download raw message
Applied, thanks! I added some information on what iamb is to the commit
message.

To git.sr.ht:~mil/sxmo-utils
   d5dbfc6..86686a1  86686a1 -> master
Reply to thread Export thread (mbox)