Do some cleanup and fixes
This commit is contained in:
parent
6c16a85be2
commit
028d3d7760
6 changed files with 5 additions and 17 deletions
|
@ -78,7 +78,7 @@ case $1 in
|
||||||
show) _systemctl "$2" cat ;;
|
show) _systemctl "$2" cat ;;
|
||||||
edit) _systemctl "$2" edit --full ;;
|
edit) _systemctl "$2" edit --full ;;
|
||||||
enable) _systemctl "$2" add-wants autostart.target ;;
|
enable) _systemctl "$2" add-wants autostart.target ;;
|
||||||
disable) _systemctl "$2" enable ;;
|
disable) _systemctl "$2" disable ;;
|
||||||
status) _systemctl "${2:-*}" status ;;
|
status) _systemctl "${2:-*}" status ;;
|
||||||
start) systemctl --user start autostart.target ;;
|
start) systemctl --user start autostart.target ;;
|
||||||
*) echo "'$1' is not valid" ;;
|
*) echo "'$1' is not valid" ;;
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
base_path="$HOME/.cache/remote-sources"
|
base_path="$HOME/.cache/remote-sources"
|
||||||
mkdir -p "$base_path"
|
|
||||||
file_path="$base_path/$2"
|
file_path="$base_path/$2"
|
||||||
|
|
||||||
|
autoinstall file "$1" "$file_path"
|
||||||
|
mkdir -p "$base_path"
|
||||||
if [ ! -f "$file_path" ]
|
if [ ! -f "$file_path" ]
|
||||||
then
|
then
|
||||||
echo "Installing file $2"
|
echo "Installing file $2"
|
||||||
|
|
|
@ -8,7 +8,6 @@ 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'
|
||||||
alias artisan='./artisan'
|
alias artisan='./artisan'
|
||||||
|
|
||||||
alias bfg='java -jar ~/tools/bfg-1.13.0.jar'
|
|
||||||
alias bspwm-default='echo "default" > /tmp/bspwm_mode; bspc wm -r'
|
alias bspwm-default='echo "default" > /tmp/bspwm_mode; bspc wm -r'
|
||||||
alias bspwm-present='echo "presenter" > /tmp/bspwm_mode; bspc wm -r'
|
alias bspwm-present='echo "presenter" > /tmp/bspwm_mode; bspc wm -r'
|
||||||
alias bspwm-single='echo "single" > /tmp/bspwm_mode; bspc wm -r'
|
alias bspwm-single='echo "single" > /tmp/bspwm_mode; bspc wm -r'
|
||||||
|
|
|
@ -34,8 +34,6 @@
|
||||||
[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]
|
|
||||||
helper = /usr/bin/pass-git-helper
|
|
||||||
[sendemail]
|
[sendemail]
|
||||||
smtpserver = mail.serguzim.me
|
smtpserver = mail.serguzim.me
|
||||||
smtpuser = tobias@msrg.cc
|
smtpuser = tobias@msrg.cc
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
[mail.serguzim.me:587]
|
|
||||||
target=mail/${username}
|
|
||||||
|
|
||||||
[github.com]
|
|
||||||
username_extractor=regex_search
|
|
||||||
regex_username=^login: (.*)$
|
|
||||||
target=github.com
|
|
||||||
|
|
||||||
[git.overleaf.com]
|
|
||||||
username_extractor=regex_search
|
|
||||||
regex_username=^login: (.*)$
|
|
||||||
target=overleaf.com
|
|
|
@ -6,6 +6,7 @@ numlockx on
|
||||||
|
|
||||||
setxkbmap de
|
setxkbmap de
|
||||||
setxkbmap -option caps:none
|
setxkbmap -option caps:none
|
||||||
|
setxkbmap -option compose:menu
|
||||||
|
|
||||||
_autostart()
|
_autostart()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue