i3 fix and remove tabline in neovim

This commit is contained in:
Devon Tingley 2022-09-23 08:11:31 -04:00
parent 4cc9adffab
commit b439b09556
4 changed files with 17 additions and 3 deletions

View file

@ -9,7 +9,7 @@ exec --no-startup-id xinput set-prop "PIXA3854:00 093A:0274 Touchpad" "libinput
exec feh --bg-fill /usr/share/backgrounds/lightdm.png
# Set xinput settings for touchpad
exec xinput set-prop 11 306 1
exec xinput set-prop 11 305 1
# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status
@ -187,7 +187,7 @@ bar {
colors {
background $bg
statusline $yellow
# workspaces section
# workspaces section
# border backgr. text
focused_workspace $aqua $aqua $darkgray
inactive_workspace $darkgray $darkgray $yellow
@ -200,6 +200,8 @@ default_border pixel 1
default_floating_border none
hide_edge_borders both
for_window [all] border pixel 1
# class border|backgr|text|indicator|child_border
client.focused $green $green $darkgray $purple $darkgray
client.focused_inactive $darkgray $darkgray $yellow $purple $darkgray

View file

@ -0,0 +1,12 @@
vim.keymap.set('n', 'gB', ':!tectonic main.tex<CR>')
local function getWords()
local words = vim.fn.wordcount().words
return string.format("%d words", words)
end
require('lualine').setup({
sections = {
lualine_y = { 'progress', getWords }
}
})

View file

@ -9,5 +9,4 @@ require('mini.pairs').setup()
require('mini.sessions').setup()
require('mini.starter').setup()
require('mini.surround').setup()
require('mini.tabline').setup()
require('mini.trailspace').setup()

View file

@ -7,6 +7,7 @@ vim.o.splitbelow = true
vim.o.scrolloff = 10
vim.o.foldenable = false
vim.api.nvim_set_var('tex_flavor', 'latex')
-- Tab Settings
vim.o.tabstop = 4