On Mon, May 04, 2020 at 01:50:17PM -0600, Bearcat M. Şándor wrote:
> Hey folks,
>
> First off, thank you for this awesomely hackable wm.
>
> I'm trying to set up a hotkey combination to launch my terminal with a
> detachable vim terminal session in it. In my config.py I have:
>
> *Key([mod], "Return", lazy.spawn("kitty dtach -c ~/.cache/dtach_vim_session
> vim -c ':ter ++curwin'")),*
>
> Yeah, that's a lot to unpack. It's 3 parts:
> *vim -c ':ter ++curwin'* -- this fires up vim and opens up a vim terminal
> in it
> *dtach -c ~/.cache/dtach_vim_session* -- starts up dtach and creates a
> session file called dtach_vim_session in my ~/.cache directory
> *kitty* -- fires up my kitty terminal and runs the above in it
>
> Now, if I open up kitty and enter *dtach -c ~/.cache/dtach_vim_session vim
> -c ':ter ++curwin'* in it, it runs just fine.
>
> Note that also if I have *Key([mod], "Return", lazy.spawn("kitty tmux -c
> 'vim +term'")),* that works just fine, so I don't think it's a kitty
> issue.
>
> Any ideas?
You didn't mention what doesn't work exactly, but my guess is that
kitty is installed somewhere that isn't in the default $PATH,
~/.local/bin maybe.
Tycho
--
You received this message because you are subscribed to the Google Groups
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qtile-dev/20200504201747.GL683427%40cisco.