u
This commit is contained in:
@@ -19,7 +19,6 @@ monitor=,preferred,auto,auto
|
|||||||
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
# execute at launch
|
# 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
|
exec-once = startup.sh
|
||||||
|
|
||||||
# Source a file (multi-file configs)
|
# Source a file (multi-file configs)
|
||||||
|
|||||||
@@ -4,3 +4,7 @@
|
|||||||
|
|
||||||
hyprpaper&
|
hyprpaper&
|
||||||
waybar&
|
waybar&
|
||||||
|
|
||||||
|
|
||||||
|
#exec-once = hyprpaper & waybar & hypridle & hyprdim --strength 0.6 --duration 500 --no-dim-when-only --dialog-dim 0.1 & pcloud
|
||||||
|
|
||||||
|
|||||||
@@ -74,33 +74,39 @@ deploy_file() {
|
|||||||
|
|
||||||
# ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
# ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
||||||
|
|
||||||
# download all dots (dot files) from repo
|
# dots (dot files)
|
||||||
if [ ${operation} == "dots" ] ; then
|
if [ ${operation} == "dots" ] ; then
|
||||||
|
|
||||||
echo "***** ${operation} *****"
|
echo "***** ${operation} *****"
|
||||||
rm -rf ${clone_trg}/lnx-arch
|
rm -rf ${clone_trg}/lnx-arch
|
||||||
download_repo ${targz_dots_url}
|
download_repo ${targz_dots_url}
|
||||||
tree ${clone_trg}/lnx-arch
|
tree ${clone_trg}/lnx-arch
|
||||||
|
|
||||||
|
# hyprland
|
||||||
file_name=hyprland.conf
|
file_name=hyprland.conf
|
||||||
file_path=/home/${user}/.config/hypr
|
file_path=/home/${user}/.config/hypr
|
||||||
deploy_file ${dots_trg}/hyprland/${file_name} ${file_path}/${file_name}
|
deploy_file ${dots_trg}/hyprland/${file_name} ${file_path}/${file_name}
|
||||||
|
|
||||||
|
# hyprpaper
|
||||||
file_name=hyprpaper.conf
|
file_name=hyprpaper.conf
|
||||||
file_path=/home/${user}/.config/hypr
|
file_path=/home/${user}/.config/hypr
|
||||||
deploy_file ${dots_trg}/hyprpaper/${file_name} ${file_path}/${file_name}
|
deploy_file ${dots_trg}/hyprpaper/${file_name} ${file_path}/${file_name}
|
||||||
|
|
||||||
|
# startup.sh
|
||||||
file_name=startup.sh
|
file_name=startup.sh
|
||||||
file_path=/usr/local/bin
|
file_path=/usr/local/bin
|
||||||
deploy_file ${dots_trg}/startup/${file_name} ${file_path}/${file_name}
|
deploy_file ${dots_trg}/startup/${file_name} ${file_path}/${file_name}
|
||||||
|
|
||||||
|
# waybar
|
||||||
file_path=/home/${user}/.config/waybar
|
file_path=/home/${user}/.config/waybar
|
||||||
mkdir -p ${file_path}
|
mkdir -p ${file_path}
|
||||||
deploy_file "${dots_trg}/waybar/*" "${file_path}/"
|
deploy_file "${dots_trg}/waybar/*" "${file_path}/"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# download wallpapers from repo
|
# wallpapers
|
||||||
if [ ${operation} == "wp" ] ; then
|
if [ ${operation} == "wp" ] ; then
|
||||||
|
|
||||||
echo "***** ${operation} *****"
|
echo "***** ${operation} *****"
|
||||||
rm -rf ${clone_trg}/wallpaper-main
|
rm -rf ${clone_trg}/wallpaper-main
|
||||||
download_repo ${targz_wp_url}
|
download_repo ${targz_wp_url}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ fi
|
|||||||
|
|
||||||
this_file_name=`basename "$0"`
|
this_file_name=`basename "$0"`
|
||||||
if [ $# -lt 1 ]; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user