1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 16:38:34 +02:00

pywal: fixed i3 config (#3002)

module was never imported and thus useless. This adds a neovim plugin too.
This commit is contained in:
Matthieu Coudron 2022-06-15 23:44:52 +02:00 committed by GitHub
parent 87d30c1648
commit 07dbd4c0dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -165,6 +165,7 @@ let
./programs/vim.nix
./programs/vscode.nix
./programs/vscode/haskell.nix
./programs/pywal.nix
./programs/watson.nix
./programs/waybar.nix
./programs/xmobar.nix

View File

@ -25,6 +25,11 @@ in {
programs.rofi.theme."@import" =
"${config.xdg.cacheHome}/wal/colors-rofi-dark.rasi";
programs.neovim.plugins = [{
plugin = pkgs.vimPlugins.pywal-nvim;
type = "lua";
}];
# wal generates and that's the one we should load from /home/teto/.cache/wal/colors.Xresources ~/.Xresources
xsession.windowManager.i3 = {
extraConfig = ''