refactor: move dotfiles into subfolders

This commit is contained in:
Stefan Imhoff
2022-12-26 18:22:04 +01:00
parent c96ee68b03
commit efb36c50c7
18 changed files with 94 additions and 24 deletions

View File

@@ -4,9 +4,13 @@
- clean: ["~"]
- create:
- ~/.config/lazygit
- ~/.config/lazydocker
- link:
~/.ack: ack
~/.ag: ag
~/.ack: search/ack
~/.ag: search/ag
~/.asdfrc: asdf/asdfrc
~/.config/alacritty: alacritty
~/.config/base16-shell: .base16-shell
@@ -16,32 +20,33 @@
~/.config/gh/config.yml: github/config.yml
~/.config/karabiner: karabiner
~/.config/kitty: kitty
~/.config/lazydocker/config.yml: docker/lazydocker.yml
~/.config/lazygit/config.yml: git/lazygit.yml
~/.config/nvim: nvim
~/.config/ranger: ranger
~/.config/skhd: skhd
~/.config/starship.toml: starship.toml
~/.config/starship.toml: prompt/starship.toml
~/.config/tmuxinator: tmuxinator
~/.config/yabai: yabai
~/.ctags: ctags
~/.ctags: search/ctags
~/.curlrc: url/curlrc
~/.default-gems: asdf/default-gems
~/.default-npm-packages: asdf/default-npm-packages
~/.default-python-packages: asdf/default-python-packages
~/.editorconfig: editorconfig
~/.gitconfig: gitconfig
~/.gitignore: gitignore
~/.editorconfig: style/editorconfig
~/.gitconfig: git/gitconfig
~/.gitignore: git/gitignore
~/.gitmux.conf: tmux/gitmux.conf
~/.hammerspoon: hammerspoon
~/.pandoc: pandoc
~/.ripgreprc: ripgrep
~/.ripgreprc: search/ripgrep
~/.tmux-cht-command: tmux/tmux-cht-command
~/.tmux-cht-languages: tmux/tmux-cht-languages
~/.tmux.conf: tmux.conf
~/.vale.ini: vale.ini
~/.vale: .vale
~/.wget: wget
~/.zsh.d: zsh
~/.zshrc: zshrc
~/Library/Application Support/lazygit/config.yml: lazygit.yml
~/.tmux.conf: tmux/tmux.conf
~/.vale.ini: style/vale.ini
~/.wget: url/wget
~/.zsh.d: zsh/zsh.d
~/.zshrc: zsh/zshrc
- shell:
- [git submodule update --init --recursive, Installing submodules]

54
docker/lazydocker.yml Normal file
View File

@@ -0,0 +1,54 @@
gui:
scrollHeight: 2
language: "auto" # one of 'auto' | 'en' | 'pl' | 'nl' | 'de' | 'tr'
theme:
activeBorderColor:
- green
- bold
inactiveBorderColor:
- white
optionsTextColor:
- blue
returnImmediately: false
wrapMainPanel: true
# Side panel width as a ratio of the screen's width
sidePanelWidth: 0.333
# Determines whether we show the bottom line (the one containing keybinding
# info and the status of the app).
showBottomLine: true
# When true, increases vertical space used by focused side panel,
# creating an accordion effect
expandFocusedSidePanel: false
logs:
timestamps: false
since: "60m" # set to '' to show all logs
tail: "" # set to 200 to show last 200 lines of logs
commandTemplates:
dockerCompose: docker-compose
restartService: "{{ .DockerCompose }} restart {{ .Service.Name }}"
up: "{{ .DockerCompose }} up -d"
down: "{{ .DockerCompose }} down"
downWithVolumes: "{{ .DockerCompose }} down --volumes"
upService: "{{ .DockerCompose }} up -d {{ .Service.Name }}"
startService: "{{ .DockerCompose }} start {{ .Service.Name }}"
stopService: "{{ .DockerCompose }} stop {{ .Service.Name }}"
serviceLogs: "{{ .DockerCompose }} logs --since=60m --follow {{ .Service.Name }}"
viewServiceLogs: "{{ .DockerCompose }} logs --follow {{ .Service.Name }}"
rebuildService: "{{ .DockerCompose }} up -d --build {{ .Service.Name }}"
recreateService: "{{ .DockerCompose }} up -d --force-recreate {{ .Service.Name }}"
allLogs: "{{ .DockerCompose }} logs --tail=300 --follow"
viewAlLogs: "{{ .DockerCompose }} logs"
dockerComposeConfig: "{{ .DockerCompose }} config"
checkDockerComposeConfig: "{{ .DockerCompose }} config --quiet"
serviceTop: "{{ .DockerCompose }} top {{ .Service.Name }}"
oS:
openCommand: open {{filename}}
openLinkCommand: open {{link}}
stats:
graphs:
- caption: CPU (%)
statPath: DerivedStats.CPUPercentage
color: blue
- caption: Memory (%)
statPath: DerivedStats.MemoryPercentage
color: green

View File

View File

View File

View File

@@ -36,15 +36,15 @@ alt - e : yabai -m window --toggle split
shift + alt - 0 : yabai -m space --balance
# Move Window and Focus Desktop
shift + alt - 1 : yabai -m window --space 1
shift + alt - 2 : yabai -m window --space 2
shift + alt - 3 : yabai -m window --space 3
shift + alt - 4 : yabai -m window --space 4
shift + alt - 5 : yabai -m window --space 5
shift + alt - 6 : yabai -m window --space 6
shift + alt - 7 : yabai -m window --space 7
shift + alt - 8 : yabai -m window --space 8
shift + alt - 9 : yabai -m window --space 9
shift + alt + ctrl - 1 : yabai -m window --space 1
shift + alt + ctrl - 2 : yabai -m window --space 2
shift + alt + ctrl - 3 : yabai -m window --space 3
shift + alt + ctrl - 4 : yabai -m window --space 4
shift + alt + ctrl - 5 : yabai -m window --space 5
shift + alt + ctrl - 6 : yabai -m window --space 6
shift + alt + ctrl - 7 : yabai -m window --space 7
shift + alt + ctrl - 8 : yabai -m window --space 8
shift + alt + ctrl - 9 : yabai -m window --space 9
# Send Window to Monitor and Follow Focus
shift + alt - n : yabai -m window --display next; yabai -m display --focus next

8
url/curlrc Normal file
View File

@@ -0,0 +1,8 @@
# Disguise as Googlebot
user-agent = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
# When following a redirect, automatically set the previous URL as referer.
referer = ";auto"
# Wait 60 seconds before timing out.
connect-timeout = 60

View File

View File

@@ -7,6 +7,9 @@ COMPLETION_WAITING_DOTS="true" # Red dots while waiting for completion
# Autosuggest Highlighting
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=7,bg=bold,underline"
# Set .config folder
export XDG_CONFIG_HOME="$HOME/.config"
export KEYTIMEOUT=1
export RIPGREP_CONFIG_PATH=$HOME/.ripgreprc
export GIT_EDITOR=nvim