ghostty: configure and bind

This commit is contained in:
s0wlz (Matthias Puchstein)
2025-12-31 08:10:45 +01:00
parent 0b8e001bde
commit 389164a582
4 changed files with 24 additions and 4 deletions

View File

@@ -14,6 +14,7 @@ This is a chezmoi dotfiles source tree. Key paths:
- `dot_local/share/docs/external_hyprland.wiki` (sparse checkout `content`) renders to `~/.local/share/docs/hyprland.wiki`.
- `dot_local/share/docs/external_waybar.wiki` renders to `~/.local/share/docs/waybar.wiki`.
- Waybar manual pages are not stored in the repo; use `man 5 waybar` and `man 5 waybar-<module>` for module docs.
- Ghostty docs are available locally at `/usr/share/ghostty`.
## Chezmoi Config (chezmoi.toml)
- Source of truth: `~/.config/chezmoi/chezmoi.toml` (not tracked here).

View File

@@ -32,6 +32,7 @@ The directory structure follows standard `chezmoi` conventions:
* **Hyprland wiki:** `dot_local/share/docs/external_hyprland.wiki` (sparse checkout `content`) renders to `~/.local/share/docs/hyprland.wiki`.
* **Waybar wiki:** `dot_local/share/docs/external_waybar.wiki` renders to `~/.local/share/docs/waybar.wiki`.
* **Waybar man pages:** Not stored in the repo; use `man 5 waybar` and `man 5 waybar-<module>`.
* **Ghostty docs:** Available locally at `/usr/share/ghostty`.
## Usage

View File

@@ -1 +1,19 @@
theme = "{{ .chezmoi.config.data.theme }}"
font-family = "GeistMono Nerd Font"
font-size = 8
background-opacity = 0.7
background-opacity-cells = false
window-padding-x = 0
window-padding-y = 0
window-padding-balance = true
window-decoration = auto
window-inherit-working-directory = true
window-inherit-font-size = true
mouse-hide-while-typing = true
cursor-click-to-move = true
scrollback-limit = 134217728
shell-integration-features = sudo,ssh-env,ssh-terminfo
quick-terminal-position = top
quick-terminal-size = 35%,75%
quick-terminal-autohide = false
keybind = global:super+backspace=toggle_quick_terminal

View File

@@ -4,9 +4,9 @@
# Set programs that you use
$terminal = uwsm app -T
$terminal_backup = uwsm app -- kitty
$term_tmux = uwsm app -- kitty tmux
$term_tmux_append = uwsm app -- kitty tmux a
$terminal_backup = uwsm app -- ghostty
$term_tmux = uwsm app -- ghostty -e tmux
$term_tmux_append = uwsm app -- ghostty -e tmux a
$filemanager = uwsm app -- nautilus
$launcher = uwsm app -- sherlock
$launcheralt = uwsm app -- owlry
@@ -181,4 +181,4 @@ bind = $mainMod, Print, exec, grimblast --notify edit area
bind = ALT_L, Print, exec, grimblast --notify copy screen
bind = ALT_L SHIFT, Print, exec, grimblast --notify edit screen
bind = SHIFT, Print, exec, uwsm app -- kitty --app-id=scrrec wf-recorder -f ~/Videos/scrrec.mkv -y -g "$(slurp)"
bind = SHIFT, Print, exec, uwsm app -- ghostty --class=scrrec -e wf-recorder -f ~/Videos/scrrec.mkv -y -g "$(slurp)"