This commit is contained in:
Stephan Raabe
2024-02-19 09:00:59 +01:00
parent 846583599f
commit b67525df47
9 changed files with 107 additions and 102 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
clear
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"
fi
sleep 3