Cleaning.

This commit is contained in:
Bartek Stalewski 2024-09-30 00:57:55 +02:00
parent 23b9233165
commit f5bf6f7953
Signed by: ftpd
SSH Key Fingerprint: SHA256:vGQiaNJcfUMLt3wF58+Zx15C6SpRDA9spUeggjVY8Yo
3 changed files with 12 additions and 39 deletions

View File

@ -1,10 +1,3 @@
--local function set_theme(name)
-- local cur_theme = require('nvconfig').ui.theme
-- require("nvchad.utils").replace_word(cur_theme, name)
-- require('nvconfig').ui.theme = name
-- require('base46').load_all_highlights()
--end
return {
{
"stevearc/conform.nvim",
@ -14,15 +7,6 @@ return {
end,
},
-- These are some examples, uncomment them if you want to see them work!
-- {
-- "neovim/nvim-lspconfig",
-- config = function()
-- require("nvchad.configs.lspconfig").defaults()
-- require "configs.lspconfig"
-- end,
-- },
{
"nvim-treesitter/nvim-treesitter",
opts = {
@ -38,19 +22,14 @@ return {
},
},
-- These are some examples, uncomment them if you want to see them work!
-- {
-- "f-person/auto-dark-mode.nvim",
-- event = 'VeryLazy',
-- config = {
-- update_interval = 1000,
-- set_dark_mode = function()
-- set_theme('monekai')
-- "neovim/nvim-lspconfig",
-- config = function()
-- require("nvchad.configs.lspconfig").defaults()
-- require "configs.lspconfig"
-- end,
-- set_light_mode = function()
-- set_theme('ayu_light')
-- end,
-- }
-- }
-- },
-- Install a plugin
-- {

View File

@ -24,7 +24,7 @@ alignment = 'left'
style = 'plain'
background = 'transparent'
foreground_templates = [
"{{ if .Root }}196{{ end }}",
"{{ if .Root }}196{{ else }}246{{ end }}"
]
template = '{{ if or (.SSHSession) (.Root) }}{{ .UserName }}@{{ .HostName }} {{ end }}'
@ -55,16 +55,14 @@ alignment = 'left'
style = 'plain'
background = 'transparent'
foreground_templates = [
'{{ if eq .Code 0 }}76{{ end }}',
'{{ if gt .Code 0 }}196{{ end }}',
'{{ if eq .Code 0 }}76{{ else }}196{{ end }}'
]
template = ''
[transient_prompt]
background = 'transparent'
foreground_templates = [
'{{ if eq .Code 0 }}76{{ end }}',
'{{ if gt .Code 0 }}196{{ end }}',
'{{ if eq .Code 0 }}76{{ else }}196{{ end }}'
]
template = ' '

View File

@ -36,11 +36,7 @@ fpath=(~/.local/git/zsh_modules/wd $fpath)
# theme and colors
if [[ $(command -v vivid) ]]; then
if [[ "${macos_interface_style}" = "Dark" ]]; then
export LS_COLORS=$(vivid generate molokai)
else
export LS_COLORS=$(vivid generate ayu)
fi
else
unset LS_COLORS
fi