From e88fc0eaf79dca238a442036459734a61742706f Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 4 Dec 2023 12:18:12 +0900 Subject: [PATCH] updated to install cliphist --- install-scripts/00-hypr-pkgs.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/install-scripts/00-hypr-pkgs.sh b/install-scripts/00-hypr-pkgs.sh index 4fc18d8..9e4b52c 100644 --- a/install-scripts/00-hypr-pkgs.sh +++ b/install-scripts/00-hypr-pkgs.sh @@ -112,6 +112,15 @@ for PKG1 in "${hypr_package[@]}" "${hypr_package_2[@]}" "${Extra[@]}"; do fi done + +# Install cliphist using go +printf "\n%s - Installing cliphist using go.... \n" "${NOTE}" +export PATH=$PATH:/usr/local/bin +go install go.senan.xyz/cliphist@latest 2>&1 | tee -a "$LOG" + +# copy cliphist into /usr/local/bin for some reason it is installing in ~/go/bin +sudo cp -r "$HOME/go/bin/cliphist" "/usr/local/bin/" 2>&1 | tee -a "$LOG" + ## making brightnessctl work sudo chmod +s $(which brightnessctl) 2>&1 | tee -a "$LOG" || true