This is a collection of dotfiles and scripts for my bspwm setup
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 
 
Riyyi a282e01692 Neovim: Add rainbow-mode, improve diffview colors 1 місяць тому
.config Neovim: Add rainbow-mode, improve diffview colors 1 місяць тому
.local Scripts: Play video from clipboard 4 місяці тому
.mozilla/firefox Config: Fix YouTube channel videos being hidden accidently 1 рік тому
etc Config: Decrease journald max logging storage 2 роки тому
usr Config: Actually lock the screen before going to sleep, using systemd 2 роки тому
README.org Config: Actually lock the screen before going to sleep, using systemd 2 роки тому
packages Config: Actually lock the screen before going to sleep, using systemd 2 роки тому
screenshot.png Update screenshot 6 роки тому

README.org

Dotfiles

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

/riyyi/dotfiles/src/branch/master/screenshot.png

[Archived] dotfiles.sh: script to manage dotfiles.

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

Pre-reboot

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
$ wifi-menu

Trim:

$ systemctl enable fstrim.timer

Give wheel users sudo permission:

$ sudo EDITOR=vim visudo
(add)Defaults insults
(uncomment)%wheel ALL=(ALL) ALL

Add user:

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

Pacman colors:

$ vim /etc/pacman.conf
(uncomment)Color

Post-reboot:

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

Git:

$ git config --global user.email "<email address>"
$ git config --global user.name "<name>"

Lock before sleep:

$ sudo systemctl enable i3lock@<user>

Tlp:

$ systemctl enable tlp.service

$ vim /etc/tlp.conf
(edit)SOUND_POWER_SAVE_ON_BAT=0

Mail gpg:

$ gpg --decrypt <backup.pgp> | gpg --import
$ gpg --search-keys <email address>

Give permission to /dev/ttyUSB0 to PlatformIO:

$ gpasswd -a <user> uucp

Give permissions to change the brightness to 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