Use st as terminal

Switch from gnome-terminal to st (see fork on github).
Open new terminal by default in the same working-dir as current window.
Modify scratchpad-terminal to work with every terminal.
This commit is contained in:
2020-06-24 16:05:34 +02:00
parent 2c2baa7187
commit 31a4bc0768
3 changed files with 28 additions and 17 deletions

View File

@@ -1,7 +1,8 @@
## Author: druckdev
## Created 2018-11-23
# echo ${(pl.$LINES..\n.)}
# Set terminals title if this is a scratchpad-terminal
[ -z "$SCRATCHPAD_TERMINAL" ] || printf "\x1b\x5d\x30\x3bscratchpad-terminal\x07"
# Enable Powerlevel10k instant prompt. Should stay at the top of ~/.config/zsh/.zshrc.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then