Set env var to be used by bash

This commit is contained in:
John Mertz 2024-01-30 20:23:09 -07:00
parent 2aef960217
commit 33da9a1327
11 changed files with 42 additions and 1 deletions

View File

@ -161,6 +161,7 @@ blinking = "On"
shape = "Block" shape = "Block"
[env] [env]
TERM_TITLE = "Alacritty"
TERM = "alacritty" TERM = "alacritty"
[font] [font]
@ -209,4 +210,4 @@ title = "Alacritty - Invalid invalid-terminal"
[window.class] [window.class]
general = "Alacritty" general = "Alacritty"
instance = "Alacritty-default" instance = "Alacritty-invalid"

View File

@ -1,5 +1,8 @@
import = ["/var/home/jpm/.dotfiles/alacritty/alacritty.toml", "/var/home/jpm/.dotfiles/alacritty/archlinux.toml"] import = ["/var/home/jpm/.dotfiles/alacritty/alacritty.toml", "/var/home/jpm/.dotfiles/alacritty/archlinux.toml"]
[env]
TERM_TITLE = "Alacritty (Archlinux Ephemeral)"
[shell] [shell]
args = ["ephemeral", "-i", "archlinux"] args = ["ephemeral", "-i", "archlinux"]
program = "/usr/bin/distrobox" program = "/usr/bin/distrobox"
@ -8,4 +11,5 @@ program = "/usr/bin/distrobox"
title = "Alacritty - Archlinux (Ephemeral)" title = "Alacritty - Archlinux (Ephemeral)"
[window.class] [window.class]
general = "Alacritty-archlinux-ephemeral"
instance = "Alacritty-archlinux-ephemeral" instance = "Alacritty-archlinux-ephemeral"

View File

@ -24,6 +24,9 @@ yellow = "#D19317"
background = "#171421" background = "#171421"
foreground = "#D0CFCC" foreground = "#D0CFCC"
[env]
TERM_TITLE = "Alacritty (Archlinux)"
[font] [font]
size = 10.0 size = 10.0
@ -51,4 +54,5 @@ program = "/usr/bin/distrobox"
title = "Alacritty - Archlinux (Distrobox)" title = "Alacritty - Archlinux (Distrobox)"
[window.class] [window.class]
general = "Alacritty-archlinux"
instance = "Alacritty-archlinux" instance = "Alacritty-archlinux"

View File

@ -1,5 +1,8 @@
import = ["/var/home/jpm/.dotfiles/alacritty/alacritty.toml", "/var/home/jpm/.dotfiles/alacritty/debian.toml"] import = ["/var/home/jpm/.dotfiles/alacritty/alacritty.toml", "/var/home/jpm/.dotfiles/alacritty/debian.toml"]
[env]
TERM_TITLE = "Alacritty (Debian Ephemeral)"
[shell] [shell]
args = ["ephemeral", "-i", "debian:bookworm"] args = ["ephemeral", "-i", "debian:bookworm"]
program = "/usr/bin/distrobox" program = "/usr/bin/distrobox"
@ -8,4 +11,5 @@ program = "/usr/bin/distrobox"
title = "Alacritty - Debian (Ephemeral)" title = "Alacritty - Debian (Ephemeral)"
[window.class] [window.class]
general = "Alacritty-debian-ephemeral"
instance = "Alacritty-debian-ephemeral" instance = "Alacritty-debian-ephemeral"

View File

@ -24,6 +24,9 @@ yellow = "#D78E0A"
background = "#450325" background = "#450325"
foreground = "#FBE6EE" foreground = "#FBE6EE"
[env]
TERM_TITLE = "Alacritty (Debian)"
[font] [font]
size = 10.0 size = 10.0
@ -51,4 +54,5 @@ program = "/usr/bin/distrobox"
title = "Alacritty - Debian (Distrobox)" title = "Alacritty - Debian (Distrobox)"
[window.class] [window.class]
general = "Alacritty-debian"
instance = "Alacritty-debian" instance = "Alacritty-debian"

View File

@ -24,6 +24,9 @@ yellow = "#D79921"
background = "#282828" background = "#282828"
foreground = "#EBDBB2" foreground = "#EBDBB2"
[env]
TERM_TITLE = "Alacritty (Debian)"
[font] [font]
size = 11.0 size = 11.0
@ -50,4 +53,5 @@ program = "/bin/bash"
title = "Alacritty - Grave (Host)" title = "Alacritty - Grave (Host)"
[window.class] [window.class]
general = "Alacritty-grave"
instance = "Alacritty-grave" instance = "Alacritty-grave"

