Manage dotfiles with dotter

This commit is contained in:
Tobias Manske 2023-01-17 23:39:15 +01:00
parent 937031b5b8
commit de466c2b8f
Signed by: tobias
GPG Key ID: E83C743C1FC2F79A
10 changed files with 49 additions and 2 deletions

36
.dotter/global.toml Normal file
View File

@ -0,0 +1,36 @@
[zsh.files]
"zsh/.zshrc" = { target = "~/.zshrc", type = "symbolic" }
"zsh/.zimrc" = { target = "~/.zimrc", type = "symbolic" }
[nvim.files]
"nvim/init.lua" = { target = "~/.config/nvim/init.lua", type = "symbolic" }
[git.files]
"git/.gitconfig" = { target = "~/.config/git/config", type = "symbolic" }
"git/.gitmessage" = { target = "~/.config/git/message", type = "symbolic" }
"git/.gitattributes" = { target = "~/.config/git/attributes", type = "symbolic" }
[grobi.files]
"grobi/grobi.conf" = { target = "~/.config/grobi.conf", type = "symbolic" }
[gnupg.files]
"gnupg/gpg.conf" = { target = "~/.gnupg/gpg.conf", type = "symbolic" }
"gnupg/gpg-agent.conf" = { target = "~/.gnupg/gpg-agent.conf", type = "symbolic" }
[i3.files]
"i3/config" = { target = "~/.config/i3/config", type = "symbolic" }
"i3/layouts" = { target = "~/.config/i3/layouts", type = "symbolic" }
"i3/scripts" = { target = "~/.config/i3/scripts", type = "symbolic" }
[picom.files]
"picom/picom.conf" = { target = "~/.config/picom.conf", type = "symbolic" }
[polybar.files]
"polybar/config.ini" = { target = "~/.config/polybar/config", type = "symbolic" }
[redshift.files]
"redshift/redshift.conf" = { target = "~/.config/redshift/redshift.conf", type = "symbolic" }
[tmux.files]
"tmux/.tmux.conf" = { target = "~/.tmux.conf", type = "symbolic" }
"tmux" = { target = "~/.tmux", type = "symbolic" }

7
.dotter/pre_deploy.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
set -e
set -u
# Build i3 config
cd i3/conf
./build.sh

3
.gitignore vendored
View File

@ -145,3 +145,6 @@ vim/autoload/plug.vim
albert.conf
albert/albert.conf
albert/last_used/version
.dotter/local.toml
.dotter/cache.toml
.dotter/cache/

View File

@ -10,10 +10,10 @@
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ; } ; gi"
[commit]
gpgsign = true
template = ~/.gitmessage
template = ~/.config/git/message
[core]
autocrlf = input
attributesFile = ~/.dotfiles/.gitattributes
attributesFile = ~/.config/git/attributes
pager = delta
[github]
user = rad4day

1
polybar/config Symbolic link
View File

@ -0,0 +1 @@
/home/rad4day/.dotfiles/polybar/config.ini

View File

View File