~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
5 3

[PATCH sxmo-utils 1/2] 'sxmo_status.sh del' help typo

Details
Message ID
<20220329082606.495147-1-bruno.dupuis@protonmail.com>
DKIM signature
missing
Download raw message
Patch: +1 -1
---
 scripts/core/sxmo_status.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/core/sxmo_status.sh b/scripts/core/sxmo_status.sh
index 374983b..45bfae8 100755
--- a/scripts/core/sxmo_status.sh
+++ b/scripts/core/sxmo_status.sh
@@ -54,7 +54,7 @@ del() {
	shift

	if [ -z "$id" ]; then
		printf "usage: %s rm <id>\n" "$(basename "$0")" >&2
		printf "usage: %s del <id>\n" "$(basename "$0")" >&2
		exit 1
	fi

-- 
2.35.1

[PATCH sxmo-utils 2/2] Allow custom wob args in sxmo_wob.sh

Details
Message ID
<20220329082606.495147-2-bruno.dupuis@protonmail.com>
In-Reply-To
<20220329082606.495147-1-bruno.dupuis@protonmail.com> (view parent)
DKIM signature
missing
Download raw message
Patch: +7 -1
---
 configs/default_hooks/sxmo_hook_start.sh | 4 ++++
 scripts/core/sxmo_wob.sh                 | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/configs/default_hooks/sxmo_hook_start.sh b/configs/default_hooks/sxmo_hook_start.sh
index 5270284..7b93c54 100644
--- a/configs/default_hooks/sxmo_hook_start.sh
+++ b/configs/default_hooks/sxmo_hook_start.sh
@@ -15,6 +15,10 @@ echo "unlock" > "$SXMO_STATE"

case "$SXMO_WM" in
	sway)
		# This env var requires sxmo to be started, hence we can't set
		# it in profile
		# useable_width="$(swaymsg -t get_outputs -r | jq '.[] | select(.focused == true) | .rect.width')"
		# export WOB_ARGS='-W "$((useable_width - 60))" -a top -a left -a right --border-color "#DBCBA2AA" --background-color "#000000AA" --bar-color "#DBCBA2AA" -b 1 -M 10'
		sxmo_daemons.sh start desktop_notifier mako
		sxmo_daemons.sh start wob sxmo_wob.sh
		sxmo_daemons.sh start menu_mode_toggler sxmo_menumode_toggler.sh
diff --git a/scripts/core/sxmo_wob.sh b/scripts/core/sxmo_wob.sh
index ae2911f..075fa9b 100644
--- a/scripts/core/sxmo_wob.sh
+++ b/scripts/core/sxmo_wob.sh
@@ -9,13 +9,15 @@
. "$(which sxmo_common.sh)"

useable_width="$(swaymsg -t get_outputs -r | jq '.[] | select(.focused == true) | .rect.width')"
default_args="-W $((useable_width - 60)) -a top -a left -a right -M 10"
WOB_ARGS="${WOB_ARGS:-$default_args}"
wob_sock="$XDG_RUNTIME_DIR"/sxmo.wobsock
rm -f "$wob_sock"
mkfifo "$wob_sock"

# By opening the socket as read-write it isn't closed after the first write
# see https://unix.stackexchange.com/questions/392697
wob -W "$((useable_width - 60))" -a top -a left -a right -M 10 <> "$wob_sock" &
wob $WOB_ARGS <> "$wob_sock" &
WOBPID=$!

finish() {
-- 
2.35.1

[sxmo-utils/patches/.build.yml] build failed

builds.sr.ht <builds@sr.ht>
Details
Message ID
<CIW7IVH9NTSW.M1JN38939UY9@cirno>
In-Reply-To
<20220329082606.495147-2-bruno.dupuis@protonmail.com> (view parent)
DKIM signature
missing
Download raw message
sxmo-utils/patches/.build.yml: FAILED in 24s

['sxmo_status.sh del' help typo][0] from [Bruno Dupuis][1]

[0]: https://lists.sr.ht/~mil/sxmo-devel/patches/30646
[1]: bruno.dupuis@protonmail.com

✗ #725626 FAILED sxmo-utils/patches/.build.yml https://builds.sr.ht/~mil/job/725626

Re: [PATCH sxmo-utils 2/2] Allow custom wob args in sxmo_wob.sh

Details
Message ID
<38OKYZC0Z4NLU.25N349ZLJS3JZ@yellow-orcess.my.domain>
In-Reply-To
<20220329082606.495147-2-bruno.dupuis@protonmail.com> (view parent)
DKIM signature
missing
Download raw message
Marked as superseded

Re: [PATCH sxmo-utils 2/2] Allow custom wob args in sxmo_wob.sh

Details
Message ID
<wJY8qyZ6Qu7xEQk8LZxJUxNYyVkCU__mtjgwg_sijnd0_8U-8vk24wXhA0iEhCWotGCqMsEjHV_lmXF6qYeA7_iy7iG0cmP-EhTBPmy4utE=@protonmail.com>
In-Reply-To
<38OKYZC0Z4NLU.25N349ZLJS3JZ@yellow-orcess.my.domain> (view parent)
DKIM signature
missing
Download raw message
Hey! just for my information... Is it possible to mark a patch as superseded myself? How so? It would remove the burden of cleaning my own mess from the shoulders of the maintainers...

Thanks!

--
Bruno Dupuis

------- Original Message -------

On Tuesday, March 29th, 2022 at 11:34, Stacy Harper <contact@stacyharper.net> wrote:

> Marked as superseded

Re: [PATCH sxmo-utils 2/2] Allow custom wob args in sxmo_wob.sh

Details
Message ID
<2SPDY1RYOGNLB.2BUKGBY8PJ5NL@yellow-orcess.my.domain>
In-Reply-To
<wJY8qyZ6Qu7xEQk8LZxJUxNYyVkCU__mtjgwg_sijnd0_8U-8vk24wXhA0iEhCWotGCqMsEjHV_lmXF6qYeA7_iy7iG0cmP-EhTBPmy4utE=@protonmail.com> (view parent)
DKIM signature
missing
Download raw message
Hey there,

Nah I dont think you can. Ideally sourcehut will be able to handle
common cases itself. Sending a v2 with the same title should be enough.

This is a planned feature we all wait :D

Thanks for your patchs !
Reply to thread Export thread (mbox)