mako theming 1

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-04-10 19:19:33 +02:00
parent c751220c33
commit 111b46f442
5 changed files with 64 additions and 34 deletions

View File

@@ -68,6 +68,7 @@
bright-white = "ffffff"; # #ffffff bright-white = "ffffff"; # #ffffff
yellow = "ff4000"; # #ff4000 yellow = "ff4000"; # #ff4000
bright-yellow = "ff8454"; # #ff8454 bright-yellow = "ff8454"; # #ff8454
border = red;
}; };
font = { font = {
code = { code = {

18
home-modules/email.nix Normal file
View File

@@ -0,0 +1,18 @@
{ config, pkgs, lib, system, user, allowed, secrets, ... }:
{
home.packages = with pkgs; [
thunderbird
];
# home.file.".config/meli.config" = {
# };
}

View File

@@ -6,27 +6,27 @@
delta delta
# only works on spec arch, chage url for others # only works on spec arch, chage url for others
(stdenv.mkDerivation { # (stdenv.mkDerivation {
name = "easycommit"; # name = "easycommit";
src = pkgs.fetchurl { # src = pkgs.fetchurl {
url = "https://github.com/blackironj/easycommit/releases/download/v0.0.1/easycommit-v0.0.1-linux-amd64.tar.gz"; # url = "https://github.com/blackironj/easycommit/releases/download/v0.0.1/easycommit-v0.0.1-linux-amd64.tar.gz";
sha256 = "sha256-Ip5wfVe/RzCxGGh1YFBllAn84nD7mUXbnMko+ue/C2E="; # sha256 = "sha256-Ip5wfVe/RzCxGGh1YFBllAn84nD7mUXbnMko+ue/C2E=";
}; # };
phases = ["installPhase"]; # phases = ["installPhase"];
installPhase = '' # installPhase = ''
mkdir -p $out/bin # mkdir -p $out/bin
tar xf $src -C $out/ # tar xf $src -C $out/
ls -la $out # ls -la $out
mv $out/easycommit $out/bin/ # mv $out/easycommit $out/bin/
chmod +x $out/bin/easycommit # chmod +x $out/bin/easycommit
''; # '';
}) # })
]; ];
programs.git = { programs.git = {
enable = true; enable = true;
userName = ''Lennart J. Kurzweg (Nx2)''; userName = ''Lennart J. Kurzweg (Nx2)'';
userEmail = "nx2@nx2.site"; userEmail = "git@nx2.site";
delta = { delta = {
enable = true; enable = true;
options = { options = {

View File

@@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, rice, ... }:
{ {
home.packages = [ home.packages = [
@@ -7,6 +7,10 @@
]; ];
services.mako = { services.mako = {
enable = true; enable = true;
defaultTimeout = 60000; defaultTimeout = 5;
backgroundColor = "#${rice.color.background}";
textColor = "#${rice.color.foreground}";
borderColor = "#${rice.color.border}";
font = "#${rice.font.code.name}";
}; };
} }

View File

@@ -4,7 +4,9 @@
./home-modules/vscode.nix ./home-modules/vscode.nix
./home-modules/discord.nix ./home-modules/discord.nix
./home-modules/chatterino.nix ./home-modules/chatterino.nix
./home-modules/meli/meli.nix # ./home-modules/meli/meli.nix
./home-modules/email.nix
# ./home-modules/mutt/neomutt.nix # ./home-modules/mutt/neomutt.nix
./home-modules/gestures.nix ./home-modules/gestures.nix
@@ -83,21 +85,26 @@
stateHome = /home/${user}/.local/state; stateHome = /home/${user}/.local/state;
mimeApps = { mimeApps = {
enable = true; enable = true;
defaultApplications = { defaultApplications =
"default-web-browser" = [ "firefox.desktop" ]; let
"text/html" = [ "firefox.desktop" ]; browser = "firefox.desktop";
"text/htm" = [ "firefox.desktop" ]; in
"x-scheme-handler/http" = [ "firefox.desktop" ]; {
"x-scheme-handler/https" = [ "firefox.desktop" ]; "default-web-browser" = [ browser ];
"x-scheme-handler/about" = [ "firefox.desktop" ]; "text/html" = [ browser ];
"x-scheme-handler/unknown" = [ "firefox.desktop" ]; "text/htm" = [ browser ];
"image/png" = "imv.desktop"; "x-scheme-handler/http" = [ browser ];
"image/jpg" = "imv.desktop"; "x-scheme-handler/https" = [ browser ];
"image/jpeg" = "imv.desktop"; "x-scheme-handler/about" = [ browser ];
"image/webp" = "imv.desktop"; "x-scheme-handler/unknown" = [ browser ];
"image/gif" = "imv.desktop"; "x-scheme-handler/mailto" = "thunderbird.desktop";
"application/pdf" = "zathura.desktop"; "image/png" = "imv.desktop";
}; "image/jpg" = "imv.desktop";
"image/jpeg" = "imv.desktop";
"image/webp" = "imv.desktop";
"image/gif" = "imv.desktop";
"application/pdf" = "zathura.desktop";
};
}; };
}; };
# Wayland, X, etc. support for session vars # Wayland, X, etc. support for session vars