My dotfiles
Find a file
2025-01-24 16:39:23 +01:00
.config Move the vim configuration to a directory within the XDG Base Directory Specification 2025-01-24 16:39:23 +01:00
bin Improve the wallpaper script even more 2025-01-04 11:45:36 +01:00
.abcde.conf Adding abcde config. 2015-11-08 18:50:52 +01:00
.bash_logout bash 2013-03-23 14:48:31 +01:00
.bash_profile reducing some "if" 2015-02-09 22:27:02 +01:00
.bashrc Add Debian's path for liquidprompt 2022-08-02 17:28:05 +02:00
.git_commit_msg.txt Add a memento to the git commit message template 2016-07-30 19:50:22 +02:00
.gitconfig Indent using tabs 2024-11-15 22:59:22 +01:00
.gitignore Move the vim configuration to a directory within the XDG Base Directory Specification 2025-01-24 16:39:23 +01:00
.psqlrc Adding an awesome psql prompt. 2015-02-11 17:45:43 +01:00
.signature Remove OpenPGP key 2024-08-17 16:59:24 +02:00
.tmux.conf Fixing tmux default-terminal 2015-10-15 12:00:29 +02:00
.zshenv Rationalize the use of custom config files 2021-09-12 12:24:06 +02:00
README.md Move the vim configuration to a directory within the XDG Base Directory Specification 2025-01-24 16:39:23 +01:00

dotfiles

This is just a bunch of dotfiles.

ArchLinux packages

Installing packages:

# Base utils
pacman -S bat duf eza htop inetutils jq kitty-terminfo neovim openssh tmux transmission-cli tree wget whois zellij zsh zsh-syntax-highlighting
pacman -S shared-mime-info xdg-user-dirs
pacman -S reflector
pacman -S skim
pacman -S yazi unarchiver ffmpegthumbnailer fd ripgrep-all poppler zoxide
# Rust
pacman -S cargo-audit cargo-outdated cargo-release rustup
# Python
pacman -S python ruff uv
# CLI software
pacman -S dog exiv2 gnupg imagemagick mkcert ncdu nmap pass playerctl python-shodan python-weasyprint qrencode rsync shellcheck sqlmap ssh-audit xsv yt-dlp
# Hyprland
pacman -S hyprland xdg-desktop-portal-hyprland qt5-wayland qt6-wayland
pacman -S pipewire wireplumber pipewire-audio pipewire-alsa pipewire-pulse pipewire-jack pipewire-x11-bell
pacman -S brightnessctl dunst fuzzel hyprpaper otf-font-awesome udiskie waybar wl-clipboard
pacman -S grim slurp
pacman -S swaylock
# Graphical software
pacman -S atril firefox gedit gimp handbrake kitty mpv openshot pcmanfm-gtk3 rhythmbox ristretto sweethome3d tumbler thunderbird vlc
pacman -S gvfs xarchiver
# Fonts
pacman -S noto-fonts noto-fonts-emoji ttf-dejavu ttf-inconsolata ttf-liberation ttf-roboto
# Archives
pacman -S unrar p7zip zip unzip minizip
# Command-line copy/paste utilities
pacman -S wl-clipboard xclip
# MS-DOS
pacman -S dosfstools mtools
# AUR
pacman -S pacman-contrib namcap
# Smartcards
pacman -S ccid libnfc mfoc opensc pcsc-tools pcsclite

Arch User Repository

Installing yay:

mkdir -p "$HOME/projects/builds"
git clone "https://aur.archlinux.org/yay.git" "$HOME/projects/builds/yay"
cd "$HOME/projects/builds/yay"
makepkg
pacman -U "yay-<version>-x86_64.pkg.tar.zst"

Installing packages:

# Base utils
yay -S liquidprompt vim-plug
# Printer
yay -S brother-dcp1610w brscan-skey brscan4
# Graphical software
yay -S cardpeek

vim / neovim

Compatibility workaround for NeoVim:

ln -s .config/vim/vimrc .vimrc

Plugins are managed by vim-plug, which is installed from the AUR.

vim +PlugInstall # install all plugins
vim +PlugUpdate  # install or update all plugins
vim +PlugClean   # remove plugins no longer in the list

Wallpaper

The wallpaper is randomly selected from images (png, jpg and jpeg) located in the $HOME/pictures/wallpapers/ directory.

Specific wallpapers for winter can be set in the winter sub-directory.

/etc/locale.conf

cat >/etc/locale.conf << EOF
LANG=en_US.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
EOF

rtkit-daemon

By default, rtkit-daemon tends to flood the system logs with not very useful notifications:

déc. 31 14:16:56 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 processes of 1 users.
déc. 31 14:16:56 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 processes of 1 users.
déc. 31 14:17:00 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 processes of 1 users.
déc. 31 14:17:00 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 processes of 1 users.

This can be fixed by setting a higher log level:

sudo mkdir "/etc/systemd/system/rtkit-daemon.service.d"
echo "[Service]\nLogLevelMax=4" | sudo tee /etc/systemd/system/rtkit-daemon.service.d/log.conf >/dev/null
sudo systemctl daemon-reload
sudo systemctl restart rtkit-daemon.service

NetworkManager

To deactivate WiFi when a wired connection is up, have a look at example 15 from man 7 nmcli-examples.

TL; DR: copy and paste a script in /etc/NetworkManager/dispatcher.d/70-wifi-wired-exclusive.sh and set it executable.