dotfiles/README.md

99 lines
2.3 KiB
Markdown

# dotfiles
This is my ArchLinux configuration.
Tested on Acer Travelmate X349-G2-M and Lenovo Thinkpad E14 G5.
First one was a Intel machine, the current one a AMD machine, hence the changes
towards AMD graphics.
## Install dependencies
```bash
paru -S syncthing feh bottom zellij eza bat maim vlc python-pillow i3lock-color \
vlc fd ripgrep unzip npm bacon simple-scan dunst picom zathura-pdf-mupdf dust \
adobe-source-han-sans-jp-fonts obs-studio git zsh wget lightdm zathura pcmanfm \
lightdm-webkit2-greeter xorg-server i3-gaps xorg-xbacklight xorg-xrandr xclip \
alsa-utils pulseaudio pulseaudio-alsa pulseaudio-bluetooth playerctl xdotool \
pavucontrol btrfs-progs udiskie blueman acpi acpid tlp conky stow openssh xsel \
firefox veracrypt keepassxc ranger rofi chromium delta-git tesseract-data-eng \
neofetch xf86-video-amdgpu lib32-mesa libva-mesa-driver lxappearance mesa-vdpau \
lib32-libva-mesa-driver lib32-mesa-vdpau tesseract-data-eng p7zip pandoc-cli \
nvtop wireguard-tools nmap bind wireshark-qt iperf3 cargo-flamegraph amd-ucode \
ethtool smartmontools adobe-source-han-sans-kr-fonts docker docker-compose \
docker-buildx systemd-resolvconf tailscale cargo-bloat brotherconfig4
```
## Picture
[[./resources/24-03-15_16-06-52-alacritty.png]]
## Permissions
### sudo
```sh
echo "%$SUDOGRP ALL=(ALL) ALL" >> /etc/sudoers
```
### Groups
```sh
usermod -a -G network $USER
usermod -a -G video $USER
usermod -a -G docker $USER
usermod -a -G $SUDOGRP $USER
```
## Get Started
```sh
git clone https://git.tudattr.dev/tudattr/dotfiles .dotfiles
cd .dotfiles
stow config
stow vim
stow zsh
```
## GUI
I'm using pcmanfm with [[Sweet - New Flavor](https://www.gnome-look.org/p/1253385/)].
The downloaded file needs to be extracted into `~/.themes/`.
The Icons are from the related icon set: [[Candy Icons](https://www.gnome-look.org/p/1305251)].
## ohmyzsh
Plugins for ohmyzsh
### eza
```sh
git clone https://github.com/z-shell/zsh-eza ~/.oh-my-zsh/custom/plugins/zsh-eza
```
## Environment
Add
```sh
VISUAL=/usr/bin/nvim
EDITOR=/usr/bin/nvim
```
to `/etc/environment`.
## Systemd
Enable:
- tlp
- acpid
## Printer MFC
I notice this is becoming more of a documentation on how to set my own laptop,
but...
¯\_(ツ)_/¯
```sh
sudo brsaneconfig4 -a name=MFC-L2710DW model=MFC-L2710DW nodename=192.168.50.219
```