Skip to content
CollieIsCutePublic

About

write a script for me to set up the environment of new computer

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Repository files navigation

Collie's Dotfiles

Install

On macOS, Arch Linux, or Ubuntu:

chezmoi init --apply collieiscute -v

Apply local configuration changes:

chezmoi apply -v

Windows + Arch WSL 2

From a normal PowerShell terminal (with GitHub SSH access already configured):

chezmoi init --ssh --apply collieiscute -v

This installs Windows dotfiles and Arch on WSL 2. An existing default WSL distribution must be Arch on WSL 2, with a normal user able to run sudo. Enter the Linux password when prompted. If Windows requests administrator approval or a reboot, complete it and rerun the same command.

Update both environments from Windows with chezmoi apply -v.

Optional: set CHEZMOI_WSL_USER to choose the initial Linux username. For unattended installs, set CHEZMOI_WSL_PASSWORD; do not store a real password in your profile or repo.

To apply only inside WSL:

chezmoi --source /mnt/c/Users/<user>/.local/share/chezmoi apply

Theme

Change the wallpaper and colors on Linux / macOS, or generate colors on Windows:

chezmoi theme IMAGE

SketchyBar (macOS)

  1. In System Settings → Privacy & Security, allow AeroSpace in Accessibility and Screen & System Audio Recording. Quit SketchyBar, then reopen AeroSpace.
  2. Open CodexBar and sign in to the providers you use. Keep Stats installed for CPU temperature.
  3. Set System Settings → Menu Bar → Automatically hide and show the menu bar → Always.
  • Workspaces: click a number to switch.
  • GPT / Claude: hover for detailed usage, left-click for that provider's details, or right-click to refresh.
  • System monitor / Network: click to open Activity Monitor.
  • Input source: click to open the input-method menu.
  • Volume: click for the slider; drag or scroll to adjust. Click the popup's speaker to mute; move away to close.
  • Control Center: press Fn+C.
  • App menus: move the pointer to the top edge or press Fn+Control+F2. Move the pointer away after dismissing the menu to restore SketchyBar.

Dropbox (Linux)

  • On a new machine with dropbox-cli installed, run env -u DISPLAY -u WAYLAND_DISPLAY dropbox-cli start and open the printed URL.
  • Keep dropbox.service and dropbox@USER.service disabled when using Hyprland's Dropbox startup.

Noctalia (Linux)

  • Run chezmoi apply after changing the monitor layout.
  • If widget edits in Noctalia's GUI override your dotfiles, remove [desktop_widgets] and [lockscreen_widgets] from ~/.local/state/noctalia/settings.toml, or copy those choices into your template before applying.
  • Enable live wallpapers through Noctalia's W Engine bar widget.

Greeter setup (Arch)

  • Apply the dotfiles to configure greetd + Noctalia Greeter, then reboot.

  • If Noctalia Greeter shows a black screen, switch to a TTY with Ctrl+Alt+F2 and check:

    sudo journalctl -u greetd.service -b
  • If TTY switching does not work, boot with systemd.unit=multi-user.target from GRUB to reach a console.

Keymappings

$SUPER = Windows / Cmd key. $ALT = Option / Meta. $CTRL = Control.

Hyprland (Wayland)

Bind Action
SUPER+T open Kitty
SUPER+E open Nautilus
SUPER+C close window
SUPER+M exit Hyprland
SUPER+V toggle floating
hold SHIFT+F13 Handy push-to-talk dictation
SUPER+P pseudotile
SUPER+RETURN true fullscreen
SUPER+N toggle Noctalia notifications
SUPER+S toggle scratchpad workspace
SUPER+SHIFT+S move window to scratchpad
SUPER+SPACE Noctalia launcher
ALT+L Noctalia lock screen
ALT+J toggle split
ALT+P Noctalia region screenshot → clipboard
CTRL+RETURN maximize
SUPER+H/J/K/L focus left/down/up/right
SUPER+1..9,0 switch workspace 1..10
SUPER+SHIFT+1..9,0 move window to workspace
SUPER+SHIFT+H/L move window to prev/next monitor
SUPER+ALT+H/J/K/L swap workspace contents left/down/up/right, keeping workspace numbers fixed
SUPER+scroll cycle workspaces
SUPER+LMB/RMB drag move/resize floating window
XF86Audio* volume / mute / mic mute
XF86MonBrightness* screen brightness

AeroSpace (macOS)

Bind Action
hold Shift+F13 Handy push-to-talk dictation
Cmd+Option+H/J/K/L swap workspace windows left/down/up/right, keeping workspace numbers fixed
Cmd+Option+S toggle the dedicated magic workspace
Cmd+Option+Shift+S move window to the magic workspace

Tmux (prefix = C-z)

Bind Action
prefix | split horizontal (keep cwd)
prefix - split vertical (keep cwd)
prefix v (copy mode) begin selection
prefix C-v (copy mode) rectangle toggle
prefix y (copy mode) copy + cancel
C-←/↓/↑/→ resize pane (smart-splits)
prefix I install plugins (TPM)
prefix U update plugins (TPM)

Kitty (macOS)

Bind Action
Cmd+T new tab
Cmd+W close tab
Cmd+Shift+]/[ next / previous tab
Cmd+Shift+→/← move tab forward / backward
Cmd+D new window (split)
Cmd+Shift+D close window
Ctrl+Shift+]/[ next / previous window
Cmd+Shift+J/K scroll line down / up
Cmd+Shift+N/U scroll page down / up
Cmd+Shift+Home/End scroll to top / bottom
Cmd+C / Cmd+V copy / paste
Cmd+Shift+F5 reload config
Cmd+Shift+F6 debug config
Ctrl+± / Ctrl+0 font size + / − / reset

Fish aliases

Alias Expands to
vi nvim (when nvim is installed)
buu brew update && brew upgrade -y && fisher update (macOS only)

About

write a script for me to set up the environment of new computer

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages