From e64b64d3f62550c675d69af23edd8dc913dcb959 Mon Sep 17 00:00:00 2001 From: Michael Chalupiak Date: Wed, 6 Nov 2024 20:59:37 -0500 Subject: [PATCH] picom --- config/.config/nvim/after/plugin/colors.lua | 5 ++++- config/.config/picom/picom.conf | 16 ++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/config/.config/nvim/after/plugin/colors.lua b/config/.config/nvim/after/plugin/colors.lua index 8202246..ade5c83 100755 --- a/config/.config/nvim/after/plugin/colors.lua +++ b/config/.config/nvim/after/plugin/colors.lua @@ -12,8 +12,11 @@ function colors(color, theme) if color == 'gruvbox-dark-hard' then color = 'gruvbox-material' vim.g.gruvbox_material_background = 'hard' + elseif color == 'gruvbox-dark-soft' then + color = 'gruvbox-material' + vim.g.gruvbox_material_background = 'soft' end - if theme then + if theme then vim.cmd.colorscheme(alt_color) elseif not pcall(vim.cmd.colorscheme, color) then vim.cmd.colorscheme(alt_color) diff --git a/config/.config/picom/picom.conf b/config/.config/picom/picom.conf index 62414cf..0758d3a 100644 --- a/config/.config/picom/picom.conf +++ b/config/.config/picom/picom.conf @@ -7,23 +7,23 @@ # (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, # unless explicitly requested using the wintypes option. # -shadow = false; -#shadow = true; +# shadow = false; +shadow = true; # The blur radius for shadows, in pixels. (defaults to 12) # shadow-radius = 12 -shadow-radius = 5; +shadow-radius = 4; # 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) # shadow-offset-x = -15 -shadow-offset-x = 4; +shadow-offset-x = 3; # The top offset for shadows, in pixels. (defaults to -15) # shadow-offset-y = -15 -shadow-offset-y = 4; +shadow-offset-y = 2; # Avoid drawing shadows on dock/panel windows. This option is deprecated, # 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. blur-method = "dual_kawase" # blur-method = "none" -blur-size = 4; -blur-strength = 3; +blur-size = 10; +blur-strength = 12; # blur-deviation = false