bspwm + awesome

This commit is contained in:
Michael Chalupiak
2024-11-05 14:28:07 -05:00
parent 1dc809a6f8
commit b4b5b63030
9 changed files with 1165 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
function colors(color)
function colors(color, theme)
color = os.getenv("BASE16_THEME")
alt_color = 'rose-pine' or color
-- Available values: `'hard'`, `'medium'`, `'soft'`
@@ -9,7 +9,13 @@ function colors(color)
vim.g.everforest_background = 'hard'
vim.g.gruvbox_material_better_performance = 1
vim.g.everforest_better_performance = 1
if not pcall(vim.cmd.colorscheme, color) then
if color == 'gruvbox-dark-hard' then
color = 'gruvbox-material'
vim.g.gruvbox_material_background = 'hard'
end
if theme then
vim.cmd.colorscheme(alt_color)
elseif not pcall(vim.cmd.colorscheme, color) then
vim.cmd.colorscheme(alt_color)
end
end

View File

@@ -75,6 +75,8 @@ return require('packer').startup(function(use)
use "lewpoly/sherbet.nvim"
use 'xiyaowong/transparent.nvim'
use {
'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate',