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 - 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

View file

@ -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"}
}) })

View file

@ -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
} }

View file

@ -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

View file

@ -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 =

View file

@ -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

View file

@ -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;
};
'';
};
}; };
} }

View file

@ -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";