improving install

This commit is contained in:
Stuce 2025-07-15 22:08:34 +02:00
parent 93198033eb
commit 9e8db84afc
2 changed files with 18 additions and 6 deletions

View file

@ -30,10 +30,12 @@ The scripts checks if a file already exists there before overwriting !
- [ ] make battery conditional ?
- [ ] fix small annoying artifact since installing fonts
- [ ] notifications
- [ ] add per folder sudo when needed on install script
- [x] add per folder sudo when needed on install script
- [ ] screen sharing works for zoom
- [ ] way to record videos with push to record for easy edits
- [x] way to record videos with push to record for easy edits
- [ ] all dependencies in a list to install everything (via pacman or yay) at once easily
- [x] pacman
- [ ] yay
- [ ] add way to add export variables and aliases and scripts in bashrc/zshrc
- [ ] customize terminal a bit ? try fsh ?
- [ ] floating terminal utilities (call wemenu, launching the chosen utility in a floating manager)
@ -41,7 +43,7 @@ The scripts checks if a file already exists there before overwriting !
- [ ] Dependencies : everything that is needed to install should be recorded in dependencies file until it is actually implemented in the install script
- [ ] qutebrowser
- [ ] theme
- [ ] config file (just config file dont bother with rest)
- [x] config file (just config file dont bother with rest)
## Usage
`./install.sh`
NOTE: this is still work in progress, it does not work completely yet

View file

@ -4,14 +4,24 @@ targets=("$HOME/.config/" "/etc/" "$HOME/" "$HOME/.config/qutebrowser/")
length=${#sources[@]}
packages="brightnessctl hyprland hyprlock hyprpaper i3status-rust kitty mpv neovim obs-studio qutebrowser ttc-iosevka ttf-nerd-fonts-symbols-mono yazi noto-fonts-emoji"
services="greetd"
# TODO: need to address need to run as sudo to add symlink to certain folders, maybe ask in outer loop when sudo is needed and set a variable
dependencies() {
pacman() {
read -p "Install the following packages : $packages ? (Y/N): " confirm && [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] || break
echo hello
sudo pacman -S $packages
}
yay() {
# TODO: install yay, and install yay dependencies
echo yay
}
systemd() {
read -p "Enable the following services : $services ? (Y/N): " confirm && [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] || break
sudo systemctl enable $services
}
update() {
for ((i = 0; i < length; i++)); do
@ -33,4 +43,4 @@ update() {
done
}
update
systemd