2024-02-16 12:41:09 +00:00
|
|
|
#!/bin/bash
|
2024-02-16 12:41:49 +00:00
|
|
|
clear
|
2024-02-16 12:41:09 +00:00
|
|
|
if [ -f ~/dotfiles/.settings/terminal.sh ]; then
|
|
|
|
terminal="$(cat ~/dotfiles/.settings/terminal.sh)"
|
|
|
|
echo ":: Installing $terminal"
|
|
|
|
if [ -d ~/.config/xfce4 ]; then
|
|
|
|
if [ ! -f ~/.config/xfce4/helpers.rc ]; then
|
|
|
|
touch ~/.config/xfce4/helpers.rc
|
|
|
|
fi
|
|
|
|
echo "TerminalEmulator=$terminal" > ~/.config/xfce4/helpers.rc
|
|
|
|
echo ":: $terminal defined as Thunar Terminal Emulator."
|
|
|
|
else
|
|
|
|
echo "ERROR: ~/.config/xfce4 not found. Please check or create."
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
echo "ERROR: ~/dotfiles/.settings/terminal.sh not found"
|
2024-02-16 12:41:49 +00:00
|
|
|
fi
|
2024-02-19 08:00:59 +00:00
|
|
|
sleep 3
|