Ticker i3block, reminder fish script

kubectl completion.
This commit is contained in:
2021-04-17 00:05:07 -04:00
parent 23d1b1ffbd
commit 5c6f1e9a1c
21 changed files with 2018 additions and 107 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -30,7 +30,7 @@ set -x HASTE_SERVER https://pste.gq
set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH /usr/local/lib /usr/local/lib64
set -x GOPATH ~/go
# set -x PATH $GRAALVM_BIN $PATH ~/.local/bin ~/scripts ~/scripts/colors ~/go/bin ~/.minetest/minetest/bin ~/.gem/ruby/2.6.0/bin
set -x PATH $PATH ~/.local/bin ~/scripts ~/scripts/colors $GOPATH/bin ~/.minetest/minetest/bin ~/.gem/ruby/2.6.0/bin
set -x PATH $PATH ~/.local/bin ~/scripts ~/scripts/colors $GOPATH/bin ~/.minetest/minetest/bin ~/.gem/ruby/2.6.0/bin ~/.gem/ruby/2.7.0/bin
set -x PKG_CONFIG_PATH $PKG_CONFIG_PATH /usr/lib/pkgconfig
# Java [[[ #
@@ -39,9 +39,8 @@ set -x PKG_CONFIG_PATH $PKG_CONFIG_PATH /usr/lib/pkgconfig
# set -x GRAALVM_BIN $GRAALVM_HOME/bin
# set -x JAVA_HOME $GRAALVM_HOME
# for shared libs
set -x JAVA_HOME /usr/lib/jvm/java-11-openjdk
# set -x JAVA_HOME /usr/lib/jvm/java-8-openjdk
# set -x JAVA_HOME /usr/lib/jvm/java-8-openjdk # for shared libs
set -x PATH $JAVA_HOME/bin $PATH
@@ -74,10 +73,8 @@ set -xU BROWSER "firefox"
set -xU FZF_DEFAULT_COMMAND "find ."
# set -xU PHONE_IP "192.168.0.10"
# set -xU WORK_LAPTOP_IP "kmok@192.168.0.12"
set -x PHONE_IP "192.168.0.12"
set -x WORK_LAPTOP_IP "kmok@192.168.0.13"
set -x PHONE_IP "192.168.0.11"
set -x WORK_LAPTOP_IP "kmok@192.168.0.12"
{{ if eq .chezmoi.fullHostname "nzxt" }}
set -x CALCURSE_CALDAV_PASSWORD (pass show technology/linux/baikal | head -n1)
@@ -152,11 +149,12 @@ abbr ax "task-context"
# ]]] task #
abbr ag "grep-aliases"
abbr b "buku-fzf"
abbr bf "buku-fzf fq"
abbr bk "buku-fzf"
abbr bkf "buku-fzf fq"
abbr bq "benq-brightness"
abbr bun "backup nzxt"
abbr bupp "backup-phone-pics"
abbr ca "cad-to-us"
abbr cccs "sync-alt-cal class"
abbr cl "clip"
abbr cpc "copy cat"
@@ -188,6 +186,7 @@ abbr gsmb "git-submodule-branch"
# ]]] git #
abbr i "sxiv-silent"
abbr lo "libreoffice-silent"
# abbr m "man-vim"
abbr mn "man-vim"
abbr ma "man-vim task"
@@ -198,6 +197,7 @@ abbr pgr "grep-pdf"
abbr pgrf "grep-pdf-file"
abbr pst "pastebin"
abbr qh "qalc-history"
abbr re "reminder ''"
abbr rf "refresh-config"
abbr rl "readlink-cp"
abbr rs "redshift-set"
@@ -211,7 +211,8 @@ abbr svp "server-pages"
abbr ta "tmux-attach"
abbr tao "tmux-attach obs"
abbr thes "thesaurus"
abbr usc "us-to-cad"
# abbr usc "us-to-cad"
abbr us "us-to-cad"
abbr ut "unix-timestamp"
abbr uzr "unzip-rm"
abbr vsnp "vim-snippet"

View File

@@ -0,0 +1,3 @@
function cad-to-us
qalc "$argv[1]CAD to \$"
end

View File

@@ -0,0 +1,3 @@
function libreoffice-silent
libreoffice $argv[1] &
end

View File

@@ -0,0 +1,3 @@
function reminder
termdown $argv[2] && notify-send $argv[1]
end

View File

@@ -2,6 +2,7 @@ function scan-history
sudo systemctl start postgresql.service
# and systemctl status postgresql.service
and source $spv_dir/src/scripts/api-keys.sh
and $spv_dir/src/scripts/update-history-2.sh
# and $spv_dir/src/scripts/update-history-2.sh
and $spv_dir/src/scripts/update-history.sh
and cat $spv_dir/src/api/management/commands/update-history.log | tail -n 1
end

View File

@@ -1,3 +1,4 @@
function us-to-cad
# qalc -e "$argv[1]\$ to CAD"
qalc "$argv[1]\$ to CAD"
end