configs/README.md
README.mdRaw
1# configs
2config files
3
4## server-dockers
5```sh
6git clone --recurse-submodules git@github.com:arnaucube/configs.git
7
8# or without ssh:
9
10git clone --recurse-submodules https://github.com/arnaucube/configs.git
11
12# or if already cloned the repo, can get the gitsubmodules with:
13git submodule update --init --recursive
14
15
16# update the git submodule:
17git submodule update --remote server-dockers/jellyfin-tools
18```
19
20## List of utilities for terminal
21- bat https://github.com/sharkdp/bat
22- rg https://github.com/BurntSushi/ripgrep
23- tig https://github.com/jonas/tig
24- gitg
25```
26alias gitg="git log --color --graph --abbrev-commit --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %Cgreen(%ar)%C(cyan) %an<%ae>%Creset'"
27```
28- exa https://github.com/ogham/exa
29```
30alias ls='exa'
31alias lst='exa -l -snew'
32```
33- fd https://github.com/sharkdp/fd
34- jq https://github.com/stedolan/jq
35- tmux
36- nvim
37- mpsyt (mps-youtube) https://github.com/mps-youtube/mps-youtube
38- fzf https://github.com/junegunn/fzf
39
40
41---
42
43
44- Vim: `.vimrc`
45 - put `vimconfigbase.vim` into `~/`
46 - put `.vimrc` into `~/`
47 - install https://github.com/junegunn/vim-plug
48 - inside vim, execute: `:PlugInstall`
49- NeoVim: `init.vim`
50 - put `vimconfigbase.vim` into `~/`
51 - in `.config/nvim/init.vim`
52 - install https://github.com/junegunn/vim-plug
53 - inside neovim, execute: `:PlugInstall`
54 - for the vim-go, execute: :GoInstallBinaries
55- `.bashrc`
56 - in `~/home/.bashrc` directory
57 - execute `source .bashrc`
58- Tmux: `.tmux.conf`
59 - in `~/home/.tmux.conf` directory
60- Keyboard remap `.Xmodmap`
61 - in `~/home/.Xmodmap`
62 - changes will be applied each session start
63 - to apply changes in the current session use `xmodmap ~/.Xmodmap`
64- Redshift `redshift.conf`
65 - in `~/.config/redshift.conf`
66- i3 config files `/i3` and `/i3status` directories go inside `~/.config/` directory
67- alacritty: copy `alacritty` dir into `~/.config/` directory
68
69
70### server side
71- radicale `config`
72 - in `~/.conf/radicale/config`
73
74## swap file
75```bash
76# create swap file
77> dd if=/dev/zero of=./swapfile bs=1GB count=40
78
79# add permisions
80> chmod 600 ./swapfile
81
82# format the swapfile
83> mkswap ./swapfile
84
85# enable swap on swapfile
86> swapon ./swapfile
87
88# check that it is enabled
89> swapon --show
90
91
92# make swap persistent:
93# add the following line at the end of the /etc/fstab file
94~/swapfile swap swap defaults 0 0
95```