ghostty: add basic keybinds & add to swallow regex

This commit is contained in:
ooks-io 2025-01-22 20:16:07 +11:00
parent 0749f112b0
commit aa3af5f0e5
2 changed files with 9 additions and 4 deletions

View file

@ -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;
};

View file

@ -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}";