basecamp / omakub

Opinionated Ubuntu Setup

Home Page:https://omakub.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

start Alacritty from CRTL+ALT+t

khebbie opened this issue · comments

First of all: what a cool project - thx for all the hard work.

In ubuntu the shortcut CTRL+ALT+T starts the terminal, and it works fine in omakub, however since the alacritty is the default terminal, maybe the shortcut should start alacritty.

it seems these commands does the trick
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator $(which alacritty) 50
sudo update-alternatives --config x-terminal-emulator

I have not yet taken the time to understand how omakub is structured, but might look into it.

Got the commands from this gits
https://gist.github.com/aanari/08ca93d84e57faad275c7f74a23975e6

Yeah, I've been going back and forth over this. I'm not sure it's worth changing, because you may still want the gnome terminal in some circumstances. And in any case, we've standardized on the alt+[number] and shift+alt+[number] as hotkeys for switching between and starting apps. So think that'll do for now. Of course totally fine for anyone to make this alteration after the fact!