mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Add full OSC 52 support to Alacritty configuration (#4603)
* Add full OSC 52 support to Alacritty configuration * Simplify OSC 52 support addition in Alacritty config --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
co-authored by
David Heinemeier Hansson
parent
a493fc8b96
commit
88c8695ee5
@@ -3,6 +3,9 @@ general.import = [ "~/.config/omarchy/current/theme/alacritty.toml" ]
|
||||
[env]
|
||||
TERM = "xterm-256color"
|
||||
|
||||
[terminal]
|
||||
osc52 = "CopyPaste"
|
||||
|
||||
[font]
|
||||
normal = { family = "JetBrainsMono Nerd Font", style = "Regular" }
|
||||
bold = { family = "JetBrainsMono Nerd Font", style = "Bold" }
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
echo "Add full OSC 52 support to Alacritty"
|
||||
|
||||
ALACRITTY_CONFIG=~/.config/alacritty/alacritty.toml
|
||||
|
||||
if [[ -f $ALACRITTY_CONFIG ]] && ! grep -q 'osc52' "$ALACRITTY_CONFIG"; then
|
||||
cat >> "$ALACRITTY_CONFIG" << 'EOF'
|
||||
|
||||
[terminal]
|
||||
osc52 = "CopyPaste"
|
||||
EOF
|
||||
fi
|
||||
Reference in New Issue
Block a user