baskerville / bspwm

A tiling window manager based on binary space partitioning
BSD 2-Clause "Simplified" License
7.61k stars 420 forks source link

Cannot open tmuxifier on bspwm config reload #1488

Open FreshHead opened 3 months ago

FreshHead commented 3 months ago

Good day. I created session for work with tmuxifier. Now I want to open it on system start.

I tried this in multiple terminals but got errors in all of them: If I use kitty like this:

kitty 'tmuxifier load-session sweep' &

On config reload I got:

Failed to launch child: tmuxifier load-session sweep
With error: No such file or directory
Press Enter to exit.

gnome-terminal:

gnome-terminal -- "tmuxifier load-session sweep" &

And there is a error:

There was an error creating the child process for this terminal
Failed to execute child process “tmuxifier load-session sweep”: Failed to execve: No such file or directory

And at last is alacrity:

alacritty -e tmuxifier load-session sweep

Alacrity just won't open. Therefore no errors for there. Same errors if "tmuxifier load-session sweep" replace with just "nvim".

If instead of tmuxifier I run just tmux like in:

gnome-terminal -- "tmux" &

or:

alacritty -e tmux &

After config reload terminal opens us expected.

Note: If I run commands described above in terminal there will be working. Errors occurs only if I put them in my bspwmrc shell script and reload bspwm/reboot.