Mitchell Hashimoto
0ac29783b9
config: fix regression for recursive config-files from 5ff0841ee65
2024-09-17 16:51:32 -07:00
Gregory Anders
21e40e9842
config: interpret leading ? in config-file as an optional file
...
For example, `config-file = ?config.foo` will not report an error if
`config.foo` does not exist.
2024-09-15 09:47:44 -05:00
Mitchell Hashimoto
a9217bd9da
config: "-e" implies quit after last window closed
...
Fixes #2220
2024-09-13 20:57:54 -07:00
Mitchell Hashimoto
841e12a1eb
config: make window-padding-color default to "background"
...
Unfortunately this is a failed experiment. The idea works in many
scenarios, but there are too many valid cases where it confuses people
or results in a very subjective experience. I'm going to revert this
back to "background" to act like other terminals, but the feature
remains available through config.
2024-09-13 20:51:15 -07:00
Mitchell Hashimoto
9548ae532d
Merge pull request #2228 from Pangoraw/window-theme
...
apprt/gtk: add option to color header bars with theme colors
2024-09-13 10:09:44 -07:00
Mitchell Hashimoto
ddb3700609
config: copy
2024-09-13 10:08:48 -07:00
Paul Berg
d7f6f9999f
config: remove note that window-new-tab-position is gtk only
2024-09-13 11:38:39 +02:00
Paul
ac985937cd
apprt/gtk: add theme variant in window-theme
...
this colours the header bar with the config colour.
2024-09-13 10:06:42 +02:00
Mitchell Hashimoto
ff2ec11f8c
config: update docs, caps
2024-09-11 12:06:40 -07:00
Paul
fa81445701
adw: add option to choose toolbar style
2024-09-11 12:04:12 -07:00
Mitchell Hashimoto
050602a117
Merge pull request #2051 from Pangoraw/adw_tab_view
...
gtk: use Adwaita TabView when possible
2024-09-11 10:52:19 -07:00
Paul Berg
7aa6b0008a
adw: add support for gtk-tabs-location = bottom
...
this falls back to top when using either right or left.
2024-09-11 17:23:56 +02:00
Mitchell Hashimoto
359272a5f5
macos: start Sparkle after loading config
2024-09-10 21:54:40 -07:00
hanna
fd9d38481b
refactor: attempted autoupdate configuration
2024-09-10 21:40:17 -07:00
Jeffrey C. Ollie
d907cebae9
feat: basic +crash-report cli action
...
Only lists crash reports right now. Viewing and/or submitting crash
reports to come later.
2024-09-10 20:43:00 -07:00
Mitchell Hashimoto
339a83c89d
config: note that emoji font requires explicit override
...
Fixes #2072
2024-09-03 15:32:44 -07:00
Justin Su
f8f289e8b9
config: document left/right values for macos-option-as-alt
2024-08-27 20:36:29 -04:00
Mitchell Hashimoto
bdcc21942d
config: font-synthetic-style to enable/disable synthetic styles
...
This adds a new configuration "font-synthetic-style" to enable or
disable synthetic styles. This is different from "font-style-*" which
specifies a named style or disables a style completely.
Instead, "font-synthetic-style" will disable only the creation of
synthetic styles in the case a font does not support a given style.
This is useful for users who want to obviously know when a font doesn't
support a given style or a user who wants to explicitly only use the
styles that were designed by the font designer.
The default value is to enable all synthetic styles.
2024-08-26 20:52:34 -07:00
Mitchell Hashimoto
80327402b8
Merge pull request #2120 from edmz/last_tab
...
macos: jump to last_tab
2024-08-26 20:22:52 -07:00
Mitchell Hashimoto
02c6fb5a8c
config: remove the super+0 binding for last_tab
2024-08-26 19:59:20 -07:00
Mitchell Hashimoto
b40b6c3438
config: clarify window-width/height behavior
2024-08-26 10:16:39 -07:00
Mitchell Hashimoto
d22551cd31
font/coretext: support synthetic bold
2024-08-23 20:53:22 -07:00
Mitchell Hashimoto
db36a596fb
typos
2024-08-23 20:00:43 -07:00
Mitchell Hashimoto
e49c4707a1
config: note that styles that aren't found will use regular
2024-08-23 10:29:19 -07:00
Tim Culverhouse
9b036b1763
cli(list-keybinds): format key sequences
...
Implement formatting of key sequences in the list-keybinds command when
*not* pretty printing. Pretty printing will come in a separate commit.
The print style for that needs some thought, but in the meantime this
removes the panic cause by redirecting output of the command.
2024-08-20 09:48:05 -05:00
Mitchell Hashimoto
bec5772d77
config: warn the hazards of '>' for sequences
2024-08-19 12:56:51 -07:00
Eduardo Dominguez
262902a28d
macos: jump to last_tab
2024-08-19 12:19:00 -06:00
Mitchell Hashimoto
6d2cbb0703
config: write the docs now for sequences
2024-08-18 20:30:33 -07:00
Mitchell Hashimoto
43176c750e
config: support equality checking keybinds with sequences
2024-08-18 20:30:32 -07:00
Mitchell Hashimoto
9944f5d34d
input: Binding.Set.clone handles leaders
2024-08-18 20:30:32 -07:00
Mitchell Hashimoto
7dfad49e40
input: converting set entries to Entry from Action
2024-08-18 20:30:32 -07:00
Mitchell Hashimoto
bc4eab4af7
input: add Set.parseAndPut
2024-08-18 20:30:32 -07:00
Mitchell Hashimoto
c7e0173158
config: remove unused types and function
2024-08-18 19:20:42 -07:00
Jeffrey C. Ollie
7de692c955
themes: don't use arena directly and cleanup debug code
2024-08-18 19:20:42 -07:00
Jeffrey C. Ollie
50c31ba173
themes: fix comment
2024-08-18 19:20:42 -07:00
Jeffrey C. Ollie
8c4cfc3bbb
themes: finish refactor
2024-08-18 19:20:42 -07:00
Mitchell Hashimoto
d3182c8d7c
config: move theme loading to dedicated file
2024-08-18 19:20:42 -07:00
Jeffrey C. Ollie
7a11b22c5f
themes: allow loading from absolute paths and from user config dir
2024-08-18 19:20:42 -07:00
Mitchell Hashimoto
37d19b3cef
Merge pull request #2109 from edmz/block_hollow
...
Config: cursor-style can bet set to block_hollow
2024-08-18 15:08:08 -07:00
Mitchell Hashimoto
b65a804bb2
almost yeeted it all!
2024-08-16 14:42:32 -07:00
Eduardo Dominguez
2e70ad20df
Config: cursor-style can bet set to block_hollow
...
`cursor-style` can now also be set to `block_hollow`, no other changes
in behaviour are added.
2024-08-16 15:25:44 -06:00
Gregory Anders
59f259d7e4
config: fix typo
...
Disabling vsync reduces input latency, so this should say "minimize"
rather than "maximize".
2024-08-12 09:24:03 -05:00
Christian Kugler
ba41f142ed
Add Config Option to Limit Number of Processes
...
To protect your system and ghostty from misbehaving programs that launch
too many processes for the system to handle (e.g. like a fork bomb),
this implements an option to limit the number of processes that can be
started in a surface.
A fork bomb for example or other misbehaving program would then only
take down one surface and not the entire system.
Side node:
If I am right in issue #2084 , this feature does not actually work on a
per surface basis but on all surfaces. If this is the case, it could
probably be fixed together. Chances are, that I am wrong though 😉
Further improvements that could be done:
- unify way to set cgroup attributes
- set sane default: 10% of system max?
2024-08-11 23:37:57 +02:00
Jeffrey C. Ollie
f4bdf8d3a1
gtk: resize overlay improvements
...
* runtime changing of `resize-overlay` now works on GTK
* shorten function names in ResizeOverlay
* improve documentation
2024-08-11 12:23:43 -05:00
Mitchell Hashimoto
9cf247bb3e
macos: implement resize overlay
...
Implements the resize overlay configurations completely.
2024-08-10 20:17:33 -07:00
Mitchell Hashimoto
451cf69398
Merge pull request #2071 from jcollie/resize-overlay
...
gtk: add resize overlay
2024-08-10 15:07:09 -07:00
Mitchell Hashimoto
1ef3c79ba8
config: quit-after-last-window-closed should be true on Linux
...
This was the behavior on GTK prior to #2021 and I think it makes sense
as a default there.
2024-08-10 14:38:20 -07:00
Jeffrey C. Ollie
8b919df1f5
resize-overlay: change default and delay → duration
...
Change the default to `after-first` and change `resize-overlay-delay` →
`resize-overlay-duration`.
2024-08-10 13:22:20 -05:00
Mitchell Hashimoto
9db89dbf2c
config: make window-padding-color=extend default again
2024-08-10 10:41:36 -07:00
Mitchell Hashimoto
9f06e74353
config: add window-padding-color=extend-always to force always
2024-08-10 10:34:12 -07:00