Terminal: WezTerm als Standard, Kitty und xfce4-terminal entfernt
This commit is contained in:
parent
98d8bf849d
commit
320289b38e
3 changed files with 8 additions and 50 deletions
|
|
@ -76,10 +76,9 @@ die Setup-Skripte nicht heruntergeladen werden.
|
|||
- XFCE Keyboard-Override deaktivieren (XkbDisable)
|
||||
|
||||
### Terminal
|
||||
- Kitty als Standard-Terminal (statt xfce4-terminal)
|
||||
- xfce4-terminal bleibt installiert als Fallback
|
||||
- Kitty Config: MesloLGS NF 18pt, copy_or_interrupt fuer Cmd+C (kopiert bei Selektion, sonst SIGINT)
|
||||
- xfce4-terminal unterstuetzt kein Remapping von Ctrl+C/V auf Copy/Paste
|
||||
- WezTerm als Standard-Terminal (Kitty und xfce4-terminal entfernt)
|
||||
- WezTerm Config: ~/.wezterm.lua (auch im Repo als wezterm.lua), MesloLGS NF 18pt
|
||||
- Standard-Terminal: update-alternatives x-terminal-emulator + XFCE helpers.rc
|
||||
|
||||
### Git / SSH
|
||||
- SSH-Key (ed25519) wird in setup-desktop.sh generiert
|
||||
|
|
|
|||
|
|
@ -141,7 +141,6 @@ apt install -y \
|
|||
micro \
|
||||
flatpak \
|
||||
keepassxc \
|
||||
kitty \
|
||||
htop btop cmatrix libcurses-perl cowsay fortune-mod fortunes-de \
|
||||
bat eza fd-find fzf ripgrep tldr ncdu duf xclip \
|
||||
timeshift \
|
||||
|
|
@ -149,7 +148,6 @@ apt install -y \
|
|||
language-pack-de \
|
||||
wngerman \
|
||||
bc \
|
||||
xfce4-terminal \
|
||||
|| { fail "apt install fehlgeschlagen"; dpkg --configure -a; apt install -f -y; }
|
||||
ok "Pakete installiert (apt)"
|
||||
|
||||
|
|
@ -469,7 +467,7 @@ if [[ -f "$REPO_DIR_USER/setup-desktop.sh" ]]; then
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=MacBook Setup Desktop
|
||||
Exec=xfce4-terminal -e "bash -c 'bash $REPO_DIR_USER/setup-desktop.sh 2>&1 | tee /tmp/setup-desktop.log; echo; echo Setup abgeschlossen - Enter zum Schliessen; read'"
|
||||
Exec=wezterm start -- bash -c 'bash $REPO_DIR_USER/setup-desktop.sh 2>&1 | tee /tmp/setup-desktop.log; echo; echo Setup abgeschlossen - Enter zum Schliessen; read'
|
||||
Hidden=false
|
||||
X-GNOME-Autostart-enabled=true
|
||||
ASEOF
|
||||
|
|
|
|||
|
|
@ -141,49 +141,10 @@ else
|
|||
warn ".p10k.zsh nicht im Dotfiles-Repo — beim ersten zsh-Start 'p10k configure' ausfuehren"
|
||||
fi
|
||||
|
||||
# ── 8. Kitty Terminal ──────────────────────────────────────────────────
|
||||
echo -e "\n=== 8/10 Kitty Terminal ==="
|
||||
KITTY_CONF_DIR="$HOME/.config/kitty"
|
||||
mkdir -p "$KITTY_CONF_DIR"
|
||||
cat > "$KITTY_CONF_DIR/kitty.conf" <<'KITTYEOF'
|
||||
# Font
|
||||
font_family MesloLGS NF
|
||||
font_size 18.0
|
||||
|
||||
# Fenster
|
||||
initial_window_width 120c
|
||||
initial_window_height 35c
|
||||
|
||||
# Scrollback
|
||||
scrollback_lines 10000
|
||||
|
||||
# Kein Glockenspiel
|
||||
enable_audio_bell no
|
||||
|
||||
# Copy/Paste mit Ctrl+C/V (= Cmd auf Mac-Keyboard nach Swap)
|
||||
map ctrl+c copy_or_interrupt
|
||||
map ctrl+v paste_from_clipboard
|
||||
|
||||
# Tab-Verwaltung
|
||||
map ctrl+t new_tab
|
||||
map ctrl+w close_tab
|
||||
map ctrl+shift+left previous_tab
|
||||
map ctrl+shift+right next_tab
|
||||
|
||||
# Scrolling
|
||||
map ctrl+shift+up scroll_line_up
|
||||
map ctrl+shift+down scroll_line_down
|
||||
map ctrl+shift+page_up scroll_page_up
|
||||
map ctrl+shift+page_down scroll_page_down
|
||||
|
||||
# Keine Scrollbar
|
||||
scrollback_indicator_color none
|
||||
KITTYEOF
|
||||
ok "Kitty Terminal konfiguriert"
|
||||
|
||||
# Kitty als Standard-Terminal
|
||||
sudo update-alternatives --set x-terminal-emulator /usr/bin/kitty 2>/dev/null || true
|
||||
ok "Kitty als Standard-Terminal"
|
||||
# ── 8. WezTerm als Standard-Terminal ──────────────────────────────────
|
||||
echo -e "\n=== 8/10 WezTerm Standard-Terminal ==="
|
||||
sudo update-alternatives --set x-terminal-emulator /usr/bin/wezterm 2>/dev/null || true
|
||||
ok "WezTerm als Standard-Terminal (x-terminal-emulator)"
|
||||
|
||||
# ── 9. SSH-Key + Git auf SSH umstellen ────────────────────────────────
|
||||
echo -e "\n=== 9/10 SSH-Key + Git ==="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue