From 355dab0489b578b44403b9a2357d46744ce6b2ce Mon Sep 17 00:00:00 2001 From: koksnuss Date: Fri, 9 Aug 2019 14:58:11 +0200 Subject: [PATCH] latest stand --- bsf | 1 + install.sh | 49 +++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 40 insertions(+), 10 deletions(-) create mode 160000 bsf diff --git a/bsf b/bsf new file mode 160000 index 0000000..29cb170 --- /dev/null +++ b/bsf @@ -0,0 +1 @@ +Subproject commit 29cb17026c5c69b81b169224d4f4d87d525748b6 diff --git a/install.sh b/install.sh index f567302..d063a4c 100755 --- a/install.sh +++ b/install.sh @@ -1,21 +1,25 @@ #!/bin/bash -cd /root/archinstall -# install parameters # the storage device on which arch linux shall be installed storage_device='/dev/nvme0n1' +#storage_device='/dev/sda' +#storage_device='/dev/mmcblk0' # encryption password -encryption_password='bapede bupi' -host='motop' -root_password='foo' -user='moritz' -user_password='foo' -email='moritzmuench@mailbox.org' +encryption_password='foobar' +host='foobar' +root_password='foobar' +user='foobar' +user_password='foobar' +email='foo@bar.org' boot_mode='efi' +#boot_mode='bios' + # packages to install -base='base base-devel grub efibootmgr xf86-input-synaptics stow tmux git vim python3 go wpa_supplicant dialog gnome gnome-tweaks libreoffice-fresh virtualbox virtualbox-guest-iso firefox hunspell-de nextcloud-client evolution vlc gst-libav gst-plugins-ugly progress gimp cups samsung-unified-driver sane xsane tlp tp_smapi acpi_call ntfs-3g gimagereader-gtk tesseract-date-eng tesseract-data-deu nmap youtube-dl octave kdenlive pkgfile signal-desktop-bin telegram-desktop-bin freecad zotero slic3r-bin downgrade pmount' +base='base base-devel grub efibootmgr xf86-input-synaptics stow tmux git vim python3 go wpa_supplicant dialog gnome gnome-tweaks libreoffice-fresh virtualbox virtualbox-guest-iso firefox hunspell-de nextcloud-client evolution vlc gst-libav gst-plugins-ugly progress gimp cups samsung-unified-driver sane xsane tlp tp_smapi acpi_call ntfs-3g gimagereader-gtk tesseract-date-eng tesseract-data-deu nmap youtube-dl octave kdenlive pkgfile signal-desktop-bin telegram-desktop-bin freecad zotero slic3r-bin downgrade pmount ttf-ms-fonts openvpn networkmanager-openvpn net-tools networkmanager-openconnect skypeforlinux-stable-bin fritzing python-pipenv' # helper +cd $(dirname "${BASH_SOURCE[0]}") +source bsf/bsf s() { $* >/dev/null; } S() { $* >/dev/null 2>&1; } e() { echo -n " ::: $* ... "; } @@ -28,6 +32,8 @@ else storage="$storage_device" fi +root + e "checking internet connection" s ping -c1 archlinux.org @@ -211,7 +217,30 @@ s git config --global user.email "$email" s git config --global user.name "$user" d -#e "restoring config" +e "disable touchscreen" +s echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="2386", ATTRS{idProduct}=="3114", ATTR{authorized}="0" > /etc/udev/rules.d/80-touchscreen.rules +d + +#TOTEST: restore git .files +e "restoring config" +cd "$HOME" +s mkdir -p it +cd it +s git clone https://willipink.eu/git/moritz/.files.git +cd .files +s bash ./setup.sh -bs +d + +#TODO +## enabled gnome-extensions, * are not installed by default +#*Hide app icon +#*Hide activities button +#Removable drive menu +#Places status indicator +#*Arch Linux updates indicator +#-> einstellungen -> erweiterte einstellungen -> Kommando, um Pakete zu aktualisieren: +#gnome-terminal -e 'yay -Syu --noconfirm --nocleanmenu --nodiffmenu --noeditmenu --noremovemake --norebuild --noredownload' +#+Tray icon exit EOF