wip
This commit is contained in:
parent
1812c37d01
commit
26275e72bb
1 changed files with 5 additions and 2 deletions
|
@ -116,9 +116,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
clone-quickshell() {
|
clone-quickshell() {
|
||||||
local err out
|
local err out repo
|
||||||
local dir="$HOME/.config/quickshell"
|
local dir="$HOME/.config/quickshell"
|
||||||
|
|
||||||
|
# repo="https://github.com/caelestia-dots/shell.git"
|
||||||
|
repo="https://git.k4li.de/dotfiles/quickshell.git"
|
||||||
|
|
||||||
if [ -d "$dir" ]; then
|
if [ -d "$dir" ]; then
|
||||||
pen bold red "There is already a configuration at $dir"
|
pen bold red "There is already a configuration at $dir"
|
||||||
if confirm bold blue "Do you want to delete it?" </dev/tty; then
|
if confirm bold blue "Do you want to delete it?" </dev/tty; then
|
||||||
|
@ -129,7 +132,7 @@
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
spin bold yellow "Cloning quickshell to $dir.."
|
spin bold yellow "Cloning quickshell to $dir.."
|
||||||
if run --err err --out out git clone --depth=1 https://github.com/caelestia-dots/shell.git $dir; then
|
if run --err err --out out git clone --depth=1 "$repo" "$dir"; then
|
||||||
upclear
|
upclear
|
||||||
check bold green "Cloned quickshell successfully"
|
check bold green "Cloned quickshell successfully"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue