From da12e4828f8109b94c560bd49b45a93abe231d3e Mon Sep 17 00:00:00 2001 From: Hassan Afify Date: Sat, 21 Dec 2019 15:47:53 +0300 Subject: [PATCH] [fix] remove md files, update git config files --- .gitconfig | 2 +- .gitignore | 1 - .scripts/install_arch.md | 109 ----------------------------------------------- README.md | 56 ------------------------ 4 files changed, 1 insertion(+), 167 deletions(-) delete mode 100644 .scripts/install_arch.md delete mode 100644 README.md diff --git a/.gitconfig b/.gitconfig index 07dfa7d..db998f0 100644 --- a/.gitconfig +++ b/.gitconfig @@ -103,7 +103,7 @@ lg = log --all --graph --pretty=format:"%C(#cd9a00)%h\\%C(#0080ff)\\ <%an>\\ %C(#17b062)(%cr)%d\\ \\%C(#c0d6de)%s" lf = log -p stat = !git diff --stat $(git merge-base HEAD \"master\") - plog = log --graph --pretty=format:'%h -%d %s %n' --abbrev-commit --date=relative --branches + fh = log --follow -p -- # Fetch f = fetch -v github # verbose mode diff --git a/.gitignore b/.gitignore index 719fd01..0a18b3a 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,6 @@ *cache* .Xauthority .abook -.cache .config/GIMP .config/balena* .config/dconf/ diff --git a/.scripts/install_arch.md b/.scripts/install_arch.md deleted file mode 100644 index f9cf969..0000000 --- a/.scripts/install_arch.md +++ /dev/null @@ -1,109 +0,0 @@ -## install Arch - -##### [1] Checking Internet connect -- wifi-menu -- ping 8.8.8.8 -##### [2] Update the system clock -- timedatectl set-ntp true -- systemctl start systemd-timesyncd.service -- hwclock --show -- hwclock --systohc # set hardware clock from system clock -##### [3] Disk partition -- lsblk -- gdisk /dev/nvme0n1 -- boot +550M -- root +25G -- swap +2G -- efi => EF00 -- linux system => 8300 -- swap => 8200 -- o => clean -- n => new -- w => write -- mkfs.fat -F32 /dev/nvme0n1p1 # boot -- mkswap /dev/sda2 # swap -- swapon /dev/sda2 # swap -- mkfs.ext4 /dev/sda3 # root -- mkfs.ext4 /dev/sda4 # home -##### [4] Mount the file system -- mount /dev/sda4 /mnt #root -- mkdir /mnt/home -- mkdir /mnt/boot -- mount /dev/sda3 /mnt/home # home -##### [5] Install base -- pacstrap /mnt base base-devel linux vim sudo dialog - ##### [6] Fstab - - genfstab -U /mnt >> /mnt/etc/fstab - - discard - ##### [7] mount to new installation - - arch-chroot /mnt - ##### [8] Time zone, language, time - - ln -sf /usr/share/zoneinfo/Asia/Riyadh /etc/localtime - - hwclock --systohc - - echo en_US.UTF-8 UTF-8 > /etc/locale.gen - - locale-gen - - echo LANG=en_US.UTF-8 > /etc/locale.conf - ##### [9] Create root password - - passwd - ##### [11] Grub efi settings - - mkdir /boot/efi - - mount /dev/sda1 /boot/efi - - pacman -S grub efibootmgr dosfstools mtools - - grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Arch --recheck - - grub-mkconfig -o /boot/grub/grub.cfg - - pacman -S linux - ##### [12] Add user - - useradd -m -g users -s bin/bash/ hassan - - passwd hassan - - visudo echo ' hassan ALL=(ALL) ALL' - ##### [13] Install main packages - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - - BEGIN EDIT HERE - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - - sudo pacman -S - < ~/.man/install_pacman_main.txt - - git clone https://github.com/Afify/install_arch.git - - sh install.sh - -# dwm -# st -# surf -# login -# xinput -# icon theme - - - - - - - ##### [14] enable services - - systemctl enable NetworkManager - - systemctl enable lightdm - - systemctl enable bluetooth - ##### [15] Change the hostname - - hostnamectl set-hostname alien - ##### [16] Reboot - - umount -R /mnt - - reboot - --- - ### After login - - sudo mkdir -p /mnt/data - - sudo mount /dev/sda1 /mnt/data - - sh /mnt/data/config/.scripts/deploy_dotfiles.sh - - sh /mnt/data/config/.scripts/deploy_theme_icons_keyb.sh' - - sh ~/.scripts/add_data_to_fstab.sh - - sh ~/.scripts/install_yaourt.sh - - sh ~/.scripts/install_aur_main.sh - --- - ##### [6] optional packages - - virtualbox - - screen recorder - - obs-studio - - hashcat - - wireshark - - steam - #bluetoothctl power on& - #blueman-manager& diff --git a/README.md b/README.md deleted file mode 100644 index 1133f83..0000000 --- a/README.md +++ /dev/null @@ -1,56 +0,0 @@ -Dotfiles -========= - -- [Arch linux] OS -- [dwm] window manager -- [surf] web browser -- [st] terminal emulator -- [dmenu] app luncher ++ -- [slock] lock screen -- [xbanish] hide the X11 mouse cursor -- [sxiv] image viewer -- [sent] plaintext presentation -- [vim] text editor -- [mupdf] pdf viewer -- [mpv] video audio player -- [vifm] file manager -- [calcurse] calender -- [neomutt] mail client -- [uget] download manager -- [transmission] BitTorrent client -- [newsboat] Ncurses RSS aggregator -- [dunst] notification -- [terminus-font] font -- [.scripts/] my scripts - -under testing -------------- -- [OpenBSD] OS -- [fd] finder replace find command -- [sc] spreadsheet calculator - -[Arch linux]: -[dwm]: -[surf]: -[st]: -[dmenu]: -[slock]: -[xbanish]: -[sxiv]: -[sent]: -[vim]: -[mupdf]: -[mpv]: -[vifm]: -[calcurse]: -[neomutt]: -[uget]: -[transmission]: -[newsboat]: -[dunst]: -[terminus-font]: -[.scripts/]: - -[OpenBSD]: -[fd]: -[sc]: -- 2.11.4.GIT