This commit is contained in:
Nikos Papadakis 2023-02-18 14:35:56 +02:00
parent c30aa00bc3
commit 1b9e34b141
Signed by untrusted user who does not match committer: nikos
GPG key ID: 78871F9905ADFF02
34 changed files with 56 additions and 16 deletions

View file

@ -1 +0,0 @@
!.config/

View file

@ -1 +0,0 @@
target=~/

View file

@ -1,20 +1,42 @@
### Configurations
## Configurations
- [Neovim Nightly](https://github.com/neovim/neovim)
- [Kitty](https://github.com/kovidgoyal/kitty)
- ~[Kitty](https://github.com/kovidgoyal/kitty)~ Replaced by wezterm
- [Wezterm](https://github.com/wez/wezterm)
- [Fish Shell](https://github.com/fish-shell/fish-shell)
- [tmux](https://github.com/tmux/tmux)
- More
### Recommended
- [ripgrep (rg)](https://github.com/BurntSushi/ripgrep)
- [exa](https://github.com/ogham/exa)
- [zoxide](https://github.com/ajeetdsouza/zoxide)
- [starship](https://github.com/starship/starship)
## Fonts
**Usage:**
You will have to install the fonts I use in these dotfiles separately
- Use [stow](https://www.gnu.org/software/stow/) to manage your symlinks.
- `git clone https://github.com/esprssoo/dotfiles.git && cd dotfiles`
- Run `stow {package}` to enable the configuration for any package you
like, where `{package}` is one of the directories in the git repository.
- Run `stow -D {package}` to disable the package.
- [ttf-jetbrains-mono-nerd](https://github.com/ryanoasis/nerd-fonts)
## Programs used
- [ripgrep](https://github.com/BurntSushi/ripgrep) (used by nvim)
- [exa](https://github.com/ogham/exa) (ls replacement used by fish)
## Usage
- Clone the repository (e.g into `~/.dotfiles`)
```
git clone https://git.papadakis.xyz/dotfiles/ ~/.dotfiles
cd ~/dotfiles
```
- For automated dotfile linking use [just](https://github.com/casey/just)
```
just add fish
just add nvim
just add wezterm
```
- Or, manually link the directory you need
```
ln -s ~/.dotfiles/fish ~/.config/fish
ln -s ~/.dotfiles/nvim ~/.config/nvim
ln -s ~/.dotfiles/wezterm ~/.config/wezterm
```

14
justfile Normal file
View file

@ -0,0 +1,14 @@
add target:
#!/bin/env sh
target={{trim_end_matches(target, '/')}}
find $target -mindepth 1 | while read p
do
t=~/`echo -n $p | sed "s/^$target\///" | sed s/dot-/./g`
s="{{justfile_directory()}}/$p"
if ( ! test -e $t ); then
echo "Linking $t -> $s"
ln -s $s $t
fi
done
# vim: set ft=sh :

View file

@ -0,0 +1,6 @@
local wezterm = require 'wezterm'
return {
font = wezterm.font 'JetBrainsMono Nerd Font Mono',
color_scheme = 'Catppuccin Macchiato',
}