add ghostty terminal & fix gtk cursor

This commit is contained in:
DACHXY 2024-12-28 13:51:21 +08:00
parent 155d78a407
commit f799d7eca2
14 changed files with 206 additions and 28 deletions

View file

@ -39,5 +39,9 @@ in
source = "${configDir}/fcitx5";
};
".config/electron-flags.conf".source = "${configDir}/electron/electron-flags.conf";
".config/ghostty" = {
recursive = true;
source = "${configDir}/ghostty";
};
};
}

View file

@ -16,7 +16,8 @@
WLR_NO_HARDWARE_CURSORS = "1";
CLUTTER_BACKEND = "wayland";
WLR_RENDERER = "vulkan";
XCURSOR_SIZE = "32";
XCURSOR_THEME = "catppuccin-macchiato-lavender-cursors";
XCURSOR_SIZE = "24";
XDG_CURRENT_DESKTOP = "Hyprland";
XDG_SESSION_DESKTOP = "Hyprland";
XDG_SESSION_TYPE = "wayland";

View file

@ -4,7 +4,7 @@
enable = true;
cursorTheme = {
name = "Catppuccin-Macchiato-Lavender";
name = "catppuccin-macchiato-lavender-cursors";
package = pkgs.catppuccin-cursors.macchiatoLavender;
};

View file

@ -1,4 +1,4 @@
{ pkgs, inputs, ... }: {
{ pkgs, ... }: {
programs = {
neovim = {
enable = true;
@ -13,6 +13,14 @@
package = pkgs.vscode.fhs;
};
obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
obs-backgroundremoval
obs-pipewire-audio-capture
];
};
firefox.profiles.danny.settings = {
# about:config
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;

View file

@ -18,7 +18,6 @@ in
# envFile.source = ../config/nushell/env.nu;
# };
fish = {
enable = true;
interactiveShellInit = ''
@ -30,6 +29,16 @@ in
shellAliases = shellAlias;
};
bash = {
enable = true;
# Ghostty intergration in nix-shell
bashrcExtra = ''
if [ -n "''${GHOSTTY_RESOURCES_DIR}" ]; then
builtin source "''${GHOSTTY_RESOURCES_DIR}/shell-integration/bash/ghostty.bash"
fi
'';
};
carapace = {
enable = true;
enableFishIntegration = true;