mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 02:08:29 +02:00
fix: foot & neovim
This commit is contained in:
@@ -263,7 +263,6 @@ return {
|
|||||||
"gitignore",
|
"gitignore",
|
||||||
"gitcommit",
|
"gitcommit",
|
||||||
"latex",
|
"latex",
|
||||||
"pip_requirements",
|
|
||||||
"sql",
|
"sql",
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|||||||
@@ -5,13 +5,21 @@
|
|||||||
}: {
|
}: {
|
||||||
# refer to https://codeberg.org/dnkl/foot/src/branch/master/foot.ini
|
# refer to https://codeberg.org/dnkl/foot/src/branch/master/foot.ini
|
||||||
xdg.configFile."foot/foot.ini".text =
|
xdg.configFile."foot/foot.ini".text =
|
||||||
(builtins.readFile "${nur-ryan4yin.packages.${pkgs.system}.catppuccin-foot}/catppuccin-mocha.conf")
|
''
|
||||||
+ ''
|
[main]
|
||||||
term=foot
|
|
||||||
font=JetBrainsMono Nerd Font:size=13
|
|
||||||
dpi-aware=yes
|
dpi-aware=yes
|
||||||
|
font=JetBrainsMono Nerd Font:size=13
|
||||||
shell=${pkgs.bash}/bin/bash --login -c 'nu --login --interactive'
|
shell=${pkgs.bash}/bin/bash --login -c 'nu --login --interactive'
|
||||||
'';
|
term=foot
|
||||||
|
initial-window-size-pixels=3840x2160
|
||||||
|
initial-window-mode=windowed
|
||||||
|
pad=0x0 # optionally append 'center'
|
||||||
|
resize-delay-ms=10
|
||||||
|
|
||||||
|
[mouse]
|
||||||
|
hide-when-typing=yes
|
||||||
|
''
|
||||||
|
+ (builtins.readFile "${nur-ryan4yin.packages.${pkgs.system}.catppuccin-foot}/catppuccin-mocha.conf");
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
# a wayland only terminal emulator
|
# a wayland only terminal emulator
|
||||||
@@ -24,7 +32,7 @@
|
|||||||
# Advantages to run foot in server mode including reduced memory footprint and startup time.
|
# Advantages to run foot in server mode including reduced memory footprint and startup time.
|
||||||
# The downside is a performance penalty. If one window is very busy with, for example, producing output,
|
# The downside is a performance penalty. If one window is very busy with, for example, producing output,
|
||||||
# then other windows will suffer. Also, should the server process crash, all windows will be gone.
|
# then other windows will suffer. Also, should the server process crash, all windows will be gone.
|
||||||
server.enable = false;
|
server.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# source code: https://github.com/nix-community/home-manager/blob/master/modules/programs/chromium.nix
|
# source code: https://github.com/nix-community/home-manager/blob/master/modules/programs/chromium.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user