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 9723ee2b8c Add mysql socket comment to backup.sh 5 years ago
.config Fix polybar tray 5 years ago
.emacs.d Add cmake syntax highlighting, org exporters to Emacs 5 years ago
.mozilla/firefox Add Firefox setup readme 5 years ago
.scripts Add mysql socket comment to backup.sh 5 years ago
etc Add and implement inputctl.sh, remove touchpad i2c_hid module blacklist 6 years ago
.stalonetrayrc Add bspwm, stalonetray config, bspwm hotkeys 6 years ago
README.md Fix brightnessctl permissions in config, change nano to vim 6 years ago
dotfiles.sh Implement Arch move from base group -> package 5 years ago
packages Add polybar config 5 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