From 33da9a1327f843a7592f0f972b87e5cb5703b0b7 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Tue, 30 Jan 2024 20:23:09 -0700 Subject: [PATCH] Set env var to be used by bash --- alacritty/alacritty.toml | 3 ++- alacritty/archlinux-ephemeral.toml | 4 ++++ alacritty/archlinux.toml | 4 ++++ alacritty/debian-ephemeral.toml | 4 ++++ alacritty/debian.toml | 4 ++++ alacritty/grave.toml | 4 ++++ alacritty/host.toml | 4 ++++ alacritty/toolbox-ephemeral.toml | 4 ++++ alacritty/toolbox.toml | 4 ++++ alacritty/ubuntu-ephemeral.toml | 4 ++++ alacritty/ubuntu.toml | 4 ++++ 11 files changed, 42 insertions(+), 1 deletion(-) diff --git a/alacritty/alacritty.toml b/alacritty/alacritty.toml index 6779a695c..2ef3aaf9f 100644 --- a/alacritty/alacritty.toml +++ b/alacritty/alacritty.toml @@ -161,6 +161,7 @@ blinking = "On" shape = "Block" [env] +TERM_TITLE = "Alacritty" TERM = "alacritty" [font] @@ -209,4 +210,4 @@ title = "Alacritty - Invalid invalid-terminal" [window.class] general = "Alacritty" -instance = "Alacritty-default" +instance = "Alacritty-invalid" diff --git a/alacritty/archlinux-ephemeral.toml b/alacritty/archlinux-ephemeral.toml index 3d70ad26b..af1234ec0 100644 --- a/alacritty/archlinux-ephemeral.toml +++ b/alacritty/archlinux-ephemeral.toml @@ -1,5 +1,8 @@ import = ["/var/home/jpm/.dotfiles/alacritty/alacritty.toml", "/var/home/jpm/.dotfiles/alacritty/archlinux.toml"] +[env] +TERM_TITLE = "Alacritty (Archlinux Ephemeral)" + [shell] args = ["ephemeral", "-i", "archlinux"] program = "/usr/bin/distrobox" @@ -8,4 +11,5 @@ program = "/usr/bin/distrobox" title = "Alacritty - Archlinux (Ephemeral)" [window.class] +general = "Alacritty-archlinux-ephemeral" instance = "Alacritty-archlinux-ephemeral" diff --git a/alacritty/archlinux.toml b/alacritty/archlinux.toml index 35399da7f..6f01968ae 100644 --- a/alacritty/archlinux.toml +++ b/alacritty/archlinux.toml @@ -24,6 +24,9 @@ yellow = "#D19317" background = "#171421" foreground = "#D0CFCC" +[env] +TERM_TITLE = "Alacritty (Archlinux)" + [font] size = 10.0 @@ -51,4 +54,5 @@ program = "/usr/bin/distrobox" title = "Alacritty - Archlinux (Distrobox)" [window.class] +general = "Alacritty-archlinux" instance = "Alacritty-archlinux" diff --git a/alacritty/debian-ephemeral.toml b/alacritty/debian-ephemeral.toml index 110a6490d..a0f0bab4b 100644 --- a/alacritty/debian-ephemeral.toml +++ b/alacritty/debian-ephemeral.toml @@ -1,5 +1,8 @@ import = ["/var/home/jpm/.dotfiles/alacritty/alacritty.toml", "/var/home/jpm/.dotfiles/alacritty/debian.toml"] +[env] +TERM_TITLE = "Alacritty (Debian Ephemeral)" + [shell] args = ["ephemeral", "-i", "debian:bookworm"] program = "/usr/bin/distrobox" @@ -8,4 +11,5 @@ program = "/usr/bin/distrobox" title = "Alacritty - Debian (Ephemeral)" [window.class] +general = "Alacritty-debian-ephemeral" instance = "Alacritty-debian-ephemeral" diff --git a/alacritty/debian.toml b/alacritty/debian.toml index 276b303b0..8750ac843 100644 --- a/alacritty/debian.toml +++ b/alacritty/debian.toml @@ -24,6 +24,9 @@ yellow = "#D78E0A" background = "#450325" foreground = "#FBE6EE" +[env] +TERM_TITLE = "Alacritty (Debian)" + [font] size = 10.0 @@ -51,4 +54,5 @@ program = "/usr/bin/distrobox" title = "Alacritty - Debian (Distrobox)" [window.class] +general = "Alacritty-debian" instance = "Alacritty-debian" diff --git a/alacritty/grave.toml b/alacritty/grave.toml index 9b2b70e88..8a8124eed 100644 --- a/alacritty/grave.toml +++ b/alacritty/grave.toml @@ -24,6 +24,9 @@ yellow = "#D79921" background = "#282828" foreground = "#EBDBB2" +[env] +TERM_TITLE = "Alacritty (Debian)" + [font] size = 11.0 @@ -50,4 +53,5 @@ program = "/bin/bash" title = "Alacritty - Grave (Host)" [window.class] +general = "Alacritty-grave" instance = "Alacritty-grave" diff --git a/alacritty/host.toml b/alacritty/host.toml index 75667d1a5..941744ab8 100644 --- a/alacritty/host.toml +++ b/alacritty/host.toml @@ -4,6 +4,9 @@ import = ["/var/home/jpm/.dotfiles/alacritty/alacritty.toml"] background = "#010101" foreground = "#FEFEFE" +[env] +TERM_TITLE = "Alacritty (Host)" + [font] size = 10.0 @@ -30,4 +33,5 @@ program = "/bin/bash" title = "Alacritty - Fedora (Host)" [window.class] +general = "Alacritty-toolbox" instance = "Alacritty-toolbox" diff --git a/alacritty/toolbox-ephemeral.toml b/alacritty/toolbox-ephemeral.toml index f9d09c9e7..e94181745 100644 --- a/alacritty/toolbox-ephemeral.toml +++ b/alacritty/toolbox-ephemeral.toml @@ -1,5 +1,8 @@ import = ["/var/home/jpm/.dotfiles/alacritty/alacritty.toml", "/var/home/jpm/.dotfiles/alacritty/toolbox.toml"] +[env] +TERM_TITLE = "Alacritty (Fedora Ephemeral)" + [shell] args = ["ephemeral", "-i", "fedora:37"] program = "/usr/bin/distrobox" @@ -8,4 +11,5 @@ program = "/usr/bin/distrobox" title = "Alacritty - Fedora (Ephemeral)" [window.class] +general = "Alacritty-toolbox-ephemeral" instance = "Alacritty-toolbox-ephemeral" diff --git a/alacritty/toolbox.toml b/alacritty/toolbox.toml index 1c5685368..52ce76e86 100644 --- a/alacritty/toolbox.toml +++ b/alacritty/toolbox.toml @@ -24,6 +24,9 @@ yellow = "#D79921" background = "#282828" foreground = "#EBDBB2" +[env] +TERM_TITLE = "Alacritty (Fedora)" + [font] size = 11.0 @@ -51,4 +54,5 @@ program = "/usr/bin/distrobox" title = "Alacritty - Fedora (Distrobox)" [window.class] +general = "Alacritty-toolbox" instance = "Alacritty-toolbox" diff --git a/alacritty/ubuntu-ephemeral.toml b/alacritty/ubuntu-ephemeral.toml index 6f4bf146b..b8fa1721f 100644 --- a/alacritty/ubuntu-ephemeral.toml +++ b/alacritty/ubuntu-ephemeral.toml @@ -1,5 +1,8 @@ import = ["/var/home/jpm/.dotfiles/alacritty/alacritty.toml", "/var/home/jpm/.dotfiles/alacritty/ubuntu.toml"] +[env] +TERM_TITLE = "Alacritty (Ubuntu Ephemeral)" + [shell] args = ["ephemeral", "-i", "ubuntu:22.04"] program = "/usr/bin/distrobox" @@ -8,4 +11,5 @@ program = "/usr/bin/distrobox" title = "Alacritty - Ubuntu (Ephemeral)" [window.class] +general = "Alacritty-ubuntu-ephemeral" instance = "Alacritty-ubuntu-ephemeral" diff --git a/alacritty/ubuntu.toml b/alacritty/ubuntu.toml index 463c53355..893e10cf6 100644 --- a/alacritty/ubuntu.toml +++ b/alacritty/ubuntu.toml @@ -24,6 +24,9 @@ yellow = "#c9A000" background = "#300A24" foreground = "#FEFEFE" +[env] +TERM_TITLE = "Alacritty (Ubuntu)" + [font] size = 12.0 @@ -51,4 +54,5 @@ program = "/usr/bin/distrobox" title = "Alacritty - Ubuntu (Distrobox)" [window.class] +general = "Alacritty-ubuntu" instance = "Alacritty-ubuntu"