This is a collection of dotfiles and scripts for my bspwm setup
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 128b245058 Add linux-firmware to packages 4 years ago
.config Add git config 4 years ago
.emacs.d Add :defer t to decreate start-up time 4 years ago
.mozilla/firefox Fix github tabs 4 years ago
.scripts Add clickable date.sh to polybar config 4 years ago
etc Cleanup and small tweaks 5 years ago
README.md Fix brightnessctl permissions in config, change nano to vim 6 years ago
dotfiles.sh Create directory before copying in dotfiles.sh 4 years ago
packages Add linux-firmware to packages 4 years ago
screenshot.png Update screenshot 6 years ago

README.md

Dotfiles

This is a collection of dotfiles and scripts for my i3 setup, previewed below:

Screenshot

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

Boot defaults:

$ vim /boot/loader/loader.conf
timeout 3
default arch

Boot config:

<uuid> = $ blkid # from the / 'root' partition
$ vim /boot/loader/entries/arch.conf
title Arch Linux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options root=PARTUUID=<uuid> rw

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:

$ vim /etc/sudoers
(add)Defaults insults
(uncomment)%wheel ALL=(ALL) ALL

Add user:

$ useradd -m -G wheel -s /bin/bash <username>
$ passwd <username>

Installing AUR helper:

$ git clone https://aur.archlinux.org/trizen.git
$ cd trizen
$ makepkg -si
$ cd ..

$ trizen -S trizen
$ rm -rf trizen

Switch shell to zsh:

$ chsh -s /bin/zsh

Pacman colors:

$ vim /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

$ vim /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

Give permisson to change brightness for brightnessctl:

$ gpasswd -a <user> input
$ gpasswd -a <user> video

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

$ vim /etc/fstab
(add)efivarfs    /sys/firmware/efi/efivars    efivarfs    ro,nosuid,nodev,noexec,noatime 0 0