Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
raba-jp committed Nov 9, 2023
1 parent 5b3df98 commit 557cce6
Show file tree
Hide file tree
Showing 15 changed files with 50 additions and 220 deletions.
172 changes: 35 additions & 137 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 4 additions & 34 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,43 +67,13 @@
flake = false;
};

catppuccin-fish = {
url = "github:catppuccin/fish";
rose-pine-fish = {
url = "github:rose-pine/fish";
flake = false;
};

catppuccin-gitui = {
url = "github:catppuccin/gitui";
flake = false;
};

catppuccin-bat = {
url = "github:catppuccin/bat";
flake = false;
};

catppuccin-hyprland = {
url = "github:catppuccin/hyprland";
flake = false;
};

catppuccin-waybar = {
url = "github:catppuccin/waybar";
flake = false;
};

catppuccin-starship = {
url = "github:catppuccin/starship";
flake = false;
};

catppuccin-fcitx5 = {
url = "github:catppuccin/fcitx5";
flake = false;
};

catppuccin-grub = {
url = "github:catppuccin/grub";
rose-pine-fcitx5 = {
url = "github:rose-pine/fcitx5";
flake = false;
};
};
Expand Down
14 changes: 1 addition & 13 deletions home/features/bat.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
{
pkgs,
inputs,
...
}: {
{pkgs, ...}: {
programs.bat = {
enable = true;

config = {
theme = "Catppuccin-mocha";
style = "changes,header";
};

themes = {
Catppuccin-mocha = {
src = inputs.catppuccin-bat;
file = "Catppuccin-mocha.tmTheme";
};
};

extraPackages = with pkgs.bat-extras; [
batman
];
Expand Down
6 changes: 3 additions & 3 deletions home/features/fcitx5.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{inputs, ...}: {
xdg.dataFile."fcitx5/themes/catppuccin-mocha" = {
source = inputs.catppuccin-fcitx5 + "/src/catppuccin-mocha";
xdg.dataFile."fcitx5/themes/rose-pine-moon" = {
source = inputs.rose-pine-fcitx5 + "/rose-pine-moon";
};
xdg.configFile."fcitx5/conf/classicui.conf" = {
text = "Theme=catppuccin-mocha";
text = "Theme=rose-pine-moon";
};
}
6 changes: 3 additions & 3 deletions home/features/fish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
...
}: {
xdg.configFile = {
"fish/themes/Catppuccin Mocha.theme" = {
text = builtins.readFile (inputs.catppuccin-fish + "/themes/Catppuccin Mocha.theme");
onChange = "${pkgs.fish}/bin/fish -c 'yes | fish_config theme save \"Catppuccin Mocha\"'";
"fish/themes/Rosé Pine Moon.theme" = {
text = builtins.readFile (inputs.rose-pine-fish + "/themes/Rosé Pine Moon.theme");
onChange = "${pkgs.fish}/bin/fish -c 'yes | fish_config theme save \"Rosé Pine Moon\"'";
};
};

Expand Down
7 changes: 0 additions & 7 deletions home/features/gitui.nix

This file was deleted.

2 changes: 0 additions & 2 deletions home/features/hyprland.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
exec-once=${pkgs.waybar}/bin/waybar
source=${inputs.catppuccin-hyprland}/themes/mocha.conf
animations {
enabled = true
}
Expand Down
8 changes: 1 addition & 7 deletions home/features/starship.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
{inputs, ...}: {
{
programs.starship = {
enable = true;
enableFishIntegration = true;
enableBashIntegration = true;
enableZshIntegration = true;

settings =
{
palette = "catppuccin_mocha";
}
// builtins.fromTOML (builtins.readFile (inputs.catppuccin-starship + "/palettes/mocha.toml"));
};
}
8 changes: 1 addition & 7 deletions home/features/waybar.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
{
pkgs,
inputs,
...
}: {
{pkgs, ...}: {
programs.waybar = {
enable = true;
# systemd.enable = true;

style = builtins.readFile (inputs.catppuccin-waybar + "/themes/mocha.css");

settings = [
{
module-left = [
Expand Down
2 changes: 1 addition & 1 deletion home/features/wezterm/wezterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ return {
initial_rows = 24,

-- window_background_opacity = 0.8,
color_scheme = "Catppuccin Mocha",
color_scheme = "Rosé Pine Moon (base16)",

inactive_pane_hsb = {
saturation = 0.8,
Expand Down
1 change: 0 additions & 1 deletion home/users/sakuraba/QN63HFT2NY.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
../../features/fish.nix
../../features/fzf.nix
../../features/git.nix
../../features/gitui.nix
../../features/starship.nix
../../features/xplr.nix
../../features/atuin.nix
Expand Down
1 change: 0 additions & 1 deletion home/users/sakuraba/define7.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
../../features/fish.nix
../../features/fzf.nix
../../features/git.nix
../../features/gitui.nix
../../features/starship.nix
../../features/fcitx5.nix
../../features/xplr.nix
Expand Down
1 change: 0 additions & 1 deletion home/users/sakuraba/vm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
../../features/fish.nix
../../features/fzf.nix
../../features/git.nix
../../features/gitui.nix
../../features/starship.nix
];

Expand Down
1 change: 0 additions & 1 deletion home/users/sakuraba/xps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
../../features/fish.nix
../../features/fzf.nix
../../features/git.nix
../../features/gitui.nix
../../features/starship.nix
../../features/hyprland.nix
../../features/waybar.nix
Expand Down
3 changes: 1 addition & 2 deletions nixos/common/optional/grub.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{inputs, ...}: {
{
boot.binfmt.emulatedSystems = ["aarch64-linux"];

boot.loader = {
Expand All @@ -21,7 +21,6 @@
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
'';
theme = inputs.catppuccin-grub + "/src/catppuccin-mocha-grub-theme";
};
};
}

0 comments on commit 557cce6

Please sign in to comment.