Skip to content

erlestor/dotfiles

Repository files navigation

Dotfiles

  • Here I put all the configuration files that stray away from defaults
  • This repo is made to be put inside the $home/.config folder
  • Used on windows 11 and linux (omarchy)

Omarchy

Installation

Dependencies

  • sesh-bin (aur). for tmux sesh plugin
  • entr (pacman). for tmux-autoreload

Setup

  • Clone this repo into ~/.config
git clone https://github.com/erlestor/dotfiles /tmp/dotfiles-tmp # Clone to a temp location
mv /tmp/dotfiles-tmp/.git ~/.config/ # Drop the .git folder into .config — making it the repo
cd ~/.config
git status # Preview what git sees before touching anything
git reset --hard HEAD # Overwrite tracked files with repo versions, leave everything else alone
rm -rf /tmp/dotfiles-tmp # Clean up the temp dir
  • Install these packages: cpio, cmake, git, meson and gcc
  • Run these commands
hyprpm add https://github.com/zjeffer/split-monitor-workspaces # Add the plugin repository
hyprpm enable split-monitor-workspaces # Enable the plugin
hyprpm reload # Reload the plugins
  • Delete ~/.bashrc and add the following line to ~/.bash_profile
[[ -f ~/.config/.bashrc ]] && . ~/.config/.bashrc
  • Run this to install tpm (tmux plugin manager)
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
  • Load tmux plugins: open terminal and press "prefix + I"

MCSR

  • Install hyprmcsr, prismlauncher (pacman) and keyd (pacman)
  • Follow keyd instructions closely. And restart after usermod command
  • This is my /etc/keyd/default.conf:
[ids]

*

[main]
  • Set up your instance
  • Set up ninjabrainbot. See this video for boat eye settings
  • If sensitivity setting doesn't work. Install solaar and see: this issue. Just one command is needed
  • My window rules in hyprland and commands in hyprmcsr config are very specific. So double check those

Fix mongodb compass not saving passwords

  • Run:
cp /usr/share/applications/mongodb-compass.desktop ~/.local/share/applications/mongodb-compass.desktop
nvim ~/.local/share/applications/mongodb-compass.desktop
  • Change the Exec line to:
Exec=mongodb-compass --password-store=gnome-libsecret --ignore-additional-command-line-flags %U

Arduino IDE setup

  • Install arduino-ide-bin (pacman)
  • Follow section 2.1 in the arch wiki
  • Run:
cp /usr/share/applications/arduino-ide-v2.desktop ~/.local/share/applications/arduino-ide-v2.desktop
nvim ~/.local/share/applications/arduino-ide-v2.desktop
  • Change the Exec line to:
Exec=arduino-ide %U --ozone-platform=x11

Windows

Installation

Prefer winget if you can

Setup

  • Clone this repo into ´~/.config´
  • Make sure to add powershell 7 to path and remove system32 powershell path
  • Add these environment variables (via windows search -> environment variables):
KOMOREBI_AHK_EXE = "C:/Program Files/AutoHotkey/v2/AutoHotkey64";
KOMOREBI_CONFIG_HOME = "C:\Users\erlen\.config\komorebi";
  • Make these soft symlinks (delete any file/folder which exists already at that location):
~/.config/nvim -> ~/appdata/local/nvim
~/.config/powershell/profile.ps1 -> ~/documents/powershell/profile.ps1
~/.config/windows-startup/hotkeys.ahk -> ~/appdata/roaming/microsoft/windows/start menu/programs/startup/hotkeys.ahk

How to symlink

Open powershell as administrator and run:

New-Item -ItemType SymbolicLink -Path c:/users/xxx/xxx -Target c:/users/xxx/.config/xxx

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors