diff --git a/.bashrc b/.bashrc index 1b6492c..9fe85bc 100644 --- a/.bashrc +++ b/.bashrc @@ -12,6 +12,9 @@ alias update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg' alias c='clear' alias w='~/dotfiles/scripts/updatewal.sh' +alias instp='sudo pacman -S' +alias insty='yay -S' + # APPLICATIONS alias ls='exa -al' alias mutt='neomutt' diff --git a/info.txt b/info.txt index 9544451..ecdb6f7 100644 --- a/info.txt +++ b/info.txt @@ -4,37 +4,9 @@ xrandr --rate 120 Start VM without sudo virsh --connect qemu:///system start win10 -sudo usermod -aG libvirt raabe - -Packages: -echo "Install Pacman Packages:" -pacman -S qtile neomutt rofi git openssh exa bat neomutt htop nitrogen dunst ranger ueberzug mpv freerdp spotifyd xfce4-power-manager - -Install yay: -echo "Install yay" -sudo git clone https://aur.archlinux.org/yay-git.git /opt -sudo chown -R raabe:raabe /opt/yay-git -echo "cd /opt/yay-git" -echo "makepkg -si" - -echo "Install yay packages" -yay -S picom pywal spotify-tui yaru-gtk-theme yaru-icon-theme - -echo "Install Pip Packages:" - -echo "Install dotfiles:" - -echo "Install wallpapers:" - Disable Suspend https://wiki.archlinux.org/title/Power_management#Disabling_suspend -Promt: -https://starship.rs/ - -Add symlink from dotfiles folder into .config -ln -s /home/raabe/dotfiles/polybar/ ~/.config - Git Crendential Helper Store (to store credentials) git config credential.helper store @@ -43,6 +15,7 @@ Delete Emails with d + $ to sync DISABLE Suspend and Hibernation sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target + REBOOT & CHECK Status sudo systemctl status sleep.target suspend.target hibernate.target hybrid-sleep.target diff --git a/install.sh b/install.sh deleted file mode 100644 index e69de29..0000000 diff --git a/scripts/install.sh b/scripts/install.sh new file mode 100644 index 0000000..3d0f3f3 --- /dev/null +++ b/scripts/install.sh @@ -0,0 +1,51 @@ +#!/bin/bash + +ln -sf /usr/share/zoneinfo/Berlin/ /etc/localtime +hwclock --systohc +sed -i '178s/.//' /etc/locale.gen +locale-gen +echo "LANG=en_US.UTF-8" >> /etc/locale.conf +echo "KEYMAP=de_latin1" >> /etc/vconsole.conf +echo "arch" >> /etc/hostname +echo "127.0.0.1 localhost" >> /etc/hosts +echo "::1 localhost" >> /etc/hosts +echo "127.0.1.1 arch.localdomain arch" >> /etc/hosts +echo root:sancho | chpasswd + +# You can add xorg to the installation packages, I usually add it at the DE or WM install script +# You can remove the tlp package if you are installing on a desktop or vm + +ipacman -S xorg xorg-xinit grub efibootmgr networkmanager network-manager-applet dialog wpa_supplicant mtools dosfstools base-devel linux-headers avahi xdg-user-dirs xdg-utils gvfs gvfs-smb nfs-utils inetutils dnsutils bluez bluez-utils cups hplip alsa-utils pipewire pipewire-alsa pipewire-pulse pipewire-jack bash-completion openssh rsync reflector acpi acpi_call tlp virt-manager qemu qemu-arch-extra edk2-ovmf bridge-utils dnsmasq vde2 openbsd-netcat iptables-nft ipset firewalld flatpak sof-firmware nss-mdns acpid os-prober ntfs-3g terminus-font pip exa bat htop ranger + +pacman -S --noconfirm xf86-video-amdgpu +# pacman -S --noconfirm nvidia nvidia-utils nvidia-settings + +grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB #change the directory to /boot/efi is you mounted the EFI partition at /boot/efi + +grub-mkconfig -o /boot/grub/grub.cfg + +systemctl enable NetworkManager +systemctl enable bluetooth +systemctl enable cups.service +systemctl enable sshd +systemctl enable avahi-daemon +systemctl enable tlp # You can comment this command out if you didn't install tlp, see above +systemctl enable reflector.timer +systemctl enable fstrim.timer +systemctl enable libvirtd +systemctl enable firewalld +systemctl enable acpid + +useradd -m ermanno +echo ermanno:password | chpasswd +usermod -aG libvirt ermanno + +echo "ermanno ALL=(ALL) ALL" >> /etc/sudoers.d/ermanno + + +printf "\e[1;32mDone! Type exit, umount -a and reboot.\e[0m" + + + + + diff --git a/vim/.vimrc b/vim/.vimrc index 97fe494..668a6da 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -31,8 +31,11 @@ set nobackup " Do not let cursor scroll below or above N number of lines when scrolling. set scrolloff=10 +" Set Mouse support +set mouse=a + " Do not wrap lines. Allow long lines to extend as far as the line goes. -set nowrap +" set nowrap " While searching though a file incrementally highlight matching characters as you type. set incsearch