add kitty home manager config
This commit is contained in:
@@ -206,14 +206,6 @@ in
|
|||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.pipewire.extraConfig.pipewire."92-clock-quantum" = {
|
|
||||||
"context.properties" = {
|
|
||||||
"default.clock.quantum" = 2048;
|
|
||||||
"default.clock.min-quantum" = 256;
|
|
||||||
"default.clock.max-quantum" = 4096;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
security.pam.loginLimits = [
|
security.pam.loginLimits = [
|
||||||
{
|
{
|
||||||
domain = "@users";
|
domain = "@users";
|
||||||
|
|||||||
@@ -9,6 +9,8 @@
|
|||||||
./mpd.nix
|
./mpd.nix
|
||||||
./programs.nix
|
./programs.nix
|
||||||
../../../modules/shell.nix
|
../../../modules/shell.nix
|
||||||
|
../../../modules/programs/qutebrowser.nix
|
||||||
|
../../../modules/programs/kitty.nix
|
||||||
zen-browser.homeModules.beta
|
zen-browser.homeModules.beta
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -66,37 +68,10 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.qutebrowser = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
colors.webpage.preferred_color_scheme = "dark";
|
|
||||||
auto_save.session = true;
|
|
||||||
scrolling.smooth = true;
|
|
||||||
content.autoplay = false;
|
|
||||||
content.blocking.method = "both";
|
|
||||||
url.default_page = "https://priv.au";
|
|
||||||
};
|
|
||||||
extraConfig = ''
|
|
||||||
c.qt.args = ["disable-features=AcceleratedVideoDecodeLinuxGL"]
|
|
||||||
'';
|
|
||||||
keyBindings = {
|
|
||||||
normal = {
|
|
||||||
"M" = "hint links spawn mpv {hint-url}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
searchEngines = {
|
|
||||||
DEFAULT = "https://priv.au/search?q={}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home.sessionPath = [
|
home.sessionPath = [
|
||||||
"${config.home.homeDirectory}/.local/bin"
|
"${config.home.homeDirectory}/.local/bin"
|
||||||
];
|
];
|
||||||
|
|
||||||
home.sessionVariables = {
|
|
||||||
EDITOR = "nvim";
|
|
||||||
};
|
|
||||||
|
|
||||||
home.file.".local/share/Steam/steam.cfg".text = ''
|
home.file.".local/share/Steam/steam.cfg".text = ''
|
||||||
BootStrapperInhibitAll=enable
|
BootStrapperInhibitAll=enable
|
||||||
BootStrapperForceSelfUpdate=disable
|
BootStrapperForceSelfUpdate=disable
|
||||||
|
|||||||
@@ -69,7 +69,7 @@
|
|||||||
scrcpy
|
scrcpy
|
||||||
gocryptfs
|
gocryptfs
|
||||||
proton-vpn
|
proton-vpn
|
||||||
piper
|
unrar
|
||||||
];
|
];
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
|
|||||||
@@ -0,0 +1,67 @@
|
|||||||
|
{
|
||||||
|
programs.kitty = {
|
||||||
|
enable = true;
|
||||||
|
shellIntegration.enableFishIntegration = true;
|
||||||
|
shellIntegration.mode = "enabled";
|
||||||
|
settings = {
|
||||||
|
font_family = "CaskaydiaMono NF";
|
||||||
|
font_size = 11.5;
|
||||||
|
cursor = "#bbccdd";
|
||||||
|
scrollback_lines = 50000;
|
||||||
|
pixel_scroll = true;
|
||||||
|
cursor_trail = 20;
|
||||||
|
cursor_trail_start_threshold = 0;
|
||||||
|
cursor_trail_decay = "0.1 0.2";
|
||||||
|
mouse_hide_wait = 0.5;
|
||||||
|
enable_audio_bell = false;
|
||||||
|
disable_clipboard_control = false;
|
||||||
|
|
||||||
|
allow_remote_control = true;
|
||||||
|
listen_on = "unix:/tmp/kitty_pywal";
|
||||||
|
single_instance = true;
|
||||||
|
|
||||||
|
tab_bar_edge = "top";
|
||||||
|
tab_bar_margin_width = 0.0;
|
||||||
|
tab_bar_style = "powerline";
|
||||||
|
tab_powerline_style = "slanted";
|
||||||
|
|
||||||
|
tab_title_max_length = 12;
|
||||||
|
|
||||||
|
tab_title_template = ''" {index} {title} "'';
|
||||||
|
|
||||||
|
active_tab_font_style = "bold-italic";
|
||||||
|
inactive_tab_foreground = "#dedede";
|
||||||
|
inactive_tab_background = "#121212";
|
||||||
|
inactive_tab_font_style = "normal";
|
||||||
|
|
||||||
|
tab_bar_background = "#080808";
|
||||||
|
|
||||||
|
tab_bar_margin_color = "none";
|
||||||
|
foreground = "#dfdfdf";
|
||||||
|
background = "#000000";
|
||||||
|
|
||||||
|
background_opacity = 0;
|
||||||
|
|
||||||
|
selection_foreground = "#000000";
|
||||||
|
selection_background = "#aaeeff";
|
||||||
|
|
||||||
|
kitty_mod = "ctrl+shift";
|
||||||
|
};
|
||||||
|
|
||||||
|
keybindings = {
|
||||||
|
"ctrl+shift+enter" = "none";
|
||||||
|
"ctrl+shift+l" = "none";
|
||||||
|
"ctrl+shift+h" = "none";
|
||||||
|
"alt+1" = "goto_tab 1";
|
||||||
|
"alt+2" = "goto_tab 2";
|
||||||
|
"alt+3" = "goto_tab 3";
|
||||||
|
"alt+4" = "goto_tab 4";
|
||||||
|
"alt+5" = "goto_tab 5";
|
||||||
|
"alt+6" = "goto_tab 6";
|
||||||
|
"alt+7" = "goto_tab 7";
|
||||||
|
"alt+8" = "goto_tab 8";
|
||||||
|
"alt+9" = "goto_tab 9";
|
||||||
|
"alt+0" = "goto_tab 0";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
programs.qutebrowser = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
colors.webpage.preferred_color_scheme = "dark";
|
||||||
|
auto_save.session = true;
|
||||||
|
scrolling.smooth = true;
|
||||||
|
content.autoplay = false;
|
||||||
|
content.blocking.method = "both";
|
||||||
|
url.default_page = "https://priv.au";
|
||||||
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
c.qt.args = ["disable-features=AcceleratedVideoDecodeLinuxGL"]
|
||||||
|
'';
|
||||||
|
keyBindings = {
|
||||||
|
normal = {
|
||||||
|
"M" = "hint links spawn mpv {hint-url}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
searchEngines = {
|
||||||
|
DEFAULT = "https://priv.au/search?q={}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user