Skip to content

Instantly share code, notes, and snippets.

@mike-rambil
Last active February 28, 2025 01:25
Show Gist options
  • Save mike-rambil/411262de6189eb2a5428ed97b0577741 to your computer and use it in GitHub Desktop.
Save mike-rambil/411262de6189eb2a5428ed97b0577741 to your computer and use it in GitHub Desktop.
// Overide the schmes key in json inside settings/Ubuntu/Appearence-> Click on JSON
// SideNote: Preferreble backgrounds you could use instead of 121212 are -> 1e222a, 0B1215(fav), 352f36, 101720
// Checkout -> https://medium.com/design-bootcamp/font-colors-to-use-instead-of-pure-black-000000-a53944d4e3eb
// https://www.reddit.com/r/unixporn/comments/33e6n5/unconventional_terminal_color_schemes/
// https://sudoscience.blog/2023/02/28/my-top-3-linux-color-schemes/
Theme 1:
"schemes":
[
{
"background": "#121212",
"black": "#111413",
"blue": "#D19219",
"brightBlack": "#212927",
"brightBlue": "#5183B8",
"brightCyan": "#51B8B0",
"brightGreen": "#57A355",
"brightPurple": "#935FB8",
"brightRed": "#B84242",
"brightWhite": "#F5FFFD",
"brightYellow": "#DBBB60",
"cursorColor": "#3780E9",
"cyan": "#346666",
"foreground": "#F5FFFD",
"green": "#BC3F9B",
"name": "CustomUbuntuColors",
"purple": "#46285C",
"red": "#8F3232",
"selectionBackground": "#28405C",
"white": "#D1D1D1",
"yellow": "#7A6322"
}
],
Theme 2:
"schemes":
[
{
"background": "#101720",
"black": "#111413",
"blue": "#FADA5E",
"brightBlack": "#212927",
"brightBlue": "#5183B8",
"brightCyan": "#51B8B0",
"brightGreen": "#57A355",
"brightPurple": "#935FB8",
"brightRed": "#B84242",
"brightWhite": "#F5FFFD",
"brightYellow": "#DBBB60",
"cursorColor": "#3780E9",
"cyan": "#346666",
"foreground": "#FFF4E4",
"green": "#BC3F9B",
"name": "CustomUbuntuColors",
"purple": "#46285C",
"red": "#8F3232",
"selectionBackground": "#28405C",
"white": "#D1D1D1",
"yellow": "#D19219"
}
],
Theme Favourite:
"schemes":
[
{
"background": "#101720",
"black": "#111413",
"blue": "#FADA5E",
"brightBlack": "#212927",
"brightBlue": "#5183B8",
"brightCyan": "#51B8B0",
"brightGreen": "#57A355",
"brightPurple": "#935FB8",
"brightRed": "#B84242",
"brightWhite": "#F5FFFD",
"brightYellow": "#DBBB60",
"cursorColor": "#3780E9",
"cyan": "#346666",
"foreground": "#FFF4E4",
"green": "#BC3F9B",
"name": "CustomUbuntuColors",
"purple": "#46285C",
"red": "#8F3232",
"selectionBackground": "#28405C",
"white": "#D1D1D1",
"yellow": "#D19219"
}
],
// Use this script below to change color of terminal to match the color of nvim when there is padding
# Function to change terminal background color for Neovim
function nvim() {
# Use tmux-specific pass-through for the escape sequence
if [ -n "$TMUX" ]; then
printf "\ePtmux;\e\033]11;#1E222A\007\e\\" &
else
echo -e "\033]11;#1E222A\007" &
fi
# Launch Neovim
command nvim "$@"
# Restore terminal background after Neovim exits
if [ -n "$TMUX" ]; then
printf "\ePtmux;\e\033]11;#101720\007\e\\"
else
echo -e "\033]11;#101720\007"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment