Compare commits

..

4 Commits

Author SHA1 Message Date
f3f00c14ad chore: update secrets 2025-12-14 10:43:32 +08:00
9ae37ea439 feat(fish): some changes 2025-12-14 10:43:17 +08:00
99103ff9d2 feat(niri): change column width 2025-12-14 10:42:58 +08:00
4c74679f85 build: add offline 2025-12-14 10:40:44 +08:00
4 changed files with 24 additions and 12 deletions

View File

@@ -8,6 +8,10 @@ switch-offline:
@echo "Rebuilding NixOS without net..."
@nh os switch . --no-net
offline:
@echo "Rebuilding NixOS without net..."
@nh os switch . --no-net
boot:
@echo "Rebuilding NixOS..."
@nh os boot .

View File

@@ -18,6 +18,10 @@ lib.my.makeSwitch {
".local/share/fish"
];
my.hm = {
xdg.configFile."fish/themes/tokyonight_storm.theme".source = builtins.fetchurl {
url = "https://raw.githubusercontent.com/folke/tokyonight.nvim/refs/tags/v4.14.1/extras/fish_themes/tokyonight_storm.theme";
sha256 = "02n1w5x65683c8mlwg1rav06iqm3xk90zq45qmygpm7pzyn8dqh1";
};
programs.fish = {
enable = true;
plugins = [
@@ -38,14 +42,9 @@ lib.my.makeSwitch {
nf = "fastfetch";
tmux = "tmux -T RGB,focus,overline,mouse,clipboard,usstyle";
};
interactiveShellInit = ''
interactiveShellInit = lib.mkBefore ''
fish_vi_key_bindings
source ${
builtins.fetchurl {
url = "https://raw.githubusercontent.com/folke/tokyonight.nvim/refs/tags/v4.14.1/extras/fish/tokyonight_storm.fish";
sha256 = "0a2pg78k8cv0hx8p02lxnb7giblwn7z9hnb6i6mdx4w5lg4wfg40";
}
}
fish_config theme choose tokyonight_storm
'';
functions = {
fish_greeting = "";
@@ -88,6 +87,14 @@ lib.my.makeSwitch {
bind -s p 'set -g fish_cursor_end_mode exclusive' forward-char 'set -g fish_cursor_end_mode inclusive' fish_clipboard_paste
bind -s P fish_clipboard_paste
'';
nix-closure-size = {
body = ''
nix path-info --recursive --size --closure-size \
--human-readable $(readlink -f $(which $program))
'';
argumentNames = [ "program" ];
};
};
};
};

View File

@@ -18,7 +18,7 @@
layout = {
gaps = 23;
center-focused-column = "never";
center-focused-column = "on-overflow";
always-center-single-column = true;
focus-ring.enable = false;
border = {
@@ -43,8 +43,9 @@
{ proportion = 0.5; }
{ proportion = 0.6; }
{ proportion = 0.66667; }
{ proportion = 0.8; }
];
default-column-width.proportion = 1.0;
default-column-width.proportion = 0.8;
background-color = "transparent";
};

File diff suppressed because one or more lines are too long