summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/run_alacritty10
1 files changed, 10 insertions, 0 deletions
diff --git a/.local/bin/run_alacritty b/.local/bin/run_alacritty
new file mode 100755
index 0000000..f1affbe
--- /dev/null
+++ b/.local/bin/run_alacritty
@@ -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