DEV Community 👩‍💻👨‍💻

Shohei Kameda
Shohei Kameda

Posted on • Originally published at wazaterm.com

Customize the appearance of your terminal

This article is the 4th day of the Advent Calendar 2021 of Wazaterm, an online Linux terminal for hackers.

It's easy to change the appearance of the terminal in Wazaterm.

After you click the hamburger menu on the top right in the terminal window, the sidebar shows up.

Menu

In the sidebar at the bottom, you see the select box. You can select your terminal theme from 250+ themes.

Terminal Option

Also, you can overwrite the color when you change RGB.

Clicking "Save" will save the terminal colors and font size, along with the OS and browser information. And the order in which they are displayed using that information is the below.

def current\_terminal\_option(os, browser)
  self.terminal\_options.find\_by(os: os, browser: browser) ||
  self.terminal\_options.find\_by(os: os) ||
  self.terminal\_options.find\_by(browser: browser) ||
  self.terminal_options.last ||
  self.terminal_options.new
end
Enter fullscreen mode Exit fullscreen mode

It looks for the OS and Browser, and if they are not there, it shows only the OS, and if they are not there, it shows the Browser, and if they are not there, it shows the latest settings, and if they have never been set, it shows the default.

The system is designed for multi-device use, so you can save and recall settings with different font sizes for iPad and desktop.

Top comments (0)

Every Week

We have a Welcome Thread where we invite members to tell us a bit about themselves. Join the conversation with us!