elenapan / dotfiles

There is no place like ~/
GNU General Public License v2.0
3.49k stars 178 forks source link

Alacritty as floating_terminal #106

Closed hrqmonteiro closed 4 years ago

hrqmonteiro commented 4 years ago

Hi, Elena, sorry for bothering you for like, 1000th time, but do you know if is it possible to set alacritty for the "floating_terminal" and it work properly?

I tried setting urxvt and st and it is ok, but my terminal of use for two years is alacritty, and no matter what i do, it doesn't work as the floating hotkey, it always opens fullscreen. And if i change no code other than the "floating_terminal" instance, every other terminal works. So, do you know if it is not possible to set a hotkey to open Alacritty in floating property?

elenapan commented 4 years ago

You should set floating_terminal = "alacritty --class floating_terminal"

This is because some terminals (like Alacritty), do not support being spawned with extra properties. Thus I had to set a window rule that makes all terminals with instance name floating_terminal to be floating.