Skip to content

Neovim plugin to change the border color of your terminal's x11 window to indicate what mode neovim is in.

Notifications You must be signed in to change notification settings

Kody-Quintana/x11-border-color.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

x11-border-color.nvim

Neovim plugin to change the border color of your terminal to indicate what mode neovim is in.

Inspired by chwb from wmutils. This uses LuaJIT FFI to call some C functions from XCB directly to change the window's border color. This is made to work with bspwm, but can probably work with other X11 WMs.

Requires: (You probably already have these installed)

  • libxcb
  • xcb-utils

Install

use 'Kody-Quintana/x11-border-color.nvim'

Configuration:

require("x11-border-color").setup({
  normal_color = "#2cba1f",
  insert_color = "#e21855",
  --restore_color = "#FFFFFF",  -- If using bspwm, the default restore_color is the output of 'bspc config focused_border_color'
})

About

Neovim plugin to change the border color of your terminal's x11 window to indicate what mode neovim is in.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages