Skip to content

mylinuxforwork

Complete hyprland desktop environment solution, imo a bit convoluted, i.e. it ships configuration (and conflicts with own dotfiles) for nvim, kitty, waybar, rofi etc.

  • Website
  • Docs
  • mylinuxforwork/dotfiles
  • Recent activity, recent releases, ~1.7k commits
  • AUR packages: ml4w-hyprland, ml4w-hyprland-git from the ml4w author
  • Cons: Installation needed, some dotfiles are just templates
  • Git checkout local at ~/projects/hyprland/distributions/mylinuxforwork/dotfiles
  • Backup dir: .ml4w-hyprland/backup/
  • Settings dir: ~/.config/ml4w which is a symlink to ~/.mydotfiles/com.ml4w.dotfiles.stable/.config/ml4w, which makes it hard to version custom config in own dotfiles

Install

Install the ml4w dotfiles installer:

flatpak install com.ml4w.dotfilesinstaller

Run the ml4w dotfiles installer and add the stable dotfiles URL (https://raw.githubusercontent.com/mylinuxforwork/dotfiles/main/hyprland-dotfiles-stable.dotinst):

flatpak run com.ml4w.dotfilesinstaller

Run the setup script:

~/.var/app/com.ml4w.dotfilesinstaller/data/downloads/com.ml4w.dotfiles.stable/setup/setup.sh

Continue with the dotfiles installer.

Locations:

  • Upstream ml4w dotfiles: ~/.mydotfiles/com.ml4w.dotfiles.stable/
  • Custom ml4w dotfiles: ~/.config/ml4w-custom-dotfiles/
  • State / cache dir: ~/.ml4w-hyprland/
  • Settings: ~/.var/app/
    • ~/.config/com.ml4w.calendar
    • ~/.config/com.ml4w.hyprlandsettings
    • ~/.config/ml4w
  • ~/.local/share/com.ml4w.packagesinstaller

Update

Steps:

  • Open the Dotfiles Installer (from launcher or with flatpak run com.ml4w.dotfilesinstaller)
  • Click on the Refresh Icon to start the update.
  • Deselect Backup and Restore
  • Protect your Cusomizations
    • ~/.zshrc
    • ~/.bashrc
    • ~/.config/kitty
    • ~/.config/zshrc
    • ~/.config/walker

After update, chezmoi apply these files:

chezmoi apply ~/.mydotfiles/com.ml4w.dotfiles.stable/.config/hypr/conf/custom.conf \
  ~/.mydotfiles/com.ml4w.dotfiles.stable/.config/ml4w/settings/waybar-theme.sh \
  ~/.mydotfiles/com.ml4w.dotfiles.stable/.config/wlogout/layout

Config

  • Config locations at
    • ~/.config/ml4w/settings
    • ~/.config/hypr/conf/, i.e. ~/.config/hypr/conf/monitor.conf
  • Docs: Configuration Variations
  • Custom hyprland config: ~/.config/hypr/conf/custom.conf
    • gets sourced at the very end of ~/.config/hypr/hyprland.conf

Key bindings

  • Show keybindings dialog in Hyprland: Mod Ctrl k
  • Default keybindings
    • Local at ~/.mydotfiles/com.ml4w.dotfiles.stable/.config/hypr/conf/keybindings/default.conf
  • Custom keybings at ~/.config/ml4w-custom-dotfiles/.config/hypr/conf/keybindings/default.conf
  • Reload hyprland config: Mod Shift R
  • App launcher (Rofi): Mod Crtl Return

Issues