From 70dad0c4945d55cd55f49afaf07aa64cbfdcd1b5 Mon Sep 17 00:00:00 2001 From: tuxwarrior Date: Wed, 1 May 2024 11:15:00 -0500 Subject: [PATCH] u --- dots/hyprland/hyprland.conf | 1 - dots/startup/startup.sh | 4 ++++ scripts/99_deploy.sh | 10 ++++++++-- scripts/curae.sh | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/dots/hyprland/hyprland.conf b/dots/hyprland/hyprland.conf index dfeb011..0df2845 100644 --- a/dots/hyprland/hyprland.conf +++ b/dots/hyprland/hyprland.conf @@ -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) diff --git a/dots/startup/startup.sh b/dots/startup/startup.sh index 4011bf0..8882845 100644 --- a/dots/startup/startup.sh +++ b/dots/startup/startup.sh @@ -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 + diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index f82ca07..f87a54f 100644 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -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} diff --git a/scripts/curae.sh b/scripts/curae.sh index 3659daa..cc89bba 100644 --- a/scripts/curae.sh +++ b/scripts/curae.sh @@ -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