This repository uses stow
to manage the dotfile.
stow
will manage the symbolic linking.
For this reason each package
has to contain the target directory structure.
To link a package
run
cd dotfiles
stow nvim
This will only work if /dotfile
is located in ~/
.
- Amethyst - simulate tiling window manager
- Yazi - tui file manager
- lazydocker - docker tui
- WezTerm - terminal emulator
- bat - cat alternative
- ripgrep - grep alternative
- eza - ls alternative
- asdf - universal version manager for languages
- fd - find alternative
- Typst - fast LaTeX alternative
# rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup update
# sources
git clone https://github.com/sxyazi/yazi --depth=1
cargo build --release --locked
# put it on the path
sudo cp target/release/yazi /usr/local/bin/ya
sudo cp target/release/ya /usr/local/bin/yacli
- Sway - windows manager
- Mako - notifications
- Hunter / joshuto - terminal file browser
- Redshift - reduces blue light
- Alacritty - terminal emulator in rust
- Swaylock - screen locker for sway
- Waybar - status bar for wayland
- macbook-lighter - screen/keyboard backlight helper
Setup via BT tethering as WiFi will not work yet.
Optimize pacman mirros for germany.
sudo pacman-mirrors -c Germany
Install yay
sudo pacman -S yay
Install WiFi driver
broadcom-wl-dkms
WiFi should work now
Install dev package (used by some AUR packages)
yay -S base-devel
Install main font
yay -S nerd-fonts-jetbrains-mono
Install sway and the rest
yay -S sway swayidle swaylock swaybg waybar mako alacritty hunter redshift-wayland-git
Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Install powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
Install tlp for laptop power management
yay -S tlp
Node Version Manager, Rustup
yay -S nvm rustup
SDKMAN
curl -s "https://get.sdkman.io" | bash
Elliptic Curve SSH Key (source)
ssh-keygen -o -a 256 -t ed25519 -C "$(hostname)-$(date +'%d-%m-%Y')"
Elliptic Curve GPG Key (source)
gpg2 --expert --full-gen-key
Also checkout the Archwiki gpg page about how to configure pinentry-tty
to allow gpg key password in shell.
For more information use:
man 5 sway
Test mako styling with
notify-send 'Hello world!' 'This is an example notification.'
Use mbpfan as of 2020-05-30 only the repo version (self build) works
If it got fixed use:
yay -S mbpfan-git
Use the following crontab to schedule the backups.
When using cronie/anachron make sure to not include the .sh
.
# mm hh DD MM W
0 6-23/2 * * * /home/.../backup
To force darkmode on websites, visit about:config
and create a new entry with the value of 1
.
ui.systemUsesDarkTheme
To disable fn-look use:
echo 2 | sudo tee -a /sys/module/hid_apple/parameters/fnmode
Or use the alias:
alias fn-lock="echo 2 | sudo tee -a /sys/module/hid_apple/parameters/fnmode"
alias fn-lock-off="echo 1 | sudo tee -a /sys/module/hid_apple/parameters/fnmode"
fn-lock
fn-lock-off
There is an issue with the power management where the os wakes up immediately after standby sometimes.
Check the wake up settings with
cat /proc/acpi/wakeup
Most of the time the offender is the XHC1
.
Disable it using:
echo XHC1 > /proc/acpi/wakeup
eza
instead ofls
bat
instead ofcat
bottom
instead oftop
tokei
for source code statisticsripgrep
better grepfd
better find
Planned
zoxide
smart cd