View File

@ -4,6 +4,9 @@ import = ["/var/home/jpm/.dotfiles/alacritty/alacritty.toml"]
background = "#010101" background = "#010101"
foreground = "#FEFEFE" foreground = "#FEFEFE"
[env]
TERM_TITLE = "Alacritty (Host)"
[font] [font]
size = 10.0 size = 10.0
@ -30,4 +33,5 @@ program = "/bin/bash"
title = "Alacritty - Fedora (Host)" title = "Alacritty - Fedora (Host)"
[window.class] [window.class]
general = "Alacritty-toolbox"
instance = "Alacritty-toolbox" instance = "Alacritty-toolbox"

View File

@ -1,5 +1,8 @@
import = ["/var/home/jpm/.dotfiles/alacritty/alacritty.toml", "/var/home/jpm/.dotfiles/alacritty/toolbox.toml"] import = ["/var/home/jpm/.dotfiles/alacritty/alacritty.toml", "/var/home/jpm/.dotfiles/alacritty/toolbox.toml"]
[env]
TERM_TITLE = "Alacritty (Fedora Ephemeral)"
[shell] [shell]
args = ["ephemeral", "-i", "fedora:37"] args = ["ephemeral", "-i", "fedora:37"]
program = "/usr/bin/distrobox" program = "/usr/bin/distrobox"
@ -8,4 +11,5 @@ program = "/usr/bin/distrobox"
title = "Alacritty - Fedora (Ephemeral)" title = "Alacritty - Fedora (Ephemeral)"
[window.class] [window.class]
general = "Alacritty-toolbox-ephemeral"
instance = "Alacritty-toolbox-ephemeral" instance = "Alacritty-toolbox-ephemeral"

View File

@ -24,6 +24,9 @@ yellow = "#D79921"
background = "#282828" background = "#282828"
foreground = "#EBDBB2" foreground = "#EBDBB2"
[env]
TERM_TITLE = "Alacritty (Fedora)"
[font] [font]
size = 11.0 size = 11.0
@ -51,4 +54,5 @@ program = "/usr/bin/distrobox"
title = "Alacritty - Fedora (Distrobox)" title = "Alacritty - Fedora (Distrobox)"
[window.class] [window.class]
general = "Alacritty-toolbox"
instance = "Alacritty-toolbox" instance = "Alacritty-toolbox"

View File

@ -1,5 +1,8 @@
import = ["/var/home/jpm/.dotfiles/alacritty/alacritty.toml", "/var/home/jpm/.dotfiles/alacritty/ubuntu.toml"] import = ["/var/home/jpm/.dotfiles/alacritty/alacritty.toml", "/var/home/jpm/.dotfiles/alacritty/ubuntu.toml"]
[env]
TERM_TITLE = "Alacritty (Ubuntu Ephemeral)"
[shell] [shell]
args = ["ephemeral", "-i", "ubuntu:22.04"] args = ["ephemeral", "-i", "ubuntu:22.04"]
program = "/usr/bin/distrobox" program = "/usr/bin/distrobox"
@ -8,4 +11,5 @@ program = "/usr/bin/distrobox"
title = "Alacritty - Ubuntu (Ephemeral)" title = "Alacritty - Ubuntu (Ephemeral)"
[window.class] [window.class]
general = "Alacritty-ubuntu-ephemeral"
instance = "Alacritty-ubuntu-ephemeral" instance = "Alacritty-ubuntu-ephemeral"

View File

@ -24,6 +24,9 @@ yellow = "#c9A000"
background = "#300A24" background = "#300A24"
foreground = "#FEFEFE" foreground = "#FEFEFE"
[env]
TERM_TITLE = "Alacritty (Ubuntu)"
[font] [font]
size = 12.0 size = 12.0
@ -51,4 +54,5 @@ program = "/usr/bin/distrobox"
title = "Alacritty - Ubuntu (Distrobox)" title = "Alacritty - Ubuntu (Distrobox)"
[window.class] [window.class]
general = "Alacritty-ubuntu"
instance = "Alacritty-ubuntu" instance = "Alacritty-ubuntu"