neovim: upgrade to nvim-cmp from nvim-compe

This commit is contained in:
2022-02-08 17:00:36 +05:30
parent ea164bddf8
commit c858af7768
6 changed files with 109 additions and 93 deletions

View File

@@ -42,7 +42,7 @@ config =
],
sepChar = "*",
alignSep = "--",
template = "<action=`dmenu_run` button=1><icon=/home/natto/.xmonad/lib/nixos.xpm/></action> *UnsafeStdinReader* " ++ sep ++ " <fn=1></fn>*mpd* -- *multicpu* " ++ sep ++ " *memory* " ++ sep ++ " *wlp0s20f3* " ++ sep ++ " *battery* " ++ sep ++ " <fn=1>\xf028</fn> <fc=" ++ green ++ ">*pamixer*%</fc> " ++ sep ++ " *date* - *time* *tray*"
template = "<action=`dmenu_run` button=1><icon=/home/natto/.xmonad/lib/nixos.xpm/></action> *UnsafeStdinReader* " ++ sep ++ " <fn=1></fn>*mpd* -- *multicpu* " ++ sep ++ " *memory* " ++ sep ++ " *wlp0s20f3* " ++ sep ++ " *battery* " ++ sep ++ " <fn=1>\xf028</fn> <fc=" ++ green ++ ">*pamixer*%</fc> " ++ sep ++ " *date* - *time* " ++ sep ++ "*tray*"
}
main :: IO ()

View File

@@ -247,8 +247,8 @@ main = do xmproc <- spawnPipe ("xmobar " ++ myXmobarrc)
, logHook = dynamicLogWithPP xmobarPP
{ ppOutput = hPutStrLn xmproc
, ppCurrent = xmobarColor activeWinColor "" . wrap "(" ")"
, ppVisible = xmobarColor activeWinColor ""
, ppHidden = xmobarColor inactiveWinColor ""
, ppVisible = xmobarColor activeWinColor ""
, ppHidden = xmobarColor inactiveWinColor ""
, ppTitle = xmobarColor fgColor "" . shorten 40
, ppLayout = const ""
, ppUrgent = xmobarColor urgentWinColor "" . wrap "!" ""

View File

@@ -90,15 +90,15 @@ in
enable = true;
config = {
geometry = "1x1-0";
max_geometry = "5x0";
max_geometry = "10x0";
window_type = "dock";
sticky = true;
scrollbars = "horizontal";
icon_size = 23;
background = "#1d2021";
grow_gravity = "E";
icon_gravity = "E";
grow_gravity = "E";
kludges = "force_icons_size";
window_layer = "top";
};
};
};