Skip to content

Commit

Permalink
feat(apps): switch to kitty terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
zakuciael committed Oct 13, 2024
1 parent 6d3fc7e commit 06edf9c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
19 changes: 19 additions & 0 deletions modules/desktop/apps/kitty.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{username, ...}: {
home-manager.users.${username} = {
programs = {
kitty = {
enable = true;
catppuccin.enable = true;
font = {
name = "JetBrains Mono";
size = 11;
};
settings = {
update_check_interval = 0;
scrollback_lines = 100000;
confirm_os_window_close = 0;
};
};
};
};
}
4 changes: 3 additions & 1 deletion modules/desktop/wm/hyprland.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
with lib;
with lib.my; let
scriptPackages = scripts.mkScriptPackages config;
hmConfig = config.home-manager.users.${username};
in
desktop.mkDesktopModule {
inherit config;
Expand All @@ -17,6 +18,7 @@ in
autostartPath = ".config/hypr/autostart.sh";
desktopApps = [
"alacritty"
"kitty"
"_1password"
"rofi"
"nh"
Expand Down Expand Up @@ -147,7 +149,7 @@ in
# Keybinds
"$mod" = "SUPER";
bind = [
"$mod, return, exec, alacritty"
"$mod, return, exec, ${getExe hmConfig.programs.kitty.package}"
"$mod, W, killactive,"
"$mod, F, togglefloating,"
"$mod, M, fullscreen, 1"
Expand Down

0 comments on commit 06edf9c

Please sign in to comment.