mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-21 22:06:29 +00:00
add wezterm config
This commit is contained in:
parent
01b2079d10
commit
26d7bf1360
5 changed files with 84 additions and 21 deletions
|
@ -91,6 +91,7 @@ ln -s $PWD/vpn ~/.config/vpn
|
|||
printf "\033[33m[info] Linking config files\033[39m"
|
||||
ln -s $PWD/kitty/ ~/.config/kitty
|
||||
ln -s $PWD/alacritty ~/.config/alacritty
|
||||
ln -s $PWD/wezterm ~/.config/wezterm
|
||||
ln -s $PWD/nyxt/ ~/.config/next
|
||||
ln -s $PWD/mako/ ~/.config/mako
|
||||
ln -s $PWD/.urlview ~/.urlview
|
||||
|
|
|
@ -57,10 +57,10 @@ require('nvim-treesitter.configs').setup {
|
|||
-- lualine theme
|
||||
require('lualine').setup {
|
||||
options = {
|
||||
theme = 'gruvbox',
|
||||
theme = 'gruvbox-baby',
|
||||
-- no separators between lualine elements
|
||||
section_separators = '',
|
||||
component_separators = ''
|
||||
--section_separators = '',
|
||||
--component_separators = ''
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,38 +1,38 @@
|
|||
{
|
||||
"Nvim-R": { "branch": "stable", "commit": "346fda8ade9f743f65a6805136deb3db70dc5fae" },
|
||||
"bufferline.nvim": { "branch": "main", "commit": "99337f63f0a3c3ab9519f3d1da7618ca4f91cffe" },
|
||||
"clangd_extensions.nvim": { "branch": "main", "commit": "f36d788f05cfb73d4fd2e606e6ad15f8b842124f" },
|
||||
"cmake-tools.nvim": { "branch": "master", "commit": "8853f796b0173f34689dd07c8bd654b8fb3f1dc1" },
|
||||
"bufferline.nvim": { "branch": "main", "commit": "2e3c8cc5a57ddd32f1edd2ffd2ccb10c09421f6c" },
|
||||
"clangd_extensions.nvim": { "branch": "main", "commit": "a8500531c4ed3a207e744a374ea038744a0f93eb" },
|
||||
"cmake-tools.nvim": { "branch": "master", "commit": "4be3c229fe932043fd83ad52fdf0ba9af7297789" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||
"cmp-cmdline": { "branch": "main", "commit": "d250c63aa13ead745e3a40f61fdd3470efde3923" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
|
||||
"cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "031e6ba70b0ad5eee49fd2120ff7a2e325b17fa7" },
|
||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||
"editorconfig-vim": { "branch": "master", "commit": "8b7da79e9daee7a3f3a8d4fe29886b9756305aff" },
|
||||
"fzf": { "branch": "master", "commit": "3ee1fc203406debab432dbf3cb67f37ea7cb3d30" },
|
||||
"fzf.vim": { "branch": "master", "commit": "0a80e43f9027ec64213d602dbb0b22d65a072ca8" },
|
||||
"fzf": { "branch": "master", "commit": "e28f5aa45baf20ffdba469e11a998d3016c8cb42" },
|
||||
"fzf.vim": { "branch": "master", "commit": "6f28c8c7bb551161a0315a76488522204f39c1f4" },
|
||||
"gruvbox-baby": { "branch": "main", "commit": "bd52e62d8134647090108189e69c8b3cd18bdbbf" },
|
||||
"haskell-vim": { "branch": "master", "commit": "f35d02204b4813d1dbe8b0e98cc39701a4b8e15e" },
|
||||
"hledger-vim": { "branch": "master", "commit": "165eb483a10fd610bd9cad5d5246e457bf5fe285" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "ebbf84eb23d796ffd92ad88b980d3cf89921add4" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
|
||||
"lingua-franca.vim": { "branch": "main", "commit": "439b92a13744ee21cb3cd9c399e179efbcaa2967" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" },
|
||||
"neo-tree.nvim": { "branch": "v3.x", "commit": "29f7c215332ba95e470811c380ddbce2cebe2af4" },
|
||||
"neoformat": { "branch": "master", "commit": "82864d6c7926c4f3b535a2fd7eab919b116fc969" },
|
||||
"nerdcommenter": { "branch": "master", "commit": "7bb1f72e802a80e37bdda5f6906c69b5a93de1eb" },
|
||||
"nui.nvim": { "branch": "main", "commit": "b1b3dcd6ed8f355c78bad3d395ff645be5f8b6ae" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "74e14808cdb15e625449027019406e1ff6dda020" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "a80fe081b4c5890980561e0de2458f64aaffbfc7" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "b77921fdc44833c994fdb389d658ccbce5490c16" },
|
||||
"neoformat": { "branch": "master", "commit": "b3b38589b39038dc12c2f5a59a828ed43439363a" },
|
||||
"nerdcommenter": { "branch": "master", "commit": "3f860f2d981547c18f2c9599e3c358ea488c3be4" },
|
||||
"nui.nvim": { "branch": "main", "commit": "61574ce6e60c815b0a0c4b5655b8486ba58089a1" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "ff97d376b1d22b2eaf9274605531babf0cd0cf21" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "e5a05ba5e298cc1e1dad8eb8095b8d4d89a7f793" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "3722e3d1fb5fe1896a104eb489e8f8651260b520" },
|
||||
"nvim-window-picker": { "branch": "main", "commit": "41cfaa428577c53552200a404ae9b3a0b5719706" },
|
||||
"oil.nvim": { "branch": "master", "commit": "d3a365c950be31a0d46920ce4ff6f23e78939b67" },
|
||||
"oil.nvim": { "branch": "master", "commit": "fcca212c2e966fc3dec1d4baf888e670631d25d1" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
|
||||
"rust.vim": { "branch": "master", "commit": "889b9a7515db477f4cb6808bef1769e53493c578" },
|
||||
"vim-fugitive": { "branch": "master", "commit": "4f59455d2388e113bd510e85b310d15b9228ca0d" },
|
||||
"vim-fugitive": { "branch": "master", "commit": "0444df68cd1cdabc7453d6bd84099458327e5513" },
|
||||
"vim-llvm": { "branch": "master", "commit": "c5d6c6a9ef21df2a32aad0f3b5ca5389f92d06d1" },
|
||||
"vim-nix": { "branch": "master", "commit": "e25cd0f2e5922f1f4d3cd969f92e35a9a327ffb0" },
|
||||
"vim-toml": { "branch": "main", "commit": "d36caa6b1cf508a4df1c691f915572fc02143258" },
|
||||
"vim-vsnip": { "branch": "master", "commit": "02a8e79295c9733434aab4e0e2b8c4b7cea9f3a9" },
|
||||
"vimtex": { "branch": "master", "commit": "366ba106795db13879fdbfb4d6e4b8e1d616b684" }
|
||||
"vimtex": { "branch": "master", "commit": "93448dd2617c1407f66b08610db520ecb8a28073" }
|
||||
}
|
|
@ -1,7 +1,11 @@
|
|||
return require('lazy').setup({
|
||||
-- theme
|
||||
-- use {'morhetz/gruvbox', config = function() vim.cmd.colorscheme("gruvbox") end }
|
||||
{ 'luisiacc/gruvbox-baby', config = function() vim.cmd.colorscheme("gruvbox-baby") end },
|
||||
{ 'luisiacc/gruvbox-baby', config = function()
|
||||
-- Enable transparent mode
|
||||
vim.g.gruvbox_baby_transparent_mode = 1
|
||||
vim.cmd.colorscheme("gruvbox-baby")
|
||||
end },
|
||||
-- use 'drewtempelmeyer/palenight.vim'
|
||||
{ 'stevedylandev/flexoki-nvim', name = 'flexoki', enabled = false, lazy = true},
|
||||
|
||||
|
|
58
entropy/wezterm/wezterm.lua
Normal file
58
entropy/wezterm/wezterm.lua
Normal file
|
@ -0,0 +1,58 @@
|
|||
-- Import the wezterm module
|
||||
local wezterm = require 'wezterm'
|
||||
-- Creates a config object which we will be adding our config to
|
||||
local config = wezterm.config_builder()
|
||||
|
||||
-- Find them here: https://wezfurlong.org/wezterm/colorschemes/index.html
|
||||
-- config.color_scheme = 'Ayu Dark (Gogh)'
|
||||
config.color_scheme = 'GruvboxDarkHard'
|
||||
|
||||
-- Choose your favourite font, make sure it's installed on your machine
|
||||
config.font = wezterm.font({ family = 'Iosevka Medium' })
|
||||
-- And a font size that won't have you squinting
|
||||
config.font_size = 9
|
||||
|
||||
-- Slightly transparent and blurred background
|
||||
config.window_background_opacity = 0.9
|
||||
config.macos_window_background_blur = 30
|
||||
-- Removes the title bar, leaving only the tab bar. Keeps
|
||||
-- the ability to resize by dragging the window's edges.
|
||||
-- On macOS, 'RESIZE|INTEGRATED_BUTTONS' also looks nice if
|
||||
-- you want to keep the window controls visible and integrate
|
||||
-- them into the tab bar.
|
||||
config.window_decorations = 'RESIZE'
|
||||
-- Sets the font for the window frame (tab bar)
|
||||
config.window_frame = {
|
||||
-- Berkeley Mono for me again, though an idea could be to try a
|
||||
-- serif font here instead of monospace for a nicer look?
|
||||
font = wezterm.font({ family = 'Iosevka Medium', weight = 'Bold' }),
|
||||
font_size = 11,
|
||||
}
|
||||
|
||||
wezterm.on('update-status', function(window)
|
||||
-- Grab the utf8 character for the "powerline" left facing
|
||||
-- solid arrow.
|
||||
local SOLID_LEFT_ARROW = utf8.char(0xe0b2)
|
||||
|
||||
-- Grab the current window's configuration, and from it the
|
||||
-- palette (this is the combination of your chosen colour scheme
|
||||
-- including any overrides).
|
||||
local color_scheme = window:effective_config().resolved_palette
|
||||
local bg = color_scheme.background
|
||||
local fg = color_scheme.foreground
|
||||
|
||||
window:set_right_status(wezterm.format({
|
||||
-- First, we draw the arrow...
|
||||
{ Background = { Color = 'none' } },
|
||||
{ Foreground = { Color = bg } },
|
||||
{ Text = SOLID_LEFT_ARROW },
|
||||
-- Then we draw our text
|
||||
{ Background = { Color = bg } },
|
||||
{ Foreground = { Color = fg } },
|
||||
{ Text = ' ' .. wezterm.hostname() .. ' ' },
|
||||
}))
|
||||
end)
|
||||
|
||||
-- Returns our config to be evaluated. We must always do this at the bottom of this file
|
||||
return config
|
||||
|
Loading…
Reference in a new issue