feat: ghostty

This commit is contained in:
js0ny 2025-10-26 21:43:01 +00:00
parent c63e644ac9
commit 587224ef2d
4 changed files with 63 additions and 13 deletions

View file

@ -0,0 +1,46 @@
# Linux: ~/.config/ghostty/config
# Not ready
### Appearance
font-size = 13
# font-family = "Maple Mono NF"
theme = light:Catppuccin Latte,dark:Catppuccin Mocha
background-opacity = 0.8
cursor-style = block_hollow
cursor-style-blink = true
cursor-click-to-move = true
cursor-invert-fg-bg = true
window-decoration = auto
# title = "👻"
### Commands
command = fish
env = EDITOR=nvim
### Keybindings
keybind = performable:ctrl+c=copy_to_clipboard
keybind = alt+shift+h=goto_split:left
keybind = alt+shift+j=goto_split:bottom
keybind = alt+shift+k=goto_split:top
keybind = alt+shift+l=goto_split:right
keybind = alt+shift+|=new_split:right
keybind = alt+shift+_=new_split:down
keybind = alt+shift+enter=new_split:auto
keybind = global:super+backquote=toggle_quick_terminal
keybind = alt+shift+n=new_window
### Misc
app-notifications = no-clipboard-copy
### Reference to:
# https://github.com/folke/dot/blob/master/config/ghostty/config
# https://github.com/hackr-sh/ghostty-shaders

View file

@ -63,20 +63,22 @@ map ctrl+q>| kitten window.py +split right
map ctrl+q>\ kitten window.py +split right
map ctrl+q>- kitten window.py +split bottom
map ctrl+q>h kitten window.py -jump left
map ctrl+q>n kitten window.py -jump bottom
map ctrl+q>e kitten window.py -jump top
map ctrl+q>i kitten window.py -jump right
map ctrl+q>j kitten window.py -jump bottom
map ctrl+q>k kitten window.py -jump top
map ctrl+q>l kitten window.py -jump right
map alt+shift+h kitten window.py -jump left
map alt+shift+n kitten window.py -jump bottom
map alt+shift+e kitten window.py -jump top
map alt+shift+i kitten window.py -jump right
map alt+shift+j kitten window.py -jump bottom
map alt+shift+k kitten window.py -jump top
map alt+shift+l kitten window.py -jump right
map ctrl+q>shift+H kitten window.py -resize left
map ctrl+q>shift+N kitten window.py -resize bottom
map ctrl+q>shift+E kitten window.py -resize top
map ctrl+q>shift+I kitten window.py -resize right
map ctrl+q>shift+J kitten window.py -resize bottom
map ctrl+q>shift+K kitten window.py -resize top
map ctrl+q>shift+L kitten window.py -resize right
map cmd+enter toggle_layout stack
map ctrl+shift+enter toggle_layout stack
# }}}
map f1 launch --type tab --cwd ~/.dotfiles nvim
shell fish

View file

@ -3,6 +3,7 @@
verilator # Formatter
iverilog # Simulator: Icarus Verilog
gtkwave # Waveform Viewer
picocom
];
programs.zed-editor.extensions = ["verilog"];

View file

@ -1,6 +1,6 @@
{pkgs, ...}: {
home.packages = with pkgs; [
kdePackages.yakuake
# kdePackages.yakuake
krunner-vscodeprojects
jetbrains-runner
];
@ -34,9 +34,10 @@
};
};
shortcuts = {
yakuake = {
"toggle-window-state" = "Meta+`";
};
# Use Ghostty Instead
# yakuake = {
# "toggle-window-state" = "Meta+`";
# };
};
input.touchpads = [
{