testing
This commit is contained in:
parent
e70b7bf60b
commit
01f065cbce
1 changed files with 23 additions and 3 deletions
26
hyprlock.sh
26
hyprlock.sh
|
@ -109,6 +109,13 @@ buildGraphics() {
|
||||||
}
|
}
|
||||||
|
|
||||||
cloneAndBuildGraphics() {
|
cloneAndBuildGraphics() {
|
||||||
|
PACKAGE=hyprgraphics
|
||||||
|
|
||||||
|
if command_exists $PACKAGE; then
|
||||||
|
echo_error "hyprlang is already installed!"
|
||||||
|
return 69
|
||||||
|
fi
|
||||||
|
|
||||||
local cloneDir="$(mktemp -d)"
|
local cloneDir="$(mktemp -d)"
|
||||||
cd $cloneDir || mkdir -p "$cloneDir" && cd "$cloneDir"
|
cd $cloneDir || mkdir -p "$cloneDir" && cd "$cloneDir"
|
||||||
|
|
||||||
|
@ -131,6 +138,13 @@ buildUtils() {
|
||||||
}
|
}
|
||||||
|
|
||||||
cloneAndBuildUtils() {
|
cloneAndBuildUtils() {
|
||||||
|
PACKAGE=hyprutils
|
||||||
|
|
||||||
|
if command_exists $PACKAGE; then
|
||||||
|
echo_error "hyprlang is already installed!"
|
||||||
|
return 69
|
||||||
|
fi
|
||||||
|
|
||||||
local cloneDirUtils="$(mktemp -d)"
|
local cloneDirUtils="$(mktemp -d)"
|
||||||
# local cloneDir="$HOME/.builds"
|
# local cloneDir="$HOME/.builds"
|
||||||
|
|
||||||
|
@ -156,8 +170,10 @@ buildScanner() {
|
||||||
}
|
}
|
||||||
|
|
||||||
cloneAndBuildScanner() {
|
cloneAndBuildScanner() {
|
||||||
if command_exists hyprwayland-scanner; then
|
PACKAGE=hyprwayland-scanner
|
||||||
echo_error "hyprwayland-scanner is already installed!"
|
|
||||||
|
if command_exists $PACKAGE; then
|
||||||
|
echo_error "hyprlang is already installed!"
|
||||||
return 69
|
return 69
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -186,7 +202,9 @@ buildLang() {
|
||||||
}
|
}
|
||||||
|
|
||||||
cloneAndBuildLang() {
|
cloneAndBuildLang() {
|
||||||
if command_exists hyprlang; then
|
PACKAGE=hyprlang
|
||||||
|
|
||||||
|
if command_exists $PACKAGE; then
|
||||||
echo_error "hyprlang is already installed!"
|
echo_error "hyprlang is already installed!"
|
||||||
return 69
|
return 69
|
||||||
fi
|
fi
|
||||||
|
@ -216,6 +234,8 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
cloneAndBuildLock() {
|
cloneAndBuildLock() {
|
||||||
|
PACKAGE=hyprlock
|
||||||
|
|
||||||
local cloneDir="$(mktemp -d)"
|
local cloneDir="$(mktemp -d)"
|
||||||
|
|
||||||
cd $cloneDir || mkdir -p $cloneDir && cd $cloneDir
|
cd $cloneDir || mkdir -p $cloneDir && cd $cloneDir
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue