refactoring and minor updates

This commit is contained in:
Matt Nish-Lapidus 2025-03-22 10:57:26 -04:00
parent 83f072dac2
commit 14ff6a7a25
7 changed files with 43 additions and 27 deletions

View file

@ -108,7 +108,7 @@ in
animations.slowdown = 1.0;
layout = {
gaps = 10;
gaps = 6;
center-focused-column = "never";
always-center-single-column = true;
@ -149,8 +149,9 @@ in
width = pkgs.rice.border-width + 1;
};
shadow = {
enable = true;
struts = {
right = 6;
left = 6;
};
};
@ -224,6 +225,18 @@ in
];
open-maximized = true;
}
{
matches = [
{ is-floating = true; }
];
shadow = {
enable = true;
softness = 10;
spread = 8;
};
}
];
# switch-events = with config.lib.niri.actions; {

View file

@ -1,4 +1,4 @@
{ nix-config, inputs, pkgs, ... }:
{ nix-config, lib, inputs, pkgs, ... }:
{
home.packages = with pkgs; [
@ -94,7 +94,6 @@
fish = {
enable = true;
shellAliases = {
"ls" = "eza";
"em" = "emacsclient -n -r";
"mkdir" = "mkdir -pv";
};
@ -132,15 +131,17 @@
wezterm = {
enable = true;
package = inputs.wezterm.packages.${pkgs.system}.default;
# extraConfig = lib.readFile ./dotfiles/dot_config/wezterm/wezterm.lua;
};
bat = {
enable = true;
};
eza = {
enable = true;
git = true;
enableFishIntegration = true;
git = true;
icons = "auto";
colors = "auto";
# extraOptions = [ "--header" ];
};
fd = {
enable = true;

View file

@ -0,0 +1,6 @@
#!/usr/bin/env fish
function git-fake --description 'add file to repo without actually adding it (for nix flake needs)'
git add --intent-to-add $argv
git update-index --skip-worktree --assume-unchanged $argv
end

View file

@ -1,3 +1,3 @@
function lla --wraps='eza -la' --description 'alias lla eza -la'
eza -la $argv
function lla --wraps='ls' --description 'alias lla eza -la'
ls -la $argv
end

View file

@ -1,7 +1,3 @@
function ls --wraps=eza --description 'eza instead of ls'
if type --quiet eza
eza --git --header --icons $argv
else
command ls --color=auto $argv
end
eza --git --header --icons $argv
end