From b3519b2cd23155d5d41db8367c45f1ef9efa08fc Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 18 Nov 2018 02:21:41 -0500 Subject: [PATCH] kitty: Add default window size Since kitty would automatically assume a fullscreen or half screen size as the default, it's much easier to simply specify the size all floating windows should start out as. Since kitty allows specifying the size in cells instead of pixels, it is easy to achieve the same "actual" terminal size regardless of which DPI is being used. --- kitty/.config/kitty/kitty.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kitty/.config/kitty/kitty.conf b/kitty/.config/kitty/kitty.conf index 814ceac3..2985d3a8 100644 --- a/kitty/.config/kitty/kitty.conf +++ b/kitty/.config/kitty/kitty.conf @@ -26,6 +26,11 @@ dynamic_background_opacity yes # Allow remote control so the above command can be executed allow_remote_control yes +# Use a consistent window size for floating windows +remember_window_size no +initial_window_width 100c +initial_window_height 30c + # Don't limit frames per second to the monitor's refresh rate sync_to_monitor no