You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Riyyi
877d51c84d
|
7 years ago | |
---|---|---|
.config | 7 years ago | |
.local/share/fonts | 7 years ago | |
.scripts | 7 years ago | |
etc | 7 years ago | |
usr/share/vim/vimfiles | 7 years ago | |
.gtkrc-2.0 | 7 years ago | |
README.md | 7 years ago | |
dotfiles.sh | 7 years ago | |
packages | 7 years ago | |
screenshot.png | 7 years ago |
README.md
Dotfiles
This is a collection of dotfiles and scripts for my i3 setup, previewed below:
Software:
All packages that are manually installed via pacman -S, can be found in the packages file, dependencies are not included.
Configuration:
Below are all the system changes that were made.
$ = command
<> = variable
() = action
Predictable network interface names:
$ ln -s /dev/null /etc/systemd/network/99-default.link
Network:
$ systemctl enable netctl-auto@wlan0.service
Give wheel users sudo permission:
$ nano /etc/sudoers
(add)Defaults insults
(uncomment)%wheel ALL=(ALL) ALL
Add user:
$ useradd -m -G wheel -s /bin/bash <username>
$ passwd <username>
Installing pacaur:
$ gpg --recv-keys <pubkey>
$ git clone cower
$ cd cower
$ makepkg -si
$ cd ..
$ git clone pacaur
$ cd pacaur
$ makepkg -si
$ cd ..
$ pacaur -S cower pacaur
$ rm -rf cower pacaur
Switch shell to zsh:
$ chsh -s /bin/zsh
Pacman colors:
$ nano /etc/pacman.conf
(uncomment)Color
Git:
$ git config --global user.email "<email address>"
$ git config --global user.name "<name>"
Tlp:
$ systemctl enable tlp.service
$ systemctl enable tlp-sleep.service
$ nano /etc/default/tlp
(edit)SOUND_POWER_SAVE_ON_BAT=0
Trim:
$ systemctl enable fstrim.timer
Clock internet sync:
$ timedatectl set-ntp true
Mail gpg:
$ gpg --decrypt <backup.pgp> | gpg --import
$ gpg --search-keys <email address>
Give permission to /dev/ttyUSB0 for PlatformIO:
$ gpasswd -a <user> uucp
Set Firefox as default browser:
$ xdg-settings set default-web-browser firefox.desktop
Prevent bricking motherboard by mounting efivars read-only:
https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface#Mount_efivarfs
$ nano /etc/fstab
(add)efivarfs /sys/firmware/efi/efivars efivarfs ro,nosuid,nodev,noexec,noatime 0 0