Skip to content

Neovim plugin for switching themes based on GNOME settings

License

Notifications You must be signed in to change notification settings

willmcpherson2/gnome.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

gnome.nvim

A Neovim plugin for switching themes based on GNOME settings.

Integrates well with the GNOME Night Theme Switcher extension.

-- packer.nvim
use {
  "willmcpherson2/gnome.nvim",
  config = function()
    require("gnome").setup {
      -- these are the default options and can be omitted
      on_light = function()
        vim.api.nvim_set_option("background", "light")
      end,
      on_dark = function()
        vim.api.nvim_set_option("background", "dark")
      end,
    }
  end
}

About

Neovim plugin for switching themes based on GNOME settings

Topics

Resources

License

Stars

Watchers

Forks

Languages