feat: transparency in alacritty and nvim

This commit is contained in:
Oliver Davies 2023-06-10 10:20:34 +01:00
parent 12c8bc7d7f
commit ab36de47a7
4 changed files with 22 additions and 10 deletions

View file

@ -3,10 +3,19 @@ if not status_ok then
return
end
catppuccin.setup {}
catppuccin.setup({
flavour = "macchiato",
integrations = {
cmp = true,
gitsigns = true,
native_lsp = {
enabled = true;
},
telescope = true,
treesitter = true,
},
term_colors = true,
transparent_background = true,
})
vim.opt.termguicolors = true
vim.g.catppuccin_flavour = "mocha"
vim.cmd([[ colorscheme catppuccin ]])
vim.cmd.colorscheme "catppuccin"

View file

@ -24,10 +24,13 @@ set $menu wofi --show run
set $browser firefox
set $wallpaper ~/.config/sway/wallpaper.jpg
### Output configuration
#
# Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/)
output * bg ~/.config/sway/wallpaper.png fill
output * bg $wallpaper fill #000000
#
# Example configuration:
#
@ -59,11 +62,11 @@ bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
### Idle configuration
exec swayidle -w \
timeout 300 'swaylock -f -i ~/.config/sway/wallpaper.png' \
timeout 300 'swaylock -f -i $wallpaper \
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -i ~/.config/sway/wallpaper.png'
before-sleep "swaylock -f -i $wallpaper"
bindsym $mod+Escape exec swaylock -f -i ~/.config/sway/wallpaper.png
bindsym $mod+Escape exec swaylock -f -i $wallpaper #000000
### Input configuration
#

BIN
config/sway/wallpaper.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB