This commit is contained in:
Michael Chalupiak 2024-11-06 20:59:37 -05:00
parent 450b695fa8
commit e64b64d3f6
2 changed files with 12 additions and 9 deletions

View File

@ -12,8 +12,11 @@ function colors(color, theme)
if color == 'gruvbox-dark-hard' then if color == 'gruvbox-dark-hard' then
color = 'gruvbox-material' color = 'gruvbox-material'
vim.g.gruvbox_material_background = 'hard' vim.g.gruvbox_material_background = 'hard'
elseif color == 'gruvbox-dark-soft' then
color = 'gruvbox-material'
vim.g.gruvbox_material_background = 'soft'
end end
if theme then if theme then
vim.cmd.colorscheme(alt_color) vim.cmd.colorscheme(alt_color)
elseif not pcall(vim.cmd.colorscheme, color) then elseif not pcall(vim.cmd.colorscheme, color) then
vim.cmd.colorscheme(alt_color) vim.cmd.colorscheme(alt_color)

View File

@ -7,23 +7,23 @@
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, # (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
# unless explicitly requested using the wintypes option. # unless explicitly requested using the wintypes option.
# #
shadow = false; # shadow = false;
#shadow = true; shadow = true;
# The blur radius for shadows, in pixels. (defaults to 12) # The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12 # shadow-radius = 12
shadow-radius = 5; shadow-radius = 4;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75) # The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
shadow-opacity = .15 shadow-opacity = .45
# The left offset for shadows, in pixels. (defaults to -15) # The left offset for shadows, in pixels. (defaults to -15)
# shadow-offset-x = -15 # shadow-offset-x = -15
shadow-offset-x = 4; shadow-offset-x = 3;
# The top offset for shadows, in pixels. (defaults to -15) # The top offset for shadows, in pixels. (defaults to -15)
# shadow-offset-y = -15 # shadow-offset-y = -15
shadow-offset-y = 4; shadow-offset-y = 2;
# Avoid drawing shadows on dock/panel windows. This option is deprecated, # Avoid drawing shadows on dock/panel windows. This option is deprecated,
# you should use the *wintypes* option in your config file instead. # you should use the *wintypes* option in your config file instead.
@ -164,8 +164,8 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Parameters for background blurring, see the *BLUR* section for more information. # Parameters for background blurring, see the *BLUR* section for more information.
blur-method = "dual_kawase" blur-method = "dual_kawase"
# blur-method = "none" # blur-method = "none"
blur-size = 4; blur-size = 10;
blur-strength = 3; blur-strength = 12;
# #
blur-deviation = false blur-deviation = false