Improve configs
This commit is contained in:
parent
91c7ebd467
commit
e0b2cc16fb
7 changed files with 63 additions and 35 deletions
2
.bin/.e
2
.bin/.e
|
@ -14,7 +14,7 @@ declare -A mapper=(
|
||||||
["starship"]="$HOME/.config/starship.toml"
|
["starship"]="$HOME/.config/starship.toml"
|
||||||
["sxhkd"]="$HOME/.config/sxhkd/sxhkdrc"
|
["sxhkd"]="$HOME/.config/sxhkd/sxhkdrc"
|
||||||
["vim"]="$HOME/.config/vim/vimrc"
|
["vim"]="$HOME/.config/vim/vimrc"
|
||||||
["wakatime"]="$HOME/.config/wakatime/.wakatime.cfg"
|
["wakatime"]="$HOME/.config/wakatime/.wakatime.cfg.tpl"
|
||||||
["xprofile"]="$HOME/.xprofile"
|
["xprofile"]="$HOME/.xprofile"
|
||||||
["zsh"]="$HOME/.config/zsh/.zshrc"
|
["zsh"]="$HOME/.config/zsh/.zshrc"
|
||||||
)
|
)
|
||||||
|
|
|
@ -28,6 +28,8 @@ _autoinstall_all () {
|
||||||
envsubst < "$wakatime_tpl" > "$wakatime_cfg"
|
envsubst < "$wakatime_tpl" > "$wakatime_cfg"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cp -n "$HOME/.ssh/authorized_keys.default" "$HOME/.ssh/authorized_keys"
|
||||||
|
|
||||||
_autoinstall_file \
|
_autoinstall_file \
|
||||||
"https://raw.githubusercontent.com/qw3rtman/git-fire/master/git-fire" \
|
"https://raw.githubusercontent.com/qw3rtman/git-fire/master/git-fire" \
|
||||||
"$HOME/.local/bin/git-fire"
|
"$HOME/.local/bin/git-fire"
|
||||||
|
@ -44,6 +46,9 @@ _autoinstall_all () {
|
||||||
"https://github.com/dracula/qutebrowser.git" \
|
"https://github.com/dracula/qutebrowser.git" \
|
||||||
"$HOME/.config/qutebrowser/dracula"
|
"$HOME/.config/qutebrowser/dracula"
|
||||||
|
|
||||||
|
_autoinstall_git \
|
||||||
|
"https://github.com/dracula/gtk.git" \
|
||||||
|
"$HOME/.themes/Dracula"
|
||||||
}
|
}
|
||||||
|
|
||||||
_autoinstall_git () {
|
_autoinstall_git () {
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
alias .f='git --git-dir="$HOME/.dotfiles"'
|
alias .f='git --git-dir="$HOME/.dotfiles"'
|
||||||
|
alias :q='exit'
|
||||||
|
alias :wq='exit'
|
||||||
|
|
||||||
alias aliases='$EDITOR ~/.config/aliasrc && . ~/.config/aliasrc'
|
alias aliases='$EDITOR ~/.config/aliasrc && . ~/.config/aliasrc'
|
||||||
alias aliases.local='$EDITOR ~/.config/aliasrc.local && . ~/.config/aliasrc'
|
alias aliases.local='$EDITOR ~/.config/aliasrc.local && . ~/.config/aliasrc'
|
||||||
|
|
|
@ -1,54 +1,55 @@
|
||||||
[user]
|
[user]
|
||||||
email = tobias@msrg.cc
|
email = tobias@msrg.cc
|
||||||
name = Tobias Reisinger
|
name = Tobias Reisinger
|
||||||
signingkey = 723B78C0BF8D8C721D2C4EEF41E544A54E2533B2
|
signingkey = 723B78C0BF8D8C721D2C4EEF41E544A54E2533B2
|
||||||
[core]
|
[core]
|
||||||
excludesfile = ~/.config/git/ignore
|
excludesfile = ~/.config/git/ignore
|
||||||
editor = vim
|
editor = vim
|
||||||
pager = less
|
pager = less
|
||||||
autocrlf = input
|
autocrlf = input
|
||||||
[help]
|
[help]
|
||||||
autocorrect = 20
|
autocorrect = 20
|
||||||
[diff]
|
[diff]
|
||||||
tool = vimdiff
|
tool = vimdiff
|
||||||
[difftool]
|
[difftool]
|
||||||
prompt = false
|
prompt = false
|
||||||
trustExitCode = true
|
trustExitCode = true
|
||||||
[alias]
|
[alias]
|
||||||
b = branch -vv
|
b = branch -vv
|
||||||
ci = commit
|
ci = commit
|
||||||
cia = commit --amend
|
cia = commit -C HEAD --amend
|
||||||
d = diff
|
d = diff
|
||||||
dc = diff --cached
|
dc = diff --cached
|
||||||
ds = diff --stat
|
ds = diff --stat
|
||||||
dt = difftool
|
dw = diff --word-diff=color
|
||||||
dtc = difftool --cached
|
dt = difftool
|
||||||
l = log --graph
|
dtc = difftool --cached
|
||||||
|
l = log --graph
|
||||||
lo = log --graph --decorate --oneline --all
|
lo = log --graph --decorate --oneline --all
|
||||||
s = status
|
s = status
|
||||||
|
|
||||||
[merge]
|
[merge]
|
||||||
tool = vim_mergetool
|
tool = vim_mergetool
|
||||||
conflictstyle = diff3
|
conflictstyle = diff3
|
||||||
[mergetool "vim_mergetool"]
|
[mergetool "vim_mergetool"]
|
||||||
cmd = vim -f -c "MergetoolStart" "$MERGED" "$BASE" "$LOCAL" "$REMOTE"
|
cmd = vim -f -c "MergetoolStart" "$MERGED" "$BASE" "$LOCAL" "$REMOTE"
|
||||||
trustExitCode = true
|
trustExitCode = true
|
||||||
[credential]
|
[credential]
|
||||||
helper = /usr/bin/pass-git-helper
|
helper = /usr/bin/pass-git-helper
|
||||||
[sendemail]
|
[sendemail]
|
||||||
smtpserver = mail.serguzim.me
|
smtpserver = mail.serguzim.me
|
||||||
smtpuser = tobias@msrg.cc
|
smtpuser = tobias@msrg.cc
|
||||||
smtpencryption = tls
|
smtpencryption = tls
|
||||||
smtpserverport = 587
|
smtpserverport = 587
|
||||||
annotate = yes
|
annotate = yes
|
||||||
[advice]
|
[advice]
|
||||||
addIgnoredFile = false
|
addIgnoredFile = false
|
||||||
[pull]
|
[pull]
|
||||||
ff = only
|
ff = only
|
||||||
[push]
|
[push]
|
||||||
followTags = true
|
followTags = true
|
||||||
[format]
|
[format]
|
||||||
signOff = yes
|
signOff = yes
|
||||||
[filter "lfs"]
|
[filter "lfs"]
|
||||||
smudge = git-lfs smudge -- %f
|
smudge = git-lfs smudge -- %f
|
||||||
process = git-lfs filter-process
|
process = git-lfs filter-process
|
||||||
|
|
16
.config/gtk-3.0/settings.ini
Normal file
16
.config/gtk-3.0/settings.ini
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
[Settings]
|
||||||
|
gtk-theme-name=Dracula
|
||||||
|
gtk-icon-theme-name=Dracula
|
||||||
|
gtk-font-name=Sans 11
|
||||||
|
gtk-cursor-theme-name=Adwaita
|
||||||
|
gtk-cursor-theme-size=0
|
||||||
|
gtk-toolbar-style=GTK_TOOLBAR_TEXT
|
||||||
|
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||||
|
gtk-button-images=0
|
||||||
|
gtk-menu-images=1
|
||||||
|
gtk-enable-event-sounds=1
|
||||||
|
gtk-enable-input-feedback-sounds=1
|
||||||
|
gtk-xft-antialias=1
|
||||||
|
gtk-xft-hinting=1
|
||||||
|
gtk-xft-hintstyle=hintfull
|
||||||
|
gtk-application-prefer-dark-theme=1
|
|
@ -54,7 +54,7 @@ XF86MonBrightnessDown
|
||||||
backlight -dec 5
|
backlight -dec 5
|
||||||
|
|
||||||
super + v
|
super + v
|
||||||
freetube "$(xclip -o -selection clipboard)"
|
flatpak run io.freetubeapp.FreeTube "$(xclip -o -selection clipboard)"
|
||||||
super + shift + v
|
super + shift + v
|
||||||
mpv $(xclip -o -selection clipboard); notify-send "mpv media playback finished"
|
mpv $(xclip -o -selection clipboard); notify-send "mpv media playback finished"
|
||||||
|
|
||||||
|
@ -133,6 +133,8 @@ super + {_,shift + }{1-9,0}
|
||||||
bspc {desktop -f,node -d} '^{1-9,10}'
|
bspc {desktop -f,node -d} '^{1-9,10}'
|
||||||
super + {_,shift + } dead_circumflex
|
super + {_,shift + } dead_circumflex
|
||||||
bspc {desktop -f,node -d} 'focus'
|
bspc {desktop -f,node -d} 'focus'
|
||||||
|
super + ctrl + dead_circumflex
|
||||||
|
bspc desktop -f 'side-view'
|
||||||
|
|
||||||
super + shift + p
|
super + shift + p
|
||||||
bspc desktop 'presenter1' --swap 'presenter2'
|
bspc desktop 'presenter1' --swap 'presenter2'
|
||||||
|
|
|
@ -10,3 +10,5 @@ ignore=
|
||||||
TAG_EDITMSG$
|
TAG_EDITMSG$
|
||||||
exclude_unknown_project=true
|
exclude_unknown_project=true
|
||||||
api_key=${WAKATIME_API_KEY}
|
api_key=${WAKATIME_API_KEY}
|
||||||
|
[projectmap]
|
||||||
|
projects/emgauwa/core=emgauwa-core
|
||||||
|
|
Loading…
Reference in a new issue