←back to thread

Okay, I Like WezTerm

(alexplescan.com)
488 points alexpls | 1 comments | | HN request time: 0s | source
Show context
leblancfg ◴[] No.41224245[source]
Recently switched to WezTerm and I'm very happy. Was using kitty before that – loved the set up and simplicity coming from iTerm2. WezTerm is leaps and bounds better in terms of what comes out-of-the-box. My terminal config is short enough to sit all in one screen on my editor. After that, the terminal just... gets out of the way and I don't need to think about it.

But the straw that broke my back with using kitty was, I'd end up encountering issues or trying to recreate some of iTerm2's features, only to end up time and again on kitty's maintainer's terse and dismissive comments.

e.g. IIRC his answer to "How do I set up tmux with kitty?" was something like "Don't, tmux is dumb" and closing it. Eventually I gave up.

replies(13): >>41224353 #>>41224451 #>>41225545 #>>41225699 #>>41226105 #>>41226387 #>>41228168 #>>41228348 #>>41229104 #>>41231822 #>>41234027 #>>41235510 #>>41264822 #
throwanem ◴[] No.41225545[source]
Does WezTerm support an equivalent of iTerm's "hotkey window"?

For those unfamiliar, that's a window tied to a show/hide keybinding which when shown floats above all other windows, making a terminal instantly available everywhere - a feature I could live without, but don't care to. I'd love to switch for all of WezTerm's other features, but without that it's simply a nonstarter for me.

replies(6): >>41225686 #>>41225693 #>>41226027 #>>41226343 #>>41227294 #>>41233557 #
1. ainka-ainka ◴[] No.41227294[source]
I do it using https://gist.github.com/meowtochondria/8b99b8fbf364eec41ef66... on my Debian based machine running X11. I've bound this script to a key as a global shortcut using OS provided facilities. See the comment on gist if you have a different setup and want to adapt it to your needs. Algo: 1. Find path to wezterm binary by looking at desktop file 2. Use pgrep to get pid of running binary from previous step. 3. If no window is running, launch desktop file using gio 4. If window is running, bring it to front using wmctrl