This commit is contained in:
tuxwarrior
2024-05-01 11:15:00 -05:00
parent 6d03db7e4f
commit 70dad0c494
4 changed files with 13 additions and 4 deletions

View File

@@ -19,7 +19,6 @@ monitor=,preferred,auto,auto
# - - - - - - - - - - - - - - - - - - - - - - - - -
# execute at launch
#exec-once = hyprpaper & waybar & hypridle & hyprdim --strength 0.6 --duration 500 --no-dim-when-only --dialog-dim 0.1 & pcloud
exec-once = startup.sh
# Source a file (multi-file configs)

View File

@@ -4,3 +4,7 @@
hyprpaper&
waybar&
#exec-once = hyprpaper & waybar & hypridle & hyprdim --strength 0.6 --duration 500 --no-dim-when-only --dialog-dim 0.1 & pcloud

View File

@@ -74,33 +74,39 @@ deploy_file() {
# ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
# download all dots (dot files) from repo
# dots (dot files)
if [ ${operation} == "dots" ] ; then
echo "***** ${operation} *****"
rm -rf ${clone_trg}/lnx-arch
download_repo ${targz_dots_url}
tree ${clone_trg}/lnx-arch
# hyprland
file_name=hyprland.conf
file_path=/home/${user}/.config/hypr
deploy_file ${dots_trg}/hyprland/${file_name} ${file_path}/${file_name}
# hyprpaper
file_name=hyprpaper.conf
file_path=/home/${user}/.config/hypr
deploy_file ${dots_trg}/hyprpaper/${file_name} ${file_path}/${file_name}
# startup.sh
file_name=startup.sh
file_path=/usr/local/bin
deploy_file ${dots_trg}/startup/${file_name} ${file_path}/${file_name}
# waybar
file_path=/home/${user}/.config/waybar
mkdir -p ${file_path}
deploy_file "${dots_trg}/waybar/*" "${file_path}/"
fi
# download wallpapers from repo
# wallpapers
if [ ${operation} == "wp" ] ; then
echo "***** ${operation} *****"
rm -rf ${clone_trg}/wallpaper-main
download_repo ${targz_wp_url}

View File

@@ -31,7 +31,7 @@ fi
this_file_name=`basename "$0"`
if [ $# -lt 1 ]; then
echo "usage: '$this_file_name { dots | uf / upd-full [host] | sw / software {update/install} [host] | us / upd-self | wp }'"
echo "usage: '$this_file_name { dots | uf / upd-full [host]? | sw / software {update/install} [host]? | us / upd-self | wp }'"
exit 1
fi