1
Fork 0

feat: more nvim tweaks ig

This commit is contained in:
Matei Adriel 2022-05-17 00:03:35 +03:00
parent 92caa088aa
commit 936a9cfea0
8 changed files with 32 additions and 13 deletions

View file

@ -12,6 +12,3 @@ My flake based nixos configuration. To use this, just rebuild your system using
- automatically save/restore state using continuum
- customize status bar
- clean out the mess I made for installing fish themes
- customize picom
- vim:
- configure lualine more

View file

@ -3,7 +3,18 @@ local M = {}
function M.setup()
require('lualine').setup({
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
extensions = {"nvim-tree"}
})

View file

@ -6,9 +6,7 @@ function M.setup()
local null_ls = require("null-ls")
local sources = {
null_ls.builtins.formatting.prettierd.with({
extra_filetypes = {"markdown"}
}), -- format ts files
null_ls.builtins.formatting.prettierd.with({extra_filetypes = {}}), -- format ts files
null_ls.builtins.formatting.lua_format -- format lua code
}

View file

@ -42,7 +42,7 @@
# chat apps
discord
# deluge
# slack
slack
tdesktop # telegram for the desktop
zoom-us
# teams

View file

@ -52,7 +52,6 @@ let
--prefix PATH : ${lib.makeBinPath extraPackages}
'';
};
in
{
home-manager.users.adrielus =

View file

@ -14,6 +14,7 @@ import XMonad.Layout.Spacing
import XMonad.Layout.ThreeColumns
import XMonad.Operations
import XMonad.Util.EZConfig
import XMonad.Layout.NoBorders
kdeOn :: Bool
kdeOn = False
@ -31,7 +32,8 @@ main =
manageHook = manageDocks <+> myManagerHook <+> manageHook kdeConfig,
handleEventHook = handleEventHook kdeConfig <+> fullscreenEventHook,
terminal = myTerminal,
workspaces = myWorkspaces
workspaces = myWorkspaces,
borderWidth = 0
}
`additionalKeysP` keymap
where

View file

@ -12,6 +12,18 @@
# home.file.".config/plasma-workspace/env/set_window_manager.sh".text =
# "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;
};
'';
};
};
}

View file

@ -53,8 +53,8 @@ in
import = [ "${foreign.alacritty}/catppuccin.yml" ];
window = {
padding = {
x = 0;
y = 0;
x = 4;
y = 4;
};
gtk_theme_variant = "dark";