+ options.sh
This commit is contained in:
10
dots/archinstall/t470p/options.sh
Normal file
10
dots/archinstall/t470p/options.sh
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# klevstul
|
||||||
|
|
||||||
|
# import using 'source'
|
||||||
|
|
||||||
|
|
||||||
|
HYPRLAND=false
|
||||||
|
I3WM=true
|
||||||
|
QTILE=false
|
||||||
@@ -4,9 +4,6 @@
|
|||||||
|
|
||||||
echo "<< 99_deploy.sh >>"
|
echo "<< 99_deploy.sh >>"
|
||||||
|
|
||||||
user=poq
|
|
||||||
clone_trg=/tmp
|
|
||||||
|
|
||||||
if [ "$EUID" -ne 0 ]
|
if [ "$EUID" -ne 0 ]
|
||||||
then echo "error: run as 'root'"
|
then echo "error: run as 'root'"
|
||||||
exit
|
exit
|
||||||
@@ -20,6 +17,16 @@ fi
|
|||||||
|
|
||||||
operation=$1
|
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
|
# helper functions
|
||||||
@@ -160,6 +167,10 @@ if [ ${operation} == "dots" ] ; then
|
|||||||
deploy_file "${dots_trg}/firefox/${file_name}" "${file_path}/${file_name}"
|
deploy_file "${dots_trg}/firefox/${file_name}" "${file_path}/${file_name}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# hyprland
|
||||||
|
#if [ ${deploy_hyprland} == "true" ] ; then
|
||||||
|
#fi
|
||||||
|
|
||||||
# hypridle
|
# hypridle
|
||||||
file_name=hypridle.conf
|
file_name=hypridle.conf
|
||||||
file_path=/home/${user}/.config/hypr
|
file_path=/home/${user}/.config/hypr
|
||||||
|
|||||||
Reference in New Issue
Block a user