aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/terminal/kitty
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-10-12 01:23:54 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-10-12 01:23:54 +0530
commit15f26a50e9df70a2c8ef4bcc8550d0e4121ba6f4 (patch)
tree21cedb4ec44542520dd5847772a20342ac82977d /modules/desktop/terminal/kitty
parent35563f4b7c2e9a5ff8c58af6b0352ff1d88e7c02 (diff)
downloadhome-manager-config-15f26a50e9df70a2c8ef4bcc8550d0e4121ba6f4.tar.gz
home-manager-config-15f26a50e9df70a2c8ef4bcc8550d0e4121ba6f4.zip
Using desktop background.
Using window transparency with picom. Using alacritty because kitty is having problems with colors when picom is running.
Diffstat (limited to 'modules/desktop/terminal/kitty')
-rw-r--r--modules/desktop/terminal/kitty/default.nix52
1 files changed, 0 insertions, 52 deletions
diff --git a/modules/desktop/terminal/kitty/default.nix b/modules/desktop/terminal/kitty/default.nix
deleted file mode 100644
index a34e58a..0000000
--- a/modules/desktop/terminal/kitty/default.nix
+++ /dev/null
@@ -1,52 +0,0 @@
-{ pkgs, config, lib, ... }:
-
-{
- options.desktop.terminal.kitty = {
- enable = lib.mkEnableOption "Enables kitty.";
- };
-
- config = lib.mkIf config.desktop.terminal.kitty.enable {
- assertions = [
- {
- assertion = config.desktop.xdg-portal.enable;
- message ="Module desktop.terminal.kitty requires desktop.xdg-portal module to be enabled.";
- }
- ];
- programs.kitty.enable = true;
- desktop.terminal.default = lib.mkDefault "kitty";
- desktop.terminal.command =
- if config.desktop.terminal.default == "kitty" then
- lib.mkForce "${pkgs.kitty}/bin/kitty"
- else "";
-
- programs.kitty.settings = with config.scheme.withHashtag; {
- window_padding_width = config.desktop.window-manager.gap;
- font_size = config.fonts.size;
- font_family = config.fonts.normal;
- filter_notification = "all";
- update_check_interval = 0; # disable notifications
- scrollback_indicator_opacity = "0.5";
-
- dynamic_background_opacity = false;
- allow_remote_control = false;
- enable_audio_bell = false;
-
- background = base00;
- foreground = base05;
-
- color0 = base00; # Black
- color1 = base08; # Red
- color2 = base0B; # Green
- color3 = base0A; # Yellow
- color4 = base0D; # Blue
- color5 = base0E; # Magenta
- color6 = base0C; # Cyan
- color7 = base05; # White
-
- selection_background = base03;
- selection_foreground = base00;
-
- shell = config.shell.command;
- };
- };
-}