refactoring and minor updates
This commit is contained in:
parent
83f072dac2
commit
14ff6a7a25
7 changed files with 43 additions and 27 deletions
|
@ -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; {
|
||||
|
|
|
@ -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;
|
||||
|
|
6
modules/home/shell-conf/fish/functions/git-fake.fish
Normal file
6
modules/home/shell-conf/fish/functions/git-fake.fish
Normal 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
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue