diff --git a/modules/home/workstation/hyprland/settings/misc.nix b/modules/home/workstation/hyprland/settings/misc.nix index 064daf4..eb4cde6 100644 --- a/modules/home/workstation/hyprland/settings/misc.nix +++ b/modules/home/workstation/hyprland/settings/misc.nix @@ -8,7 +8,7 @@ enable_swallow = true; # TODO: use terminal/file-explorer module - swallow_regex = "foot|nemo"; + swallow_regex = "foot|nemo|com.mitchellh.ghostty"; focus_on_activate = true; }; diff --git a/modules/home/workstation/terminal/ghostty.nix b/modules/home/workstation/terminal/ghostty.nix index ffc0f2c..c685210 100644 --- a/modules/home/workstation/terminal/ghostty.nix +++ b/modules/home/workstation/terminal/ghostty.nix @@ -28,9 +28,6 @@ in { # font config font-size = monospace.size; font-family = monospace.family; - font-family-bold = "${monospace.family} Bold"; - font-family-italic = "${monospace.family} Italic"; - font-family-bold-italic = "${monospace.family} Bold Italic"; # padding window-padding-x = 9; @@ -46,6 +43,14 @@ in { # disable close terminal prompt confirm-close-surface = false; + + keybind = [ + "ctrl+equal=increase_font_size:1" + "ctrl+minus=decrease_font_size:1" + "ctrl+zero=reset_font_size" + "ctrl+shift+v=paste_from_clipboard" + "ctrl+shift+c=copy_to_clipboard" + ]; }; themes.hozen = { background = "${color.base00}";