From 9e8db84afc793b49400c8f37664a3ee60d880e88 Mon Sep 17 00:00:00 2001 From: Stuce Date: Tue, 15 Jul 2025 22:08:34 +0200 Subject: [PATCH] improving install --- Readme.md | 8 +++++--- install.sh | 16 +++++++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/Readme.md b/Readme.md index 341fab0..e498d33 100644 --- a/Readme.md +++ b/Readme.md @@ -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 diff --git a/install.sh b/install.sh index b18ba92..7be189b 100755 --- a/install.sh +++ b/install.sh @@ -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