+ options.sh
This commit is contained in:
@@ -4,9 +4,6 @@
|
||||
|
||||
echo "<< 99_deploy.sh >>"
|
||||
|
||||
user=poq
|
||||
clone_trg=/tmp
|
||||
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then echo "error: run as 'root'"
|
||||
exit
|
||||
@@ -20,6 +17,16 @@ fi
|
||||
|
||||
operation=$1
|
||||
|
||||
source ../dots/archinstall/$HOST/options.sh
|
||||
|
||||
if [ -z "${OPTIONS_LOADED}" ]; then
|
||||
echo "error: unable to load options"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
user=${USER}
|
||||
clone_trg=/tmp
|
||||
|
||||
# ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
||||
|
||||
# helper functions
|
||||
@@ -160,6 +167,10 @@ if [ ${operation} == "dots" ] ; then
|
||||
deploy_file "${dots_trg}/firefox/${file_name}" "${file_path}/${file_name}"
|
||||
fi
|
||||
|
||||
# hyprland
|
||||
#if [ ${deploy_hyprland} == "true" ] ; then
|
||||
#fi
|
||||
|
||||
# hypridle
|
||||
file_name=hypridle.conf
|
||||
file_path=/home/${user}/.config/hypr
|
||||
|
||||
Reference in New Issue
Block a user