56 lines
1.3 KiB
Nix
Executable file
56 lines
1.3 KiB
Nix
Executable file
{ config, pkgs, ... }: {
|
|
home.file.".config/ghostty/config".text = ''
|
|
# Font Configuration
|
|
font-size = 12
|
|
|
|
# Window Configuration
|
|
window-decoration = false
|
|
window-padding-x = 12
|
|
window-padding-y = 12
|
|
background-opacity = 0.90
|
|
background-blur-radius = 32
|
|
|
|
# Cursor Configuration
|
|
cursor-style = block
|
|
cursor-style-blink = true
|
|
|
|
# Scrollback
|
|
scrollback-limit = 3023
|
|
|
|
# Terminal features
|
|
mouse-hide-while-typing = true
|
|
copy-on-select = false
|
|
confirm-close-surface = false
|
|
|
|
# Disable annoying copied to clipboard
|
|
app-notifications = no-clipboard-copy,no-config-reload
|
|
|
|
# Key bindings
|
|
keybind = ctrl+shift+n=new_window
|
|
keybind = ctrl+t=new_tab
|
|
keybind = ctrl+plus=increase_font_size:1
|
|
keybind = ctrl+minus=decrease_font_size:1
|
|
keybind = ctrl+zero=reset_font_size
|
|
|
|
# Material 3 UI elements
|
|
unfocused-split-opacity = 0.7
|
|
unfocused-split-fill = #44464f
|
|
|
|
# Tab configuration
|
|
gtk-titlebar = false
|
|
|
|
# Shell integration
|
|
shell-integration = detect
|
|
shell-integration-features = cursor,sudo,title,no-cursor
|
|
keybind = shift+enter=text:\n
|
|
|
|
# Rando stuff
|
|
gtk-single-instance = true
|
|
|
|
# Dank color generation
|
|
config-file = ./themes/dankcolors
|
|
'';
|
|
home.packages = with pkgs; [
|
|
ghostty
|
|
];
|
|
}
|