Compare commits

...

4 Commits

Author SHA1 Message Date
917ee7dd0a
Add macos setup script 2024-08-30 16:15:17 +02:00
7c530ad435
Add comment with link 2024-08-30 15:35:23 +02:00
60ec0c24e3
Add git dotfiles 2024-08-30 15:22:41 +02:00
3193589c51
Add wezterm dotfiles 2024-08-30 09:32:51 +02:00
6 changed files with 109 additions and 0 deletions

55
git/.gitconfig Normal file
View File

@ -0,0 +1,55 @@
[core]
editor = nvim
autocrlf = input
pager = delta
excludeFiles = ~/.gitignore
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
light = false
line-numbers = true
[merge]
conflictstyle = zdiff3
[diff]
colorMoved = default
algorithm = histogram
[rebase]
autosquash = true
autostash = true
[push]
default = current
autoSetupRemote = true
[init]
defaultBranch = main
[commit]
verbose = true
[rerere]
enabled = true
[help]
autocorrect = 10
[log]
date = iso
[branch]
sort = -committerdate
[color]
ui = auto
# See: https://git-scm.com/docs/git-config#_includes
[includeIf "gitdir:~/src/personal/**"]
path = ~/.gitconfig-personal
[includeIf "gitdir:~/src/work/**"]
path = ~/.gitconfig-work

7
git/.gitconfig-personal Normal file
View File

@ -0,0 +1,7 @@
[user]
name = Marvin Elsen
email = git@marvinelsen.com
signingKey = 7EBB0A920C1A1E0A52C246C6820672408CC318C2
[commit]
gpgSign = true

2
git/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.idea
.DS_Store

5
setup-macos.sh Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
brew install git git-delta gradle fish neovim sqlite jq eza bat fzf fd ripgrep stow tree-sitter yt-dlp pandoc
brew install --cask wezterm
brew install --cask temurin

View File

@ -0,0 +1,12 @@
local wezterm = require 'wezterm'
local module = {}
function module.is_dark()
if wezterm.gui then
return wezterm.gui.get_appearance():find("Dark")
end
return true
end
return module

View File

@ -0,0 +1,28 @@
local wezterm = require 'wezterm'
local appearance = require 'appearance'
local config = wezterm.config_builder()
-- https://wezfurlong.org/wezterm/colorschemes/index.html
-- if appearance.is_dark() then
config.color_scheme = 'Catppuccin Mocha'
-- else
-- config.color_scheme = 'Catppuccin Latte'
--end
config.font = wezterm.font({ family = 'FantasqueSansM Nerd Font' })
config.font_size = 14
-- config.window_background_opacity = 1
-- config.macos_window_background_blur = 30
config.window_decorations = 'RESIZE|INTEGRATED_BUTTONS'
config.window_frame = {
font = wezterm.font({ family = 'FantasqueSansM Nerd Font', weight = 'Bold' }),
font_size = 14
}
config.default_prog = { '/opt/homebrew/bin/fish', '-li' }
return config