feat: more nvim tweaks ig
This commit is contained in:
parent
92caa088aa
commit
936a9cfea0
|
@ -12,6 +12,3 @@ My flake based nixos configuration. To use this, just rebuild your system using
|
||||||
- automatically save/restore state using continuum
|
- automatically save/restore state using continuum
|
||||||
- customize status bar
|
- customize status bar
|
||||||
- clean out the mess I made for installing fish themes
|
- clean out the mess I made for installing fish themes
|
||||||
- customize picom
|
|
||||||
- vim:
|
|
||||||
- configure lualine more
|
|
||||||
|
|
|
@ -3,7 +3,18 @@ local M = {}
|
||||||
function M.setup()
|
function M.setup()
|
||||||
require('lualine').setup({
|
require('lualine').setup({
|
||||||
theme = vim.g.lualineTheme,
|
theme = vim.g.lualineTheme,
|
||||||
|
options = {
|
||||||
|
section_separators = {left = '', right = ''},
|
||||||
|
component_separators = {left = '', right = ''}
|
||||||
|
},
|
||||||
|
sections = {
|
||||||
|
lualine_a = {'mode'},
|
||||||
|
lualine_b = {'branch', 'diff', 'diagnostics'},
|
||||||
|
lualine_c = {'filename'},
|
||||||
|
lualine_x = {},
|
||||||
|
lualine_y = {'encoding', 'fileformat', 'filetype'},
|
||||||
|
lualine_z = {'location'}
|
||||||
|
},
|
||||||
-- Integration with other plugins
|
-- Integration with other plugins
|
||||||
extensions = {"nvim-tree"}
|
extensions = {"nvim-tree"}
|
||||||
})
|
})
|
||||||
|
|
|
@ -6,9 +6,7 @@ function M.setup()
|
||||||
local null_ls = require("null-ls")
|
local null_ls = require("null-ls")
|
||||||
|
|
||||||
local sources = {
|
local sources = {
|
||||||
null_ls.builtins.formatting.prettierd.with({
|
null_ls.builtins.formatting.prettierd.with({extra_filetypes = {}}), -- format ts files
|
||||||
extra_filetypes = {"markdown"}
|
|
||||||
}), -- format ts files
|
|
||||||
null_ls.builtins.formatting.lua_format -- format lua code
|
null_ls.builtins.formatting.lua_format -- format lua code
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
# chat apps
|
# chat apps
|
||||||
discord
|
discord
|
||||||
# deluge
|
# deluge
|
||||||
# slack
|
slack
|
||||||
tdesktop # telegram for the desktop
|
tdesktop # telegram for the desktop
|
||||||
zoom-us
|
zoom-us
|
||||||
# teams
|
# teams
|
||||||
|
|
|
@ -52,7 +52,6 @@ let
|
||||||
--prefix PATH : ${lib.makeBinPath extraPackages}
|
--prefix PATH : ${lib.makeBinPath extraPackages}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home-manager.users.adrielus =
|
home-manager.users.adrielus =
|
||||||
|
|
|
@ -14,6 +14,7 @@ import XMonad.Layout.Spacing
|
||||||
import XMonad.Layout.ThreeColumns
|
import XMonad.Layout.ThreeColumns
|
||||||
import XMonad.Operations
|
import XMonad.Operations
|
||||||
import XMonad.Util.EZConfig
|
import XMonad.Util.EZConfig
|
||||||
|
import XMonad.Layout.NoBorders
|
||||||
|
|
||||||
kdeOn :: Bool
|
kdeOn :: Bool
|
||||||
kdeOn = False
|
kdeOn = False
|
||||||
|
@ -31,7 +32,8 @@ main =
|
||||||
manageHook = manageDocks <+> myManagerHook <+> manageHook kdeConfig,
|
manageHook = manageDocks <+> myManagerHook <+> manageHook kdeConfig,
|
||||||
handleEventHook = handleEventHook kdeConfig <+> fullscreenEventHook,
|
handleEventHook = handleEventHook kdeConfig <+> fullscreenEventHook,
|
||||||
terminal = myTerminal,
|
terminal = myTerminal,
|
||||||
workspaces = myWorkspaces
|
workspaces = myWorkspaces,
|
||||||
|
borderWidth = 0
|
||||||
}
|
}
|
||||||
`additionalKeysP` keymap
|
`additionalKeysP` keymap
|
||||||
where
|
where
|
||||||
|
|
|
@ -12,6 +12,18 @@
|
||||||
# home.file.".config/plasma-workspace/env/set_window_manager.sh".text =
|
# home.file.".config/plasma-workspace/env/set_window_manager.sh".text =
|
||||||
# "export KDEWM=/home/adrielus/.nix-profile/bin/xmonad";
|
# "export KDEWM=/home/adrielus/.nix-profile/bin/xmonad";
|
||||||
|
|
||||||
services.picom = { enable = true; };
|
services.picom = {
|
||||||
|
enable = true;
|
||||||
|
blur = true;
|
||||||
|
shadow = true;
|
||||||
|
extraOptions = ''
|
||||||
|
blur:
|
||||||
|
{
|
||||||
|
method = "gaussian";
|
||||||
|
size = 10;
|
||||||
|
deviation = 5.0;
|
||||||
|
};
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,8 +53,8 @@ in
|
||||||
import = [ "${foreign.alacritty}/catppuccin.yml" ];
|
import = [ "${foreign.alacritty}/catppuccin.yml" ];
|
||||||
window = {
|
window = {
|
||||||
padding = {
|
padding = {
|
||||||
x = 0;
|
x = 4;
|
||||||
y = 0;
|
y = 4;
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk_theme_variant = "dark";
|
gtk_theme_variant = "dark";
|
||||||
|
|
Loading…
Reference in a new issue