This commit is contained in:
2026-06-20 01:22:29 +09:00
parent dcd8625e03
commit 2871f3bb3b
5 changed files with 305 additions and 39 deletions
+9
View File
@@ -27,5 +27,14 @@ keybind = ctrl+shift+semicolon=increase_font_size:1
keybind = ctrl+shift+minus=increase_font_size:1
# quick terminal
keybind = global:super+space=toggle_quick_terminal
quick-terminal-position = top
quick-terminal-size = 100%
gtk-quick-terminal-layer = overlay
quick-terminal-keyboard-interactivity = exclusive
quick-terminal-autohide = false
quit-after-last-window-closed = false
shell-integration-features = ssh-terminfo,ssh-env
+63 -11
View File
@@ -12,18 +12,70 @@ in
};
config.home-manager.sharedModules = [
{
config = lib.mkIf cfg.enable {
home.file.".config/ghostty/config" = {
recursive = true;
source = ./config;
};
(
{ lib, ... }:
{
config = lib.mkIf cfg.enable {
programs.ghostty = {
enable = true;
home.file.".config/ghostty/themes/dracula" = {
recursive = true;
source = ./dracula.theme;
systemd.enable = true;
settings = {
theme = "dracula";
background-blur-radius = 20;
background-opacity = 0.9;
font-family = "BlexMono Nerd Font Mono";
mouse-hide-while-typing = true;
window-decoration = "auto";
keybind = [
# Copy/Paste
"performable:ctrl+shift+c=copy_to_clipboard"
"ctrl+shift+v=paste_from_clipboard"
# Create new tab
"ctrl+shift+t=new_tab"
# Move tabs
"ctrl+alt+left_bracket=previous_tab"
"ctrl+alt+right_bracket=next_tab"
# Close window
"ctrl+alt+q=close_window"
# Font size
"ctrl+shift+semicolon=increase_font_size:1"
"ctrl+shift+minus=decrease_font_size:1"
# Quick terminal
"global:super+space=toggle_quick_terminal"
];
# Quick terminal
quick-terminal-position = "top";
quick-terminal-size = "100%";
gtk-quick-terminal-layer = "overlay";
quick-terminal-keyboard-interactivity = "exclusive";
quick-terminal-autohide = false;
quit-after-last-window-closed = false;
shell-integration-features = "ssh-terminfo,ssh-env";
};
};
xdg.configFile."ghostty/themes/dracula".source = ./dracula.theme;
};
};
}
}
)
];
}
-7
View File
@@ -69,13 +69,6 @@ in
];
hotkey-overlay.title = "Run an Application: vicinae";
};
"Mod+Space" = {
action.spawn = [
"vicinae"
"toggle"
];
hotkey-overlay.title = "Run an Application: vicinae";
};
"Mod+E" = {
action.spawn = [
"nautilus"