Adds catppuccin nix flake for themeing lots of programs easily. This enables proper themeing for: * zathura * imv * fcitx (declarative settings) * lazygit * btop * gtk It also pulls in the home-manager sessionVars which is necessary to theme applications. The session vars change also reduces the number of env-vars that need to be set in the zshrc due to them being set declaratively elsewhere.
		
			
				
	
	
		
			51 lines
		
	
	
	
		
			888 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
	
		
			888 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
-- Options File
 | 
						||
 | 
						||
local opt = vim.opt
 | 
						||
 | 
						||
-- Leader key
 | 
						||
vim.g.mapleader = " "
 | 
						||
vim.g.maplocalleader = "\\"
 | 
						||
 | 
						||
-- Basic Options I like
 | 
						||
opt.hlsearch = true
 | 
						||
opt.ignorecase = true
 | 
						||
opt.relativenumber = true
 | 
						||
opt.number = true
 | 
						||
opt.spell = true
 | 
						||
opt.swapfile = false
 | 
						||
opt.syntax = "on"
 | 
						||
opt.scrolloff = 15
 | 
						||
 | 
						||
-- Had this disabled before might not like
 | 
						||
opt.incsearch = true
 | 
						||
 | 
						||
-- 24-bit color
 | 
						||
opt.termguicolors = true
 | 
						||
 | 
						||
-- Good indents
 | 
						||
opt.tabstop = 2
 | 
						||
opt.shiftwidth = 0 -- Use tabstop
 | 
						||
opt.expandtab = true
 | 
						||
 | 
						||
-- Show trailing whitespace but fancy
 | 
						||
opt.list = true
 | 
						||
opt.listchars = {
 | 
						||
  tab = "→ ",
 | 
						||
  trail = "╳",
 | 
						||
  nbsp = "⎵",
 | 
						||
}
 | 
						||
 | 
						||
-- Make Lines Wrap Properly
 | 
						||
opt.linebreak = true
 | 
						||
opt.wrap = true
 | 
						||
 | 
						||
-- Colors
 | 
						||
require("tokyonight").setup({
 | 
						||
  transparent = true,
 | 
						||
  styles = {
 | 
						||
    floats = "transparent"
 | 
						||
  }
 | 
						||
})
 | 
						||
vim.cmd("colorscheme tokyonight")
 | 
						||
vim.cmd("hi Comment guifg=#e69dc5")
 | 
						||
vim.cmd("hi Linenr guifg=#a672f3")
 |