Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 5ca8bf8

Browse files
committed
chore: refactor catpuccin module usage
1 parent d033c95 commit 5ca8bf8

File tree

9 files changed

+21
-12
lines changed

9 files changed

+21
-12
lines changed

home/common/desktop/alacritty.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ let
33
theme = import "${self}/lib/theme" { inherit pkgs; };
44
in
55
{
6+
catppuccin.alacritty.enable = true;
7+
68
programs.alacritty = {
79
enable = true;
8-
catppuccin.enable = true;
910
settings = {
1011
env = {
1112
TERM = "alacritty";

home/common/desktop/mako.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ let
88
theme = import "${self}/lib/theme" { inherit pkgs; };
99
in
1010
{
11+
catppuccin.mako.enable = true;
12+
1113
services = {
1214
mako = {
1315
enable = true;
14-
catppuccin.enable = true;
1516
actions = true;
1617
anchor = if hostname == "kara" then "top-center" else "top-right";
1718
borderRadius = 8;

home/common/desktop/rofi.nix

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{ pkgs, ... }:
22
{
3+
catppuccin.rofi = {
4+
enable = true;
5+
flavor = "mocha";
6+
};
7+
38
programs.rofi = {
49
enable = true;
510
package = pkgs.rofi-wayland;
6-
catppuccin = {
7-
enable = true;
8-
flavor = "mocha";
9-
};
1011
terminal = "${pkgs.alacritty}/bin/alacritty";
1112

1213
extraConfig = {

home/common/shell/bat.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
_: {
2+
catppuccin.bat.enable = true;
3+
24
programs = {
35
bat = {
46
enable = true;
5-
catppuccin.enable = true;
67
};
78
};
89
}

home/common/shell/bottom.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
_: {
2+
catppuccin.bottom.enable = true;
3+
24
programs.bottom = {
35
enable = true;
4-
catppuccin.enable = true;
56
};
67
}

home/common/shell/fzf.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
_: {
2+
catppuccin.fzf.enable = true;
3+
24
programs.fzf = {
35
enable = true;
46
enableZshIntegration = true;
5-
catppuccin.enable = true;
67

78
changeDirWidgetOptions = [ "--preview 'tree -C {} | head -200'" ];
89

home/common/shell/tmux.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
_: {
2+
catppuccin.tmux.enable = true;
3+
24
programs = {
35
tmate.enable = true;
46

57
tmux = {
68
enable = true;
7-
catppuccin.enable = true;
89

910
aggressiveResize = true;
1011
baseIndex = 1;

home/common/shell/vim.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{ pkgs, ... }:
22
{
3+
catppuccin.nvim.enable = true;
4+
35
programs.neovim = {
46
enable = true;
57
package = pkgs.neovim-unwrapped;
6-
catppuccin.enable = true;
78
viAlias = true;
89
vimAlias = true;
910
vimdiffAlias = true;

home/common/shell/zsh.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
catppuccin.zsh-syntax-highlighting.enable = true;
3+
24
programs = {
35
zsh = {
46
enable = true;
@@ -8,7 +10,6 @@
810
autosuggestion.enable = true;
911
syntaxHighlighting = {
1012
enable = true;
11-
catppuccin.enable = true;
1213
};
1314

1415
history = {

0 commit comments

Comments
 (0)