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 { return {
{ {
"stevearc/conform.nvim", "stevearc/conform.nvim",
@ -14,15 +7,6 @@ return {
end, 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", "nvim-treesitter/nvim-treesitter",
opts = { 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', -- "neovim/nvim-lspconfig",
-- config = { -- config = function()
-- update_interval = 1000, -- require("nvchad.configs.lspconfig").defaults()
-- set_dark_mode = function() -- require "configs.lspconfig"
-- set_theme('monekai') -- end,
-- end, -- },
-- set_light_mode = function()
-- set_theme('ayu_light')
-- end,
-- }
-- }
-- Install a plugin -- Install a plugin
-- { -- {

View File

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

View File

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