mirror of
https://github.com/jbowdre/dotfiles.git
synced 2025-01-07 01:59:13 +00:00
catppuccin all the things!
This commit is contained in:
parent
324ddbb6b9
commit
0b7c4606eb
6 changed files with 38 additions and 17 deletions
16
flake.lock
16
flake.lock
|
@ -1,5 +1,20 @@
|
|||
{
|
||||
"nodes": {
|
||||
"catppuccin": {
|
||||
"locked": {
|
||||
"lastModified": 1734734291,
|
||||
"narHash": "sha256-CFX4diEQHKvZYjnhf7TLg20m3ge1O4vqgplsk/Kuaek=",
|
||||
"owner": "catppuccin",
|
||||
"repo": "nix",
|
||||
"rev": "1e4c3803b8da874ff75224ec8512cb173036bbd8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "catppuccin",
|
||||
"repo": "nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"devshell": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -393,6 +408,7 @@
|
|||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"catppuccin": "catppuccin",
|
||||
"firefox-addons": "firefox-addons",
|
||||
"hardware": "hardware",
|
||||
"home-manager": "home-manager",
|
||||
|
|
|
@ -39,6 +39,9 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# Catppuccin theme
|
||||
catppuccin.url = "github:catppuccin/nix";
|
||||
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, ... }@inputs:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ outputs, lib, config, pkgs, ... }: {
|
||||
imports = [ ../modules/tui ]
|
||||
{ inputs, outputs, lib, config, pkgs, ... }: {
|
||||
imports = [ ../modules/tui inputs.catppuccin.homeManagerModules.catppuccin ]
|
||||
++ (builtins.attrValues outputs.homeManagerModules);
|
||||
|
||||
nixpkgs = {
|
||||
|
@ -31,5 +31,10 @@
|
|||
|
||||
};
|
||||
|
||||
catppuccin = {
|
||||
flavor = "mocha";
|
||||
enable = true;
|
||||
};
|
||||
|
||||
targets.genericLinux.enable = true;
|
||||
}
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
visual_bell_duration = "1.0 ease-in-out";
|
||||
};
|
||||
shellIntegration.enableFishIntegration = true;
|
||||
themeFile = "Catppuccin-Mocha";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -16,9 +16,6 @@
|
|||
|
||||
fzf.enable = true;
|
||||
|
||||
bat = {
|
||||
enable = true;
|
||||
config = { theme = "gruvbox-dark"; };
|
||||
};
|
||||
bat = { enable = true; };
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,15 @@
|
|||
{ pkgs, ... }: {
|
||||
|
||||
catppuccin.tmux.extraConfig = ''
|
||||
# catppuccin theme options
|
||||
set -g @catppuccin_status_modules_left "host"
|
||||
set -g @catppuccin_status_modules_right "application cpu weather session"
|
||||
set -g @tmux-weather-units "u"
|
||||
run-shell ${pkgs.tmuxPlugins.catppuccin}/share/tmux-plugins/catppuccin/catppuccin.tmux
|
||||
run-shell ${pkgs.tmuxPlugins.cpu}/share/tmux-plugins/cpu/cpu.tmux
|
||||
run-shell ${pkgs.tmuxPlugins.weather}/share/tmux-plugins/weather/tmux-weather.tmux
|
||||
'';
|
||||
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
aggressiveResize = true;
|
||||
|
@ -12,17 +22,8 @@
|
|||
keyMode = "vi";
|
||||
mouse = true;
|
||||
shell = "${pkgs.fish}/bin/fish";
|
||||
plugins = with pkgs.tmuxPlugins; [ catppuccin cpu weather ];
|
||||
plugins = with pkgs.tmuxPlugins; [ cpu weather ];
|
||||
extraConfig = ''
|
||||
# catppuccin theme options
|
||||
set -g @catppuccin_flavour "mocha"
|
||||
set -g @catppuccin_status_modules_left "host"
|
||||
set -g @catppuccin_status_modules_right "application cpu weather session"
|
||||
set -g @tmux-weather-units "u"
|
||||
run-shell ${pkgs.tmuxPlugins.catppuccin}/share/tmux-plugins/catppuccin/catppuccin.tmux
|
||||
run-shell ${pkgs.tmuxPlugins.cpu}/share/tmux-plugins/cpu/cpu.tmux
|
||||
run-shell ${pkgs.tmuxPlugins.weather}/share/tmux-plugins/weather/tmux-weather.tmux
|
||||
|
||||
# new panes inherit current working directory
|
||||
bind '%' split-window -h -c '#{pane_current_path}'
|
||||
bind '"' split-window -v -c '#{pane_current_path}'
|
||||
|
|
Loading…
Reference in a new issue