You are not logged in.

#1 2022-04-02 17:59:21

WeebSpirit
Member
Registered: 2021-10-27
Posts: 91

When trying to kill one window, bspwm kills all of the windows of app.

[SOLVED]So, for example, i launched wezterm 2 times, and when one of them is targeted and killed using super + q (which does bspc node -{c,k}) it instead kills both of them instead of one. How to make it kill just one window?

Last edited by WeebSpirit (2022-04-03 08:11:53)

Offline

#2 2022-04-03 07:14:02

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: When trying to kill one window, bspwm kills all of the windows of app.

How did you launch wezterm two times? If you launch the second wezterm from the first one, this is the expected behaviour.
start wezterm with option --always-new-process if you do not want this behavior.

Offline

#3 2022-04-03 07:31:26

WeebSpirit
Member
Registered: 2021-10-27
Posts: 91

Re: When trying to kill one window, bspwm kills all of the windows of app.

Stefan Husmann wrote:

How did you launch wezterm two times? If you launch the second wezterm from the first one, this is the expected behaviour.
start wezterm with option --always-new-process if you do not want this behavior.

I launched wezterm via super + enter. Also it's not only wezterm. Same happens with thunar, firefox and probably others

Offline

#4 2022-04-03 08:02:30

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: When trying to kill one window, bspwm kills all of the windows of app.

I believe thunar and firefox also run in a single process. and -k kills the connection of a process to the x server. Maybe using only -c may work to just close the window.

Last edited by progandy (2022-04-03 08:08:12)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#5 2022-04-03 08:06:06

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: When trying to kill one window, bspwm kills all of the windows of app.

And now we should guess what's in your sxhkd config?

Cannot reproduce for thunar and firefox. And also not for "probably others".

Offline

#6 2022-04-03 08:10:05

WeebSpirit
Member
Registered: 2021-10-27
Posts: 91

Re: When trying to kill one window, bspwm kills all of the windows of app.

progandy wrote:

I believe thunar and firefox also run in a single process. and -k kills the connection of a process to the x server. Maybe using only -c may work to just close the window.

I removed the comma and k and it's fixed! Thank you!!!

Offline

Board footer

Powered by FluxBB