Re: [hackers] [tabbed][PATCH] Use PWD xprop to set workdir for spawned clients

2020-06-04 Thread Nikita Zlobin
In Thu, 4 Jun 2020 16:21:40 -0400 Daniel Moch wrote: > On Thu, Jun 04, 2020 at 11:26:15AM +0500, Nikita Zlobin wrote: > > Somewhat disconvenient after true multitab terminals, that new term > > tabs don't inherit workdir from previous active. Here is some > > attempt to make such a bond. > > My

Re: [hackers] [tabbed][PATCH] Use PWD xprop to set workdir for spawned clients

2020-06-04 Thread Daniel Moch
On Thu, Jun 04, 2020 at 11:26:15AM +0500, Nikita Zlobin wrote: > Somewhat disconvenient after true multitab terminals, that new term > tabs don't inherit workdir from previous active. Here is some attempt > to make such a bond. My memory is that terminals in this case inherit their working

[hackers] [surf] [patch] chromebar update

2020-06-04 Thread Rhylx
Hi, Here is the diff for the chromebar update: diff --git a/config.def.h b/config.def.h index 34265f6..ef33948 100644 --- a/config.def.h +++ b/config.def.h @@ -121,6 +121,13 @@ static SiteSpecific certs[] = { { "://suckless\\.org/", "suckless.org.crt" }, }; +/* Search engines */ +static const

[hackers] [tabbed][PATCH] Fix clients BadDrawable at cleanup with multiple tabs

2020-06-04 Thread Nikita Zlobin
unmanage() after killclient() causes at least one BadDrawable from client. For urxvtd it can crash entire daemon. --- tabbed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabbed.c b/tabbed.c index 4ee4277..6b53d94 100644 --- a/tabbed.c +++ b/tabbed.c @@ -219,10 +219,10 @@

[hackers] [tabbed][PATCH] Use PWD xprop to set workdir for spawned clients

2020-06-04 Thread Nikita Zlobin
workdir could be got from active client via xprop, then set for spawned client. Terminals can pass it with xprop -id ${WINDOWID} command from hook, created for PWD change. Setting up hook depends on what shell is used. For bash it's doable either via cd() function or PROMPT_COMMAND. Example bash

[hackers] [tabbed][PATCH] Use utf8 for window name

2020-06-04 Thread Nikita Zlobin
At least some desktop tools (non-mainstream) are in trouble with tabbed window name. At the moment of try I have only tint2 and rofi. First just showes intitled, but second - "Invalid encoding". Though xfwm4 has no problem with compound text names. --- tabbed.c | 4 ++-- 1 file changed, 2

[hackers] [tabbed][PATCH] Use utf8 for window name

2020-06-04 Thread Nikita Zlobin
I noticed, that rofi window selector and tint2 panel can't display tabbed window name correctly, though no problem with e.g. xterm and urxvt. Strange :/ anyway, no more problem. From ec95771f2434b44a1d3e83135b95118a42fc78fe Mon Sep