Skip to content

miyakogi/dotfiles

Repository files navigation

Dotfiles

My dotfiles for Arch Linux system.

Display managers are not supported. You should use TTY login at tty-1 (default) and then select Shell/DE/WM.

Install

At first, confirm that base and base-devel packages are installed:

sudo pacman -S base base-devel

Then, on Arch Linux, install packages by run:

./arch-install.sh

This installs all required packages. Other Distributions (including Arch-Derivatives) are not supported. If you still want to try, check packages in arch-install.sh script and install them manually.

Then to make config files for supported applications, run:

./install.py

Install Fonts not in AUR

Install Explex font by this PKGBUILD.

Setup

Enable TTY Login

Disable display managers (e.g. SDDM or GDM) if enabled.

Enable Systemd User Services

Enable systemd services for graphical session.

systemctl --user enable --now autotiling.service dunst.service fcitx5.service swayidle.service hypridle.service

Set Wallpapers and Lock Screen Images

Use wallpaper for each WM as below:

  • sway: $XDG_CONFIG_HOME/sway/bg{,_4k}.png
  • hyprland: $XDG_CONFIG_HOME/hypr/bg{,_4k}.png

Use lock screen images for each WM as below:

  • sway/hyprland: $XDG_CONFIG_HOME/hypr/lock{,_4k}.png

Monitor settings are hard-coded for my environment (DP-1 for 4K 144Hz main monitor and HDMI-A-1 for 2560x1600 60Hz sub monitor).

Font Setting

Add ~/.config/fontconfig/fonts.conf if not exist, and add the below line in the <fontconfig> section:

<include ignore_missing="yes">conf.d</include>

Keyboard Setting (Optional)

This repository includes keyd setting files for better key setting. To use them, you need to manually setup configuration.

WARNING: This setting will change system-wide keyboard configuration, be careful. WARNING: Before applying this setting, read and understand keyd document.

  1. Install keyd: paru -S keyd
  2. Create Symlink to /etc/keyd/default.conf:
sudo mkdir -p /etc/keyd

cd /path/to/cloned/dotfiles

# bash
sudo ln -s -v "$(realpath keyd/default.conf)" /etc/keyd/default.conf 

# fish
sudo ln -s -v (realpath keyd/default.conf) /etc/keyd/default.conf 

sudo systemctl enable --now keyd.service
sudo keyd reload  # optional