mirror of
https://github.com/kristoferssolo/karbs.git
synced 2025-10-21 19:00:35 +00:00
Added SoloVim download
This commit is contained in:
parent
99742b2edc
commit
5952f875a1
@ -21,7 +21,7 @@ with a fully configured diving-board for work or more customization.
|
|||||||
|
|
||||||
## Customization
|
## Customization
|
||||||
|
|
||||||
By default, KARBS uses the programs from [here](pkg-files/minimal-pkgs.txt) and installs
|
By default, KARBS uses the programs from [here](pkg-files/X11-pkgs) and installs
|
||||||
[my dotfiles repo (solorice)](https://github.com/kristoferssolo/solorice).
|
[my dotfiles repo (solorice)](https://github.com/kristoferssolo/solorice).
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|||||||
21
karbs.sh
21
karbs.sh
@ -3,7 +3,7 @@
|
|||||||
# by Kristofers Solo
|
# by Kristofers Solo
|
||||||
# License: GNU GPLv3
|
# License: GNU GPLv3
|
||||||
|
|
||||||
echo 'Choose display server (X11 / Wayland)[1/2]: '
|
echo "Choose display server (X11 / Wayland)[1/2]: "
|
||||||
read -r USER_INPUT
|
read -r USER_INPUT
|
||||||
|
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ if pacman -Q paru; then
|
|||||||
:
|
:
|
||||||
else
|
else
|
||||||
sudo pacman -S --noconfirm rust-src
|
sudo pacman -S --noconfirm rust-src
|
||||||
git clone 'https://aur.archlinux.org/paru-bin'
|
git clone "https://aur.archlinux.org/paru-bin"
|
||||||
cd paru-bin || exit
|
cd paru-bin || exit
|
||||||
makepkg -si
|
makepkg -si
|
||||||
cd ..
|
cd ..
|
||||||
@ -40,22 +40,23 @@ else
|
|||||||
rm -f "$DISPLAY_SERVER-pkgs"
|
rm -f "$DISPLAY_SERVER-pkgs"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p "$HOME/{repos,Downloads,Documents,Videos,Music,Pictures/screenshots}"
|
git clone "https://github.com/kristoferssolo/solorice" "$HOME"
|
||||||
git clone 'https://github.com/kristoferssolo/solorice' "$HOME/repos/solorice"
|
git clone "https://github.com/kristoferssolo/SoloVim" "$HOME/.config/nvim"
|
||||||
|
rm -rf "$HOME/{LICENSE,readme.md}"
|
||||||
cp -raf "$HOME/repos/solorice/.config" "$HOME"
|
mkdir -p "$HOME/{Downloads,Documents,Videos,Music,Pictures/screenshots}"
|
||||||
cp -raf "$HOME/repos/solorice/.local" "$HOME"
|
|
||||||
ln -sf "$HOME/.config/zsh/.zshenv" "$HOME"
|
|
||||||
sudo chsh -s /bin/zsh
|
|
||||||
|
|
||||||
if [ $DISPLAY_SERVER = "wayland" ]; then
|
if [ $DISPLAY_SERVER = "wayland" ]; then
|
||||||
rm -rf "$HOME/.config/{awesome,picom,sx,zsh/.zprofile-X11}"
|
rm -rf "$HOME/.config/{awesome,picom,sx,zsh/.zprofile-X11}"
|
||||||
mv "$HOME/.config/zsh/zprofile-wayland" "$HOME/.config/zsh/.zprofile"
|
mv "$HOME/.config/zsh/zprofile-wayland" "$HOME/.config/zsh/.zprofile"
|
||||||
|
chsh -s /bin/zsh
|
||||||
|
zsh
|
||||||
Hyprland
|
Hyprland
|
||||||
else
|
else
|
||||||
rm -rf "$HOME/.config/{hypr,waybar,zsh/.zprofile-wayland}"
|
rm -rf "$HOME/.config/{hypr,waybar,zsh/.zprofile-wayland}"
|
||||||
mv "$HOME/.config/zsh/zprofile-X11" "$HOME/.config/zsh/.zprofile"
|
mv "$HOME/.config/zsh/zprofile-X11" "$HOME/.config/zsh/.zprofile"
|
||||||
git clone 'https://github.com/streetturtle/awesome-wm-widgets' "$HOME/.config/awesome/awesome-wm-widgets"
|
git clone "https://github.com/streetturtle/awesome-wm-widgets" "$HOME/.config/awesome/awesome-wm-widgets"
|
||||||
|
chsh -s /bin/zsh
|
||||||
|
zsh
|
||||||
echo -e "\n\n\033[1;31mFor weather widget to work, enter API-key from https://openweathermap.org, latitude and longitude in '~/.config/awesome/weather' file, each on seperate line.\033[0m"
|
echo -e "\n\n\033[1;31mFor weather widget to work, enter API-key from https://openweathermap.org, latitude and longitude in '~/.config/awesome/weather' file, each on seperate line.\033[0m"
|
||||||
echo "API-key"
|
echo "API-key"
|
||||||
echo "latitude"
|
echo "latitude"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user