Forked from trongthanh/apply-pantheon-terminal-color.sh
Created
June 30, 2019 09:20
-
-
Save bugsysop/7a0020dcde939788369c0009429ee170 to your computer and use it in GitHub Desktop.
Apply custom color theme for Pantheon Terminal ver 5.3+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Apply custom color theme for Pantheon Terminal ver 5.3+ | |
# 1) preview and choose a color theme from http://mayccoll.github.io/Gogh/ | |
# 2) open the equivalent bash file containing the color values at https://github.com/Mayccoll/Gogh/tree/master/themes | |
# 3) concatenate all 16 colors at the top with colon ":", then replace it at the palette variable below | |
# 4) replace color for foreground, background, and cursor; choose whether your theme is light or dark | |
# 5) sudo apt-get install dconf-tools | |
# 6) execute this script | |
# Oceanic Next | |
palette="#121C21:#E44754:#89BD82:#F7BD51:#5486C0:#B77EB8:#50A5A4:#FFFFFF:#52606B:#E44754:#89BD82:#F7BD51:#5486C0:#B77EB8:#50A5A4:#FFFFFF" | |
foreground="#B3B8C3" | |
background="#121B21" | |
cursor="#E95420" | |
darkstyle="true" # true or false | |
gsettings set io.elementary.terminal.settings palette "$palette" | |
gsettings set io.elementary.terminal.settings foreground "$foreground" | |
gsettings set io.elementary.terminal.settings background "$background" | |
gsettings set io.elementary.terminal.settings cursor-color "$cursor" | |
gsettings set io.elementary.terminal.settings prefer-dark-style "$darkstyle" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment