colorscheme related changes
This commit is contained in:
parent
6fa91bd36e
commit
5ef8b7bba8
21 changed files with 34 additions and 241 deletions
|
@ -1,3 +1,5 @@
|
|||
#include ".Xresources.d/catppuccin-macchiato"
|
||||
! #include ".Xresources.d/gruvbox-dark"
|
||||
#include ".Xresources.d/catppuccin-dark"
|
||||
!#include ".Xresources.d/gruvbox-dark"
|
||||
!#include ".Xresources.d/gruvbox-light"
|
||||
|
||||
st.alpha: 1
|
||||
|
|
|
@ -11,7 +11,11 @@ return {
|
|||
priority = 1000,
|
||||
config = function()
|
||||
require("catppuccin").setup({
|
||||
flavour = "macchiato", -- latte, frappe, macchiato, mocha
|
||||
-- flavour = "macchiato", -- latte, frappe, macchiato, mocha
|
||||
background = {
|
||||
dark = "macchiato",
|
||||
light = "mocha",
|
||||
},
|
||||
transparent_background = true,
|
||||
term_colors = false,
|
||||
integrations = {
|
||||
|
@ -28,18 +32,15 @@ return {
|
|||
},
|
||||
|
||||
{
|
||||
"ellisonleao/gruvbox.nvim",
|
||||
"sainnhe/gruvbox-material",
|
||||
priority = 1000,
|
||||
config = function()
|
||||
require("gruvbox").setup({
|
||||
italic = {
|
||||
strings = false,
|
||||
comments = true,
|
||||
operators = false,
|
||||
folds = true,
|
||||
},
|
||||
transparent_mode = true,
|
||||
})
|
||||
local contrast = "hard"
|
||||
if background == "light" then
|
||||
contrast = "soft"
|
||||
end
|
||||
vim.g.gruvbox_material_background = contrast
|
||||
vim.g.gruvbox_material_foreground = "material"
|
||||
SetColor()
|
||||
end
|
||||
},
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Github : @adi1090x
|
||||
*
|
||||
* Colors
|
||||
**/
|
||||
|
||||
* {
|
||||
background: #222D32FF;
|
||||
background-alt: #29353BFF;
|
||||
foreground: #B8C2C6FF;
|
||||
selected: #00BCD4FF;
|
||||
active: #21FF90FF;
|
||||
urgent: #FF4B60FF;
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Github : @adi1090x
|
||||
*
|
||||
* Colors
|
||||
**/
|
||||
|
||||
* {
|
||||
background: #2F343FFF;
|
||||
background-alt: #383C4AFF;
|
||||
foreground: #BAC5D0FF;
|
||||
selected: #5294E2FF;
|
||||
active: #98C379FF;
|
||||
urgent: #E06B74FF;
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Github : @adi1090x
|
||||
*
|
||||
* Colors
|
||||
**/
|
||||
|
||||
* {
|
||||
background: #000000FF;
|
||||
background-alt: #101010FF;
|
||||
foreground: #FFFFFFFF;
|
||||
selected: #62AEEFFF;
|
||||
active: #98C379FF;
|
||||
urgent: #E06B74FF;
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Github : @adi1090x
|
||||
*
|
||||
* Colors
|
||||
**/
|
||||
|
||||
* {
|
||||
background: #000B1EFF;
|
||||
background-alt: #0A1528FF;
|
||||
foreground: #0ABDC6FF;
|
||||
selected: #0ABDC6FF;
|
||||
active: #00FF00FF;
|
||||
urgent: #FF0000FF;
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Github : @adi1090x
|
||||
*
|
||||
* Colors
|
||||
**/
|
||||
|
||||
* {
|
||||
background: #1E1F29FF;
|
||||
background-alt: #282A36FF;
|
||||
foreground: #FFFFFFFF;
|
||||
selected: #BD93F9FF;
|
||||
active: #50FA7BFF;
|
||||
urgent: #FF5555FF;
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Github : @adi1090x
|
||||
*
|
||||
* Colors
|
||||
**/
|
||||
|
||||
* {
|
||||
background: #323D43FF;
|
||||
background-alt: #3C474DFF;
|
||||
foreground: #DAD1BEFF;
|
||||
selected: #7FBBB3FF;
|
||||
active: #A7C080FF;
|
||||
urgent: #E67E80FF;
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Github : @adi1090x
|
||||
*
|
||||
* Colors
|
||||
**/
|
||||
|
||||
* {
|
||||
background: #1D1F28FF;
|
||||
background-alt: #282A36FF;
|
||||
foreground: #FDFDFDFF;
|
||||
selected: #79E6F3FF;
|
||||
active: #5ADECDFF;
|
||||
urgent: #F37F97FF;
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Github : @adi1090x
|
||||
*
|
||||
* Colors
|
||||
**/
|
||||
|
||||
* {
|
||||
background: #021B21FF;
|
||||
background-alt: #0C252BFF;
|
||||
foreground: #F2F1B9FF;
|
||||
selected: #44B5B1FF;
|
||||
active: #7CBF9EFF;
|
||||
urgent: #C2454EFF;
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Github : @adi1090x
|
||||
*
|
||||
* Colors
|
||||
**/
|
||||
|
||||
* {
|
||||
background: #2E3440FF;
|
||||
background-alt: #383E4AFF;
|
||||
foreground: #E5E9F0FF;
|
||||
selected: #81A1C1FF;
|
||||
active: #A3BE8CFF;
|
||||
urgent: #BF616AFF;
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Github : @adi1090x
|
||||
*
|
||||
* Colors
|
||||
**/
|
||||
|
||||
* {
|
||||
background: #1E2127FF;
|
||||
background-alt: #282B31FF;
|
||||
foreground: #FFFFFFFF;
|
||||
selected: #61AFEFFF;
|
||||
active: #98C379FF;
|
||||
urgent: #E06C75FF;
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Github : @adi1090x
|
||||
*
|
||||
* Colors
|
||||
**/
|
||||
|
||||
* {
|
||||
background: #F1F1F1FF;
|
||||
background-alt: #E0E0E0FF;
|
||||
foreground: #252525FF;
|
||||
selected: #008EC4FF;
|
||||
active: #10A778FF;
|
||||
urgent: #C30771FF;
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Github : @adi1090x
|
||||
*
|
||||
* Colors
|
||||
**/
|
||||
|
||||
* {
|
||||
background: #002B36FF;
|
||||
background-alt: #073642FF;
|
||||
foreground: #EEE8D5FF;
|
||||
selected: #268BD2FF;
|
||||
active: #859900FF;
|
||||
urgent: #DC322FFF;
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* Author : Levi Lacoss (fishyfishfish55)
|
||||
* Github : @fishyfishfish55
|
||||
*
|
||||
* Colors
|
||||
**/
|
||||
|
||||
* {
|
||||
background: #15161EFF;
|
||||
background-alt: #1A1B26FF;
|
||||
foreground: #C0CAF5FF;
|
||||
selected: #33467CFF;
|
||||
active: #414868FF;
|
||||
urgent: #F7768EFF;
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Github : @adi1090x
|
||||
*
|
||||
* Colors
|
||||
**/
|
||||
|
||||
* {
|
||||
background: #F5E7DEFF;
|
||||
background-alt: #EBDCD2FF;
|
||||
foreground: #34302DFF;
|
||||
selected: #D97742FF;
|
||||
active: #BF8F60FF;
|
||||
urgent: #B23636FF;
|
||||
}
|
|
@ -98,7 +98,7 @@ configuration {
|
|||
}
|
||||
|
||||
/*****----- Global Properties -----*****/
|
||||
@import "~/.config/rofi/colors/catppuccin.rasi"
|
||||
@import "~/.config/rofi/colors/catppuccin-dark.rasi"
|
||||
|
||||
* {
|
||||
border-colour: var(selected);
|
||||
|
|
|
@ -1,14 +1,28 @@
|
|||
#!/bin/bash
|
||||
|
||||
# defaults
|
||||
theme="catppuccin"
|
||||
background="dark"
|
||||
theme_options=(
|
||||
"catppuccin-dark"
|
||||
"gruvbox-material-dark"
|
||||
"catppuccin-light"
|
||||
"gruvbox-material-light"
|
||||
)
|
||||
|
||||
# rofi script to get what theme to use
|
||||
chosen=$(printf '%s\n' "${theme_options[@]}" | rofi -dmenu -p "Choose a theme")
|
||||
|
||||
theme=$(echo "${chosen}" | cut -d- -f1)
|
||||
background=$(echo "${chosen}" | cut -d- -f2)
|
||||
|
||||
# change rofi theme
|
||||
sed -i "s/\(@import \".config\/rofi\/colors\/\).*/\1${theme}.rasi\"/" ~/.config/rofi/config.rasi
|
||||
sed -i "s/\(@import \".config\/rofi\/colors\/\).*/\1${theme}-${background}.rasi\"/" ~/.config/rofi/config.rasi
|
||||
|
||||
# change neovim theme
|
||||
sed -i "s/\(local color = \).*/\1\"${theme}\"/" ~/.config/nvim/lua/tsousa/plugins/colorscheme.lua
|
||||
sed -i "s/\(local background = \).*/\1\"${background}\"/" ~/.config/nvim/lua/tsousa/plugins/colorscheme.lua
|
||||
|
||||
# change xresources
|
||||
xresources_themes=".Xresources.d"
|
||||
sed -i "s/#include \".*\"/#include \"~\/${xresources_themes}\/${theme}-${background}\"/" ~/.Xresources
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue