Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom terminal profile #507

Closed
dagolinuxoid opened this issue Apr 24, 2020 · 2 comments
Closed

Add custom terminal profile #507

dagolinuxoid opened this issue Apr 24, 2020 · 2 comments

Comments

@dagolinuxoid
Copy link

Let's say I want to use a custom 'Nord' theme for the elementary terminal. How to achieve it? At the moment the terminal has three radio buttons: high contrast, solarized light, dark. Clicking on corresponding button changes only foreground and background to some default defined value for each button. Right now I can define a theme

#!/bin/bash

# Nord_ISH theme
# palette="#3b4252:#bf616a:#a3be8c:#ebcb8b:#81a1c1:#b48ead:#88c0d0:#e5e9f0:#4c566a:#bf616a:#a3be8c:#ebcb8b:#81a1c1:#b48ead:#8fbcbb:#eceff4"
foreground="#eceff4"
background="rgba(46, 52, 64, 0.95)"

gsettings set io.elementary.terminal.settings foreground "$foreground"
gsettings set io.elementary.terminal.settings background "$background"
gsettings set io.elementary.terminal.settings palette "$palette"

and run such ./setMyTheme.sh to change palette permanently. The problem is as soon as I click on the radio buttons they dispatch setting of some default background and foreground settings overriding the ones described in a custom theme. Actually I think it's a good thing. The question is how can I change the default values for only dark radio button to values of my custom defined colors for foreground and background to make it permanent?
The other solution would be to consider adding a new theme (fourth, fifth ... radio button with a custom name something similar to gnome-terminal profiles feature). But I'm a bit skeptical about the approach: three buttons is more than enough.

@jeremypw
Copy link
Collaborator

See #418

@danirabbit
Copy link
Member

I believe this is now fixed. Custom theme settings now can be selected in the UI and persist even when switching between default themes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants