Compare commits
4 Commits
90b85963cd
...
f3f00c14ad
| Author | SHA1 | Date | |
|---|---|---|---|
|
f3f00c14ad
|
|||
|
9ae37ea439
|
|||
|
99103ff9d2
|
|||
|
4c74679f85
|
4
Makefile
4
Makefile
@@ -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 .
|
||||
|
||||
@@ -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" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user