4 Commits

Author SHA1 Message Date
Noah Masur
422131134a lower latency time on esc ctrl in kanata 2025-10-26 21:56:08 -04:00
Noah Masur
5d8e10b814 add crush coding agent to experimental 2025-10-26 21:55:24 -04:00
Noah Masur
fdd5eb6418 add chawan for html in aerc 2025-10-26 21:55:14 -04:00
Noah Masur
72c548e707 update git settings renamed options 2025-10-26 12:06:48 -04:00
9 changed files with 17 additions and 12 deletions

View File

@@ -174,8 +174,10 @@ in
filters = {
"text/plain" = "${pkgs.aerc}/libexec/aerc/filters/colorize";
"text/calendar" = "${pkgs.gawk}/bin/awk -f ${pkgs.aerc}/libexec/aerc/filters/calendar";
# "text/html" =
# "${pkgs.aerc}/libexec/aerc/filters/html | ${pkgs.aerc}/libexec/aerc/filters/colorize"; # Requires w3m, dante
"text/html" =
"${pkgs.aerc}/libexec/aerc/filters/html | ${pkgs.aerc}/libexec/aerc/filters/colorize"; # Requires w3m, dante
"!${pkgs.chawan}/bin/cha --type text/html --opt display.image-mode=kitty --opt display.columns=100 --opt display.force-columns=true";
# "text/*" =
# ''${pkgs.bat}/bin/bat -fP --file-name="$AERC_FILENAME "'';
"message/delivery-status" = "${pkgs.aerc}/libexec/aerc/filters/colorize";

View File

@@ -29,7 +29,7 @@ in
config = lib.mkIf cfg.enable {
# Always make the dotfiles directory considered safe for git and direnv
programs.git.extraConfig.safe.directory = cfg.path;
programs.git.settings.safe.directory = cfg.path;
programs.direnv.config.whitelist.prefix = [ cfg.path ];
home.activation = {

View File

@@ -39,8 +39,8 @@ in
config = lib.mkIf cfg.enable {
programs.git = {
userName = lib.mkForce cfg.work.name;
userEmail = lib.mkForce cfg.work.email;
settings.user.name = lib.mkForce cfg.work.name;
settings.user.email = lib.mkForce cfg.work.email;
includes = [
{
path = "${config.home.homeDirectory}/${config.xdg.configFile."git/personal".target}";

View File

@@ -29,9 +29,11 @@ in
programs.git = {
enable = true;
userName = cfg.name;
userEmail = cfg.email;
extraConfig = {
settings = {
user = {
name = cfg.name;
email = cfg.email;
};
core.pager = "${pkgs.git}/share/git/contrib/diff-highlight/diff-highlight | less --no-init";
interactive.difffilter = "${pkgs.git}/share/git/contrib/diff-highlight/diff-highlight";
pager = {

View File

@@ -16,7 +16,7 @@ in
config = lib.mkIf cfg.enable {
# Use Neovim as the editor for git commit messages
programs.git.extraConfig.core.editor = lib.mkForce "${lib.getExe pkgs.helix}";
programs.git.settings.core.editor = lib.mkForce "${lib.getExe pkgs.helix}";
programs.jujutsu.settings.ui.editor = lib.mkForce "${lib.getExe pkgs.helix}";
# Set Neovim as the default app for text editing and manual pages

View File

@@ -20,8 +20,8 @@ in
# https://github.com/martinvonz/jj/blob/main/docs/config.md
settings = {
user = {
name = config.programs.git.userName;
email = config.programs.git.userEmail;
name = config.programs.git.settings.user.name;
email = config.programs.git.settings.user.email;
};
ui.paginate = "never";

View File

@@ -38,7 +38,7 @@ in
);
# Use Neovim as the editor for git commit messages
programs.git.extraConfig.core.editor = "${lib.getExe cfg.package}";
programs.git.settings.core.editor = "${lib.getExe cfg.package}";
programs.jujutsu.settings.ui.editor = "${lib.getExe cfg.package}";
# Set Neovim as the default app for text editing and manual pages

View File

@@ -30,6 +30,7 @@ in
pkgs.pop # Send emails from a TUI
pkgs.chawan # Browser TUI
pkgs.crush # AI LLM Agent
];

View File

@@ -29,7 +29,7 @@ in
caps
)
(defalias
escctrl (tap-hold-press 1000 1000 esc lctrl)
escctrl (tap-hold-press 200 200 esc lctrl)
)
(deflayer base
@escctrl