.. _quake: Make a Quake like quick access terminal ==================================================================================================== .. highlight:: sh .. only:: man Overview -------------- .. only:: not man .. sidebar:: **Screenshots** .. figure:: ../screenshots/quake-macos.webp :alt: Screenshot, showing the kitty floating quick access terminal above the background which is the program ``btop``, running inside kitty, on macOS :align: center :width: 100% macOS .. figure:: ../screenshots/quake-hypr.webp :alt: Screenshot, showing the kitty floating quick access terminal above the background which is the program ``btop``, running inside kitty, on Hyprland in Linux :align: center :width: 100% Linux How the screenshots were generated is :ref:`described in the panel kitten docs `. .. versionadded:: 0.42.0 Works on macOS and Wayland, except for GNOME. This kitten can be used to make a quick access terminal, that appears and disappears at a key press. To do so use the following command: .. code-block:: sh kitten quick-access-terminal Run this command in a terminal, and a quick access kitty window will show up at the top of your screen. Run it again, and the window will be hidden. To make the terminal appear and disappear at a key press: .. |macOs| replace:: :guilabel:`System Preferences->Keyboard->Keyboard Shortcuts->Services->General` .. only:: not man .. tab:: Linux Simply bind the above command to some key press in your window manager or desktop environment settings and then you have a quick access terminal at a single key press. .. tab:: macOS In kitty, run the above command to show the quick access window, then close it by running the command again or pressing :kbd:`ctrl+d`. Now go to |macOS| and set a shortcut for the :guilabel:`Quick access to kitty` entry. .. only:: man In Linux, simply assign the above command to a global shortcut in your window manager. In macOS, go to |macOS| and set a shortcut for the :guilabel:`Quick access to kitty` entry. Configuration ------------------------ You can configure the appearance and behavior of the quick access window by creating a :file:`quick-access-terminal.conf` file in your :ref:`kitty config folder `. In particular, you can use the :opt:`kitty_conf ` option to change various kitty settings, just for the quick access window. .. note:: This kitten uses the :doc:`panel kitten ` under the hood. You can use the :ref:`techniques described there ` for remote controlling the quick access window, remember to add ``kitty_override allow_remote_control=socket-only`` and ``kitty_override listen_on=unix:/tmp/whatever`` to :file:`quick-access-terminal.conf`. See below for the supported configuration directives: .. include:: /generated/conf-kitten-quick_access_terminal.rst .. include:: /generated/cli-kitten-quick_access_terminal.rst Sample quick-access-terminal.conf --------------------------------------- You can download a sample :file:`quick-access-terminal.conf` file with all default settings and comments describing each setting by clicking: :download:`sample quick-access-terminal.conf `.