~tsdh

near Koblenz, Germany

https://www.tsdh.org/

Free software hacker, Emacs addict, hobbyist beekeeper and chicken farmer

~tsdh/public-inbox

Last active 4 months ago
View more

Recent activity

Re: dns oddities with sr.ht? 4 months ago

From Tassilo Horn to ~sircmpwn/sr.ht-discuss

Greg Minshall <minshall@umich.edu> writes:

Hi Greg,

> hi.  i am seeing odd behavior resolving sr.ht.

I guess you missed https://outage.sr.ht/.

Bye,
Tassilo

Re: [swayr] text only mode? 4 months ago

From Tassilo Horn to ~tsdh/public-inbox

snow john <snow40479@gmail.com> writes:

Hi,

> Thanks for the wonderful package.

Thanks a lot!

> Wondering if there's a setting to toggle a text only mode so that I
> don't want to deal with the complexity of icons and images?
>
> ```
> [format]
> window_format = "<i>{app_name}</i> —

Re: highlight-parentheses.el: Introduce a customizable variable for highlighted depth 5 months ago

From Tassilo Horn to ~tsdh/public-inbox

Mekeor Melire <mekeor@posteo.de> writes:

Hi Mekeor,

>> You are reading that code incorrectly. Only if no
>> highlight-parentheses-colors,
>> highlight-parentheses-background-colors, or
>> highlight-parentheses-attributes are defined, it will use a default
>> depth of 8. Otherwise, the depth is the length of the longest of
>> those lists.
>
> Thank you for explaining. I have no requests anymore. Thanks for the
> package!

Re: highlight-parentheses.el: Introduce a customizable variable for highlighted depth 6 months ago

From Tassilo Horn to ~tsdh/public-inbox

Mekeor Melire <mekeor@posteo.de> writes:

Hi Mekeor,

> highlight-parentheses.el has the maximal depth of highlighted
> parentheses hard-coded to be 8:
> https://git.sr.ht/~tsdh/highlight-parentheses.el/tree/main/item/highlight-parentheses.el#L232

You are reading that code incorrectly.  Only if no
highlight-parentheses-colors, highlight-parentheses-background-colors,
or highlight-parentheses-attributes are defined, it will use a default
depth of 8.  Otherwise, the depth is the length of the longest of those
lists.

Re: [PATCH swayr] cmds: fix a comment typo 7 months ago

From Tassilo Horn to ~tsdh/public-inbox

Rouven Czerwinski <rouven@czerwinskis.de> writes:

Hi Rouven,

> This shows up under swayr --help, so fix the description.

Thanks a lot! Applied and pushed.

Bye,
Tassilo

Re: Swayr config reload info + cycling through workspaces 8 months ago

From Tassilo Horn to ~tsdh/public-inbox

Wojciech Jablonski <wojablonski@gmail.com> writes:

Hi Wojciech,

> Hi, what a great tool! 

Thanks!

> However, an information on how to reload/update swayr's configuration
> seems to be missing from the Readme. It seems one has to fully restart
> sway for it, but an info would be very convenient.

No, you can just execute "killall swayrd; swayrd" in a shell.  You might
also use

Re: Fastmail patches may be adding ^M 10 months ago

From Tassilo Horn to ~sircmpwn/sr.ht-discuss

"Drew DeVault" <sir@cmpwn.com> writes:

> Fastmail adds CR on emails sent via SMTP? You should complain to your
> mail administrator about this. But I think others have had successes
> with Fastmail before, so it might be a local config issue?

My mail provider is Fastmail, too, and I've just git-send-email-ed some
random commit to myself.  I'd didn't get mangled, i.e., the encoding is
utf8 with unix line-endings which corresponds to what I use in the
project the commit originates from.

Bye,
Tassilo

Re: [swayr] nop <criteria> && command 1 year, 26 days ago

From Tassilo Horn to ~tsdh/public-inbox

"Takahashi, Naoki" <tkna91@gmail.com> writes:

> Thanks. As far as I'm briefly testing it now, it doesn't seem to have
> any glitches.

Thanks!

> I think it would be easy to understand if you could do the same thing
> with 'swayr nop <CRITERIA>' as below, but what do you think?

You mean, make "swayr nop <CRITERIA>" an alternative to "swayr
get-windows-as-json -m <CRITERIA> -e" just without the JSON output?  If
that's the question, the answer is a No because the nop command already
has a specific meaning in swayr: it ends the current next/prev sequence.

Re: [swayr] nop <criteria> && command 1 year, 26 days ago

From Tassilo Horn to ~tsdh/public-inbox

Tassilo Horn <tsdh@gnu.org> writes:

>> I think it would be useful if the swayr nop command could do this as
>> well.
>
> Yes, absolutely.  I'll make it so when I find some spare time. :-)

It's done!  However, I didn't extend the nop command but the (until now
undocumented) get-windows-as-json command.  See the last command in
https://sr.ht/~tsdh/swayr/#miscellaneous-commands.

It's only in the main branch so far but I'll release 0.26.0 shortly.  It
would be great if you could do some testing.

Re: [swayr] nop <criteria> && command 1 year, 28 days ago

From Tassilo Horn to ~tsdh/public-inbox

"Takahashi, Naoki" <tkna91@gmail.com> writes:

> `swaymsg <criteria> nop` returns a non-zero return value on failure,
> allowing conditional decisions for use in scripting.
>
> ```
> $ swaymsg '[app_id="foot"]' nop ; echo $?
> 0
> $ swaymsg '[app_id="foot"]' nop ; echo $?
> Error: No matching node.
> 2
> $
> ```