Add .stowrc, link mimeapps.list by absolute path
Browse files at this commitda71d0fcdcb585b5f1a43da9e5330fb76bfdc8b8Parent: 16d3421- chore
- add .stowrc, link mimeapps.list by absolute path
2 changed files +14 -0
.stowrcadded+3 -0
| @@ -0,0 +1,3 @@ | ||
| 1 | +--target=~ | |
| 2 | +--ignore=\.stowrc | |
| 3 | +--ignore=mimeapps\.list |
README.mdmodified+11 -0
| @@ -1 +1,12 @@ | ||
| 1 | 1 | # dotfiles |
| 2 | + | |
| 3 | +```sh | |
| 4 | +git clone https://git.tahinli.com/Tahinli/dotfiles ~/dotfiles | |
| 5 | +cd ~/dotfiles && stow . | |
| 6 | +ln -sfn ~/dotfiles/.config/mimeapps.list ~/.config/mimeapps.list | |
| 7 | +``` | |
| 8 | + | |
| 9 | +`mimeapps.list` is linked by hand with an absolute path, and `.stowrc` keeps | |
| 10 | +stow away from it. GLib resolves a relative symlink target against the | |
| 11 | +writing process's working directory, so stow's `../dotfiles/...` link made | |
| 12 | +every "set default app" fail outside `~/.config`. |