add Catppuccin color schemes for Konsole

This commit is contained in:
cswimr 2024-12-19 12:34:42 -05:00
parent 9dad989f76
commit 79974b69a5
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
3 changed files with 56 additions and 23 deletions

View file

@ -1,4 +1,4 @@
{ user, ... }:
{ pkgs, user, ... }:
{
programs.plasma =
let
@ -133,30 +133,40 @@
kwinrc.Plugins.zoomEnabled = false;
};
};
programs.konsole = {
enable = true;
defaultProfile = "xonsh";
profiles = {
"xonsh" = {
command = "/run/current-system/sw/bin/xonsh";
colorScheme = "Catppuccin-Mocha";
font = {
name = "ComicCodeLigatures Nerd Font";
size = 12;
};
extraConfig = {
"General" = {
"Directory" = "/home/${user}";
"Icon" = "nix-snowflake";
"StartInCurrentSessionDir" = false;
programs.konsole =
let
colorSchemesPackage = pkgs.callPackage ../packages/catppuccin-konsole.nix { inherit pkgs; };
in
{
enable = true;
customColorSchemes = {
"Catppuccin Latte" = "${colorSchemesPackage}/themes/catppuccin-latte.colorscheme";
"Catppuccin Frappe" = "${colorSchemesPackage}/themes/catppuccin-frappe.colorscheme";
"Catppuccin Macchiato" = "${colorSchemesPackage}/themes/catppuccin-macchiato.colorscheme";
"Catppuccin Mocha" = "${colorSchemesPackage}/themes/catppuccin-mocha.colorscheme";
};
defaultProfile = "xonsh";
profiles = {
"xonsh" = {
command = "/run/current-system/sw/bin/xonsh";
colorScheme = "Catppuccin Mocha";
font = {
name = "ComicCodeLigatures Nerd Font";
size = 12;
};
"Interaction Options" = {
"AllowEscapedLinks" = true;
"OpenLinksByDirectClickEnabled" = true;
"UnderlineFilesEnabled" = true;
extraConfig = {
"General" = {
"Directory" = "/home/${user}";
"Icon" = "nix-snowflake";
"StartInCurrentSessionDir" = false;
};
"Interaction Options" = {
"AllowEscapedLinks" = true;
"OpenLinksByDirectClickEnabled" = true;
"UnderlineFilesEnabled" = true;
};
};
};
};
};
};
}