mirror of
https://github.com/youwen5/nixos.git
synced 2024-12-01 04:33:51 -08:00
35 lines
1.2 KiB
Nix
35 lines
1.2 KiB
Nix
{
|
|
programs.kitty = {
|
|
enable = true;
|
|
theme = "Tokyo Night";
|
|
font.name = "CaskaydiaCove Nerd Font";
|
|
settings = {
|
|
font_size = 12;
|
|
window_padding_width = "8 8 0";
|
|
confirm_os_window_close = -1;
|
|
shell_integration = "enabled";
|
|
enable_audio_bell = "no";
|
|
background_opacity = "0.8";
|
|
allow_remote_control = "socket-only";
|
|
listen_on = "unix:/tmp/kitty";
|
|
# action_alias = "kitty_scrollback_nvim kitten /home/youwen/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py";
|
|
scrollback_pager = ''nvim --noplugin -c "set signcolumn=no showtabline=0" -c "silent write! /tmp/kitty_scrollback_buffer | te cat /tmp/kitty_scrollback_buffer - "'';
|
|
};
|
|
keybindings = {
|
|
# "kitty_mod+h" = "kitty_scrollback_nvim";
|
|
# "kitty_mod+g" = "kitty_scrollback_nvim --config ksb_builtin_last_cmd_output";
|
|
"kitty_mod+h" = "show_scrollback";
|
|
};
|
|
};
|
|
|
|
programs.librewolf = {
|
|
enable = true;
|
|
settings = {
|
|
"webgl.disabled" = false;
|
|
"privacy.resistFingerprinting" = false;
|
|
"privacy.clearOnShutdown.history" = false;
|
|
"privacy.clearOnShutdown.cookies" = false;
|
|
"network.cookie.lifetimePolicy" = 0;
|
|
};
|
|
};
|
|
}
|