ghostty: add basic keybinds & add to swallow regex
This commit is contained in:
parent
0749f112b0
commit
aa3af5f0e5
2 changed files with 9 additions and 4 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
enable_swallow = true;
|
enable_swallow = true;
|
||||||
|
|
||||||
# TODO: use terminal/file-explorer module
|
# TODO: use terminal/file-explorer module
|
||||||
swallow_regex = "foot|nemo";
|
swallow_regex = "foot|nemo|com.mitchellh.ghostty";
|
||||||
|
|
||||||
focus_on_activate = true;
|
focus_on_activate = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -28,9 +28,6 @@ in {
|
||||||
# font config
|
# font config
|
||||||
font-size = monospace.size;
|
font-size = monospace.size;
|
||||||
font-family = monospace.family;
|
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
|
# padding
|
||||||
window-padding-x = 9;
|
window-padding-x = 9;
|
||||||
|
|
@ -46,6 +43,14 @@ in {
|
||||||
|
|
||||||
# disable close terminal prompt
|
# disable close terminal prompt
|
||||||
confirm-close-surface = false;
|
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 = {
|
themes.hozen = {
|
||||||
background = "${color.base00}";
|
background = "${color.base00}";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue