run_alacritty

This commit is contained in:
krolxon 2024-06-01 13:36:30 +05:30
parent 1a98f21bc7
commit 80c005bf8f
1 changed files with 10 additions and 0 deletions

10
.local/bin/run_alacritty Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
hostname=$(hostnamectl hostname)
# Run alacritty
if [[ $hostname = 'pavilion' ]]; then
alacritty --config-file "$XDG_CONFIG_HOME/alacritty/alacritty-pavilion.toml"
elif [[ $hostname = 'arch' ]]; then
alacritty --config-file "$XDG_CONFIG_HOME/alacritty/alacritty-desktop.toml"
fi