Terminal variable in i3 config

I was trying to change the default terminal through the i3 config file and I can’t figure where to change the terminal variable in the pic

2023-02-07-172152_273x49_scrot

I don’t want to change the line to
bindsym $mod+Return exec st
because if I do so when I’d launch other programs (ex. ranger, mocp) they will start with the old terminal.

Where do I modify the terminal variable?
The config file is the default one.

I3 config; where is 'terminal' defined - #5 by Nachlese

Unable to change default terminal on manjaro-i3 - #2 by Nachlese

original script is /usr/bin/terminal

create ~/.local/bin directory and a file called “terminal” in there
with the necessary content to start your terminal of choice
xterm $@
for example
make it executable …

in your $PATH variable
~/.local/bin
comes before
/usr/bin

so this
~/.local/bin/terminal
gets executed instead of
/usr/bin/terminal

1 Like

Thank you much, this is what I was looking for!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.