Commit Graph

298 Commits

Author SHA1 Message Date
Santiago Lo Coco 4d55171142 Fix more bugs 2021-12-31 17:30:16 -03:00
Santiago Lo Coco 4636de2412 Update getDotfiles() 2021-12-31 17:24:54 -03:00
Santiago Lo Coco 544c9b42fa Add dialogBox and remove unnecessary sudo 2021-12-31 17:18:37 -03:00
Santiago Lo Coco a7466f526f Fix bugs 2021-12-31 17:07:25 -03:00
Santiago Lo Coco 1129ef7974 Create zsh cache folder 2021-12-31 15:26:35 -03:00
Santiago Lo Coco e8e57458a8 Add zshConfig() call and add debug 2021-12-31 14:59:43 -03:00
Santiago Lo Coco 227bd97b41 Create histfile and refactor 2021-12-31 14:58:29 -03:00
Santiago Lo Coco a9faaa0f6d Use --unattended in oh-my-zsh install 2021-12-31 14:57:08 -03:00
Santiago Lo Coco 5139589de9 Auto run script after reboot 2021-12-31 12:25:48 -03:00
Santiago Lo Coco 3ef43fcada Add more debug()s 2021-12-30 21:21:49 -03:00
Santiago Lo Coco f477c0d874 Redo change of getDotfiles() 2021-12-30 21:01:04 -03:00
Santiago Lo Coco a7c5c75ff6 Replace /home/slococo/.oh-my-zsh/custom 2021-12-30 18:55:11 -03:00
Santiago Lo Coco 82db4b78b8 Update getDotfiles() 2021-12-30 18:21:29 -03:00
Santiago Lo Coco 190b3c01e0 Postpone zaread-git installation 2021-12-30 17:58:42 -03:00
Santiago Lo Coco 266ce94e50 Load username only if not set 2021-12-30 17:00:29 -03:00
Santiago Lo Coco ab514210d2 Fix bugs 2021-12-30 14:58:11 -03:00
Santiago Lo Coco 40137ed07c Return exit status in calcWidthAndRun() and calcHeightAndRun() 2021-12-30 14:45:13 -03:00
Santiago Lo Coco 962b795308 Save and load username (w/o export) 2021-12-30 13:58:45 -03:00
Santiago Lo Coco dd74a98a35 Add debug option to more commands 2021-12-29 00:03:38 -03:00
Santiago Lo Coco c1ddae42d8 Return 0 in runInChroot() 2021-12-28 23:58:28 -03:00
Santiago Lo Coco 466b9d5d1f Use new tag in installPackage() 2021-12-28 22:14:23 -03:00
Santiago Lo Coco 7796e70ad5 Exact match in sed 2021-12-28 20:23:37 -03:00
Santiago Lo Coco 74f1ff68ce Fix more bugs 2021-12-27 23:53:09 -03:00
Santiago Lo Coco 90a8e72e58 Fix bug 2021-12-27 23:12:53 -03:00
Santiago Lo Coco daf888829f Follow styleguide 2021-12-27 23:07:14 -03:00
Santiago Lo Coco dfa108fe19 Add calcHeightAndRun() 2021-12-27 22:51:52 -03:00
Santiago Lo Coco ac6d07679a Set pipefail (to get the exit code of the last program that returned nonzero (in a pipe)) 2021-12-27 22:36:00 -03:00
Santiago Lo Coco 9faa2908e8 Refactor 2021-12-27 21:49:17 -03:00
Santiago Lo Coco 0e96306209 Update height calculation and refactor 2021-12-27 21:46:11 -03:00
Santiago Lo Coco b5309ec759 Add debugFlag (only for pacman for now) 2021-12-27 20:31:08 -03:00
Santiago Lo Coco ba36595f4f Add dynamic height calculation for dialog boxes with long text 2021-12-27 20:00:52 -03:00
Santiago Lo Coco 89930c09a3 Add dynamic width calculation 2021-12-27 19:46:22 -03:00
Santiago Lo Coco 00540a534d Update install.sh 2021-12-27 16:06:35 -03:00
Santiago Lo Coco 7c195eefb9 Add more redirects and update packages.csv 2021-12-27 15:30:41 -03:00
Santiago Lo Coco 2bbddffda9 Update installPackage() 2021-12-27 13:59:35 -03:00
Santiago Lo Coco 33b23e2fd4 Update packages.csv 2021-12-27 13:45:28 -03:00
Santiago Lo Coco 3854bf9309 Refactor 2021-12-27 13:20:37 -03:00
Santiago Lo Coco 80b87931cd Remove unnecesary validation 2021-12-27 13:16:16 -03:00
Santiago Lo Coco 56bf94731a Fix bugs 2021-12-27 12:53:47 -03:00
Santiago Lo Coco ad12222ed1 Add validations 2021-12-27 12:05:37 -03:00
Santiago Lo Coco 6205cb2815 Ask for username if not set 2021-12-27 11:45:05 -03:00
Santiago Lo Coco 6d170965d3 Remove sudo password prompt 2021-12-27 02:00:43 -03:00
Santiago Lo Coco de0add2300 Run makepkg with non-root user 2021-12-27 01:25:30 -03:00
Santiago Lo Coco b499f17619 Fix bug in installPackage() 2021-12-27 00:58:45 -03:00
Santiago Lo Coco 491569c988 Add paru in getThePackages() and add validation/redirection 2021-12-27 00:57:59 -03:00
Santiago Lo Coco eaadf43327 Change mirrorlist path 2021-12-27 00:18:44 -03:00
Santiago Lo Coco 5241802fd2 Change width and height of passwordbox 2021-12-26 23:58:18 -03:00
Santiago Lo Coco f660a38f4b Use passwordbox 2021-12-26 23:38:42 -03:00
Santiago Lo Coco 6c8b237a84 Remove installPackage dialog 2021-12-26 23:21:41 -03:00
Santiago Lo Coco e17faad0c0 Add more dialog boxes 2021-12-26 23:01:28 -03:00
Santiago Lo Coco b634680eaa Add validations 2021-12-26 22:49:44 -03:00
Santiago Lo Coco 36176df6db Fix bug 2021-12-26 22:03:01 -03:00
Santiago Lo Coco ad79c3b274 Update partDisks() 2021-12-26 21:56:40 -03:00
Santiago Lo Coco 4d1ed4c285 Use whiptail in bootstrap.sh 2021-12-26 18:35:55 -03:00
Santiago Lo Coco 24c4bc4f63 Add newline at EOF (POSIX) 2021-12-26 13:11:31 -03:00
Santiago Lo Coco fb3f702748 Clear at the end of the script 2021-12-26 12:59:28 -03:00
Santiago Lo Coco 9dd57567b9 Refactor 2021-12-26 00:22:46 -03:00
Santiago Lo Coco 2e55f48539 Add last message 2021-12-26 00:17:46 -03:00
Santiago Lo Coco e82b2c442e Uncomment runScript 2021-12-26 00:15:30 -03:00
Santiago Lo Coco 0905d87761 Refactor 2021-12-25 23:57:30 -03:00
Santiago Lo Coco cd5be35779 Add csv with the programs to be installed 2021-12-25 23:39:12 -03:00
Santiago Lo Coco 06d5153901 Finish the log system 2021-12-25 22:25:40 -03:00
Santiago Lo Coco 15fe4d838a Add log and update partDisks() 2021-12-25 22:11:22 -03:00
Santiago Lo Coco a3e506e2cc Use cut 2021-12-25 20:13:15 -03:00
Santiago Lo Coco 68dcffe3e2 Use pacstrap and fix bug 2021-12-25 20:10:53 -03:00
Santiago Lo Coco 4eba32a5b8 Use local IFS 2021-12-25 19:30:47 -03:00
Santiago Lo Coco bdcdf47ab0 Ask for countries in updateMirrors() with checklist 2021-12-25 19:27:14 -03:00
Santiago Lo Coco 4ac1d10118 Update setTimeZone() 2021-12-25 17:35:45 -03:00
Santiago Lo Coco 87376b1350 Change to whiptail 2021-12-25 13:13:33 -03:00
Santiago Lo Coco 7c61140e77 Add askForPassword() 2021-12-25 13:03:03 -03:00
Santiago Lo Coco fa04a803a0 Refactor 2021-12-25 12:53:20 -03:00
Santiago Lo Coco 58c2c8bf19 Ask user for variables 2021-12-25 12:44:34 -03:00
Santiago Lo Coco 4ec9525fd1 Fix typo 2021-12-25 12:28:52 -03:00
Santiago Lo Coco fdd39fe6ef Update install.sh 2021-12-25 12:28:31 -03:00
Santiago Lo Coco 4e1ba4f8ae Ask for hostname 2021-12-25 11:22:54 -03:00
Santiago Lo Coco 5cd1229edc Change installed packages 2021-12-25 11:04:22 -03:00
Santiago Lo Coco 06d2825c3c Add updateMirrors() 2021-12-24 00:56:59 -03:00
Santiago Lo Coco f2cdde5144 Test pipeline 2021-12-23 22:36:31 -03:00
Santiago Lo Coco 92efd9a2a8 Replace yes with parted option 2021-12-23 16:39:27 -03:00
Santiago Lo Coco c5137e322a Add more programs to install 2021-12-22 23:08:12 -03:00
Santiago Lo Coco d4796d99b1 Fix another typo 2021-12-22 22:28:34 -03:00
Santiago Lo Coco 9eb27fe2ff Fix typo 2021-12-22 22:21:00 -03:00
Santiago Lo Coco 8da0b3ac6a Use runInChrootWithInput and only run getDotfiles if Document folder exists 2021-12-22 22:15:12 -03:00
Santiago Lo Coco 0449fe7c8d Fix fstab bug 2021-12-22 21:07:05 -03:00
Santiago Lo Coco 85ec8ab7a2 Update script 2021-12-22 18:20:39 -03:00
Santiago Lo Coco 0d5c120eeb Get my dotfiles 2021-12-22 18:11:41 -03:00
Santiago Lo Coco 8c172d7f79 Update chroot functions 2021-12-22 17:57:38 -03:00
Santiago Lo Coco eaa09c9ea3 Fix networkConf bug 2021-12-22 17:45:56 -03:00
Santiago Lo Coco db65dd6d33 Add runInChrootWithInput() function 2021-12-22 17:43:35 -03:00
Santiago Lo Coco bdf8cc6ebd Continue working with arch-chroot 2021-12-22 17:01:35 -03:00
Santiago Lo Coco 036ea20867 Try to run commands from chroot 2021-12-22 16:54:00 -03:00
Santiago Lo Coco 6322ae07ca Add more redirects 2021-12-22 16:28:05 -03:00
Santiago Lo Coco 0d4e3101d8 Hide stdout of commands 2021-12-22 16:23:03 -03:00
Santiago Lo Coco 5409b7ad3c Add fds redirection 2021-12-22 16:18:16 -03:00
Santiago Lo Coco 239e7374a1 Update partDisks function 2021-12-22 16:13:30 -03:00
Santiago Lo Coco 95197fc86c Fix disk selection bug 2021-12-22 16:05:45 -03:00
Santiago Lo Coco 06f73a08e7 Update script 2021-12-22 15:49:33 -03:00
Santiago Lo Coco 651beefb32 Add install.sh script (with initial functions) 2021-12-22 15:28:01 -03:00