Update chezmoi data on laptop

This commit is contained in:
2022-11-01 15:46:13 -04:00
parent e0ddc430d4
commit 43e367d834
26 changed files with 149 additions and 115 deletions

View File

@@ -18,7 +18,7 @@ set -x GPG_TTY (tty)
set -U fish_greeting
# spv
{{ if eq .chezmoi.fullHostname "nzxt" }}
{{ if eq .chezmoi.hostname "nzxt" }}
set -U spv_dir "/home/kevin/coding/spotify-lib-vis"
set -U mfs_dir "/home/kevin/coding/mf-site"
source /home/kevin/coding/spotify-lib-vis/src/scripts/api-keys-fish.sh
@@ -30,7 +30,7 @@ set -x CLASSPATH $CLASSPATH /home/kevin/java/*.jar
set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH /usr/local/lib /usr/local/lib64
set -x PKG_CONFIG_PATH $PKG_CONFIG_PATH /usr/lib/pkgconfig
set -x HASTE_SERVER https://pste.gq
{{ if eq .chezmoi.fullHostname "nzxt" }}
{{ if eq .chezmoi.hostname "nzxt" }}
set -x CALCURSE_CALDAV_PASSWORD (pass show technology/linux/baikal | head -n1)
{{ end }}
@@ -46,7 +46,7 @@ set SPACEFISH_VI_MODE_SUFFIX ''
set -x PASSWORD_STORE_CLIP_TIME 120
set -xU XSET_RATE 90
set -xU XSET_DELAY 200
{{ if and (eq .chezmoi.fullHostname "x1-carbon") (not (eq .chezmoi.username "root")) }}
{{ if and (eq .chezmoi.hostname "x1-carbon") (not (eq .chezmoi.username "root")) }}
xset r rate $XSET_DELAY $XSET_RATE
{{ end }}
@@ -72,7 +72,7 @@ chezmoi apply
~/scripts/sync-shortcuts
{{ end }}
source ~/.config/fish/key_abbr.fish > /dev/null
set -U fish_fxn_dir "{{ .chezmoi.homedir }}/linux-config/dot_config/fish/functions"
set -U fish_fxn_dir "{{ .chezmoi.homeDir }}/linux-config/dot_config/fish/functions"
# set -U fish_fxn_dir "~/.config/fish/functions"
abbr ff "cd $fish_fxn_dir"
for fxn in (find $fish_fxn_dir -name '*.fish')
@@ -124,8 +124,8 @@ abbr def "define"
abbr ens "enable-site"
abbr ev "evince-silent"
# abbr fbg "find-bg"
abbr fv "fzf-vim"
abbr fvft "find-vim-filetype"
abbr fzv "fzf-vim"
# git [[[ #
abbr gcamp "git-amend-push"
@@ -140,9 +140,9 @@ abbr grmb "git-delete-branch"
abbr gro "git-replace-origin"
# ]]] git #
abbr m "man-vim"
abbr ma "man-vim task"
abbr mat "math"
abbr mn "man-vim"
abbr pgr "grep-pdf"
abbr pgrf "grep-pdf-file"
abbr png "git-push-new-gitea"
@@ -161,6 +161,7 @@ abbr thes "thesaurus"
abbr ut "unix-timestamp"
abbr uzr "unzip-rm"
abbr vsnp "vim-snippet"
abbr wga "wget-all"
abbr xya "export-pkgs"
# school [[[ #
@@ -178,4 +179,4 @@ abbr jct "java-compile-test"
# ]]] fxn abbr's #
# task sync > /dev/null 2>&1
~/scripts/xmodmap-custom
# ~/scripts/xmodmap-custom

View File

@@ -0,0 +1,5 @@
function wget-all
for url in $argv
wget $url
end
end