Skip to content

mohxmd/dotfiles

Repository files navigation

Dotfiles

Minimal dotfiles with profile-based symlinking.

Structure

  • ./.config, ./.local, and ./.zshrc: linkable config files
  • ./assets: non-link files (wallpapers, fonts, avatars, images, ICC)

Install

git clone https://github.com/mohxmd/dotfiles.git ~/dotfiles
cd ~/dotfiles
./setup.sh --profile auto

Profiles

  • kde: links Plasma + Code + VSCodium + nvim + core shell setup
  • gnome: links Code + nvim + core shell setup
  • mac: links Code + nvim + core shell setup
  • minimal: links core shell setup only

core shell setup includes:

  • .zshrc
  • .config/starship.toml
  • .config/zsh/modules/adb-device.zsh
  • .local/bin/fix-hdmi-audio
  • .local/bin/search
  • .local/bin/image-request
  • .local/bin/video-to-ascii
  • .local/bin/cfd-init
  • .config/pgcli/config (pgcli config)

plasma (KDE specific setup) includes:

  • .config/plasma-org.kde.plasma.desktop-appletsrc (Plasma config)
  • .local/share/plasma/plasmoids (Plasma widgets)
  • .local/share/color-schemes (Global themes including BuraqDark & BuraqLight)
  • .local/share/konsole (Konsole profiles)
  • .local/share/org.kde.syntax-highlighting/themes (Kate themes)

Useful options

./setup.sh --profile gnome --without code
./setup.sh --profile minimal --with nvim
./setup.sh --dry-run --profile kde

Refresh repo from current machine

./scripts/sync-current-config.sh

Arch Run Tasks

./run --list
./run dev
./run firewall
./run dns-cloudflare
./run bluetooth
./run cloudflared
./run docker
./run java
./run postgres
./run rust
./run bun
./run nvm-node
./run zsh
./run dotfiles auto

Full bootstrap:

./arch-bootstrap

Optional bootstrap extras:

ENABLE_DNS_CLOUDFLARE=1 ENABLE_BLUETOOTH=1 ./arch-bootstrap

Cloudflared multi-project templates:

cfd-init my-tunnel api.example.com http://localhost:8080
CLOUDFLARED_CONFIG=./cloudflared/configs/my-tunnel.yml ./run cloudflared

Java notes:

./run java
# default env is java-17-openjdk for React Native/Android compatibility
# override when needed:
JAVA_DEFAULT_ENV=java-24-openjdk ./run java

Credits

About

⚙️ i run it my way

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors