various catppuccin changes

This commit is contained in:
Sean Kovacs 2026-01-14 16:54:50 -05:00
commit feed61a54f
Signed by: sckova
GPG key ID: 00F325187C68651A
7 changed files with 23 additions and 17 deletions

View file

@ -1,11 +1,7 @@
{
config,
pkgs,
...
}: {
{pkgs, ...}: {
catppuccin = {
accent = "peach";
flavor = "mocha";
accent = "lavender";
flavor = "macchiato";
};
home.packages = with pkgs; [
@ -15,7 +11,6 @@
asahi-wifisync
moonlight-qt
# spotify-webapp
];
# https://github.com/YaLTeR/niri/issues/2330#issuecomment-3256864777
@ -44,7 +39,7 @@
];
shortcuts = {
# this is really annoying on asahi laptops
# this is really annoying on apple laptops
org_kde_powerdevil.Sleep = [];
};

View file

@ -41,9 +41,11 @@
text = let
flavor = config.catppuccin.flavor;
palette = pkgs.catppuccin.bare.${flavor};
accent = config.catppuccin.accent;
in
lib.concatStringsSep "\n" (
lib.mapAttrsToList (name: value: "set -g color_${name} ${value}") palette
(lib.mapAttrsToList (name: value: "set -g color_${name} ${value}") palette)
++ ["set -g color_accent ${palette.${accent}}"]
);
force = true;
};

View file

@ -11,11 +11,11 @@ set -g color_cwd $color_green
# Set host color based on hostname
if test (hostname) = peach
set -g color_host $color_peach
set -g color_host $color_accent
else if test (hostname) = alien
set -g color_host $color_blue
set -g color_host $color_accent
else if test (hostname) = vm
set -g color_host $color_green
set -g color_host $color_accent
set -g color_cwd normal
else if test (uname) = Darwin
set -g color_host $color_yellow