feat: cleanup aliases, sbar, XDG home
This commit is contained in:
parent
caafb1b1c6
commit
03a0bab194
@ -12,6 +12,7 @@
|
||||
|
||||
[messages]
|
||||
q = :quit<Enter>
|
||||
r = :check-mail<Enter>
|
||||
|
||||
j = :next<Enter>
|
||||
<Down> = :next<Enter>
|
||||
|
@ -13,7 +13,7 @@ https://www.debian.org/News/news "De
|
||||
https://odysee.com/$/rss/@AlphaNerd:8 "MentalOutlaw"
|
||||
https://suckless.org/atom.xml "suckless.org"
|
||||
https://tails.net/news/index.en.rss "Tails"
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UC5UAwBUum7CPN5buc-_N1Fw "TheLinuxExperiment"
|
||||
https://www.youtube.com/feeds/videos.xml?playlist_id=PLqmbcbI8U55EoAsLzrJmdJVjT8NUc3Ooh "TheLinuxExperiment"
|
||||
|
||||
@ Updates
|
||||
https://github.com/vector-im/element-web/releases.atom "element-web"
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit f7adfc4b3f4f91aab6caebf42b3682945fbc35be
|
||||
Subproject commit 8aad4396840be7fc42896e3011751b7609ca4119
|
@ -1 +1 @@
|
||||
Subproject commit 221778e93bfaa58bce4be4e055ed2edecc26f799
|
||||
Subproject commit 1bb28df3cfc241b961331f00dcb8d5b45fe3e4f0
|
@ -1 +1 @@
|
||||
Subproject commit 3a92c540ddf73fb6777987edbe08bbe1822ad722
|
||||
Subproject commit 30492e7e1c9e5af3642e8a74c2f88dc1f50ec305
|
@ -9,8 +9,9 @@ bashcompinit
|
||||
|
||||
colors
|
||||
|
||||
. "$ZDOTDIR"/powerlevel10k/powerlevel10k.zsh-theme
|
||||
. "$ZDOTDIR/powerlevel10k/powerlevel10k.zsh-theme"
|
||||
. "$ZDOTDIR/.p10k.zsh"
|
||||
#. "$ZDOTDIR/prompt.zsh"
|
||||
. "$ZDOTDIR/inputrc.zsh"
|
||||
|
||||
for f in "$ZDOTDIR"/aliases/*; do
|
||||
|
@ -1,7 +1,5 @@
|
||||
# vim: ft=zsh
|
||||
|
||||
alias docker='sudo docker'
|
||||
alias docker-compose='sudo docker-compose'
|
||||
alias dk='docker'
|
||||
|
||||
## container
|
||||
|
@ -52,7 +52,4 @@ alias diff='diff --color'
|
||||
|
||||
alias grep='grep --color --exclude-dir={.bzr,.cache,.git,.hg,.idea,.svn,.tox,.venv,.vscode,CVS,node_modules}'
|
||||
|
||||
alias monero='monero-wallet-cli \
|
||||
--daemon-address monero.maby.dev:18081 \
|
||||
--wallet-file /home/ange/.config/monero/ange --trusted-daemon \
|
||||
--log-file=/tmp/monero-wallet-cli.log'
|
||||
alias xmr='monero-wallet-cli --daemon-address monero.maby.dev:18081 --wallet-file /home/ange/.config/monero/ange --trusted-daemon --log-file=/tmp/monero-wallet-cli.log'
|
||||
|
6
.zshenv
6
.zshenv
@ -12,8 +12,14 @@ export HISTFILE="$XDG_STATE_HOME/zsh_history"
|
||||
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
||||
export LESSHISTFILE='-'
|
||||
|
||||
export KUBECONFIG="$XDG_CONFIG_HOME/kube"
|
||||
export KUBECACHEDIR="$XDG_CACHE_HOME/kube"
|
||||
|
||||
export PYTHON_HISTORY="$XDG_STATE_HOME/python_history"
|
||||
export PYTHONPYCACHEPREFIX="$XDG_CACHE_HOME/python"
|
||||
|
||||
export W3M_DIR="$XDG_STATE_HOME/w3m"
|
||||
|
||||
path=(
|
||||
"$HOME/bin"
|
||||
"$HOME/.local/bin"
|
||||
|
4
bin/sbar
4
bin/sbar
@ -93,6 +93,7 @@ echo "$$" > "$HOME/.cache/pidofbar"
|
||||
|
||||
sec=0
|
||||
while true; do
|
||||
wait && {
|
||||
[ "$((sec % 300))" = 0 ] && update_crypto
|
||||
[ "$((sec % 10))" = 0 ] && {
|
||||
update_cpu
|
||||
@ -104,6 +105,7 @@ while true; do
|
||||
update_time
|
||||
display
|
||||
}
|
||||
sleep "$(awk "BEGIN {s=$(date '+%S.%N'); print 10 - s % 10}")" & wait
|
||||
sec="$((sec + 10))"
|
||||
}
|
||||
awk '@load "time"; BEGIN {d=10; s=system("date \"+%S.%N\""); sleep(d - s % d)}' &
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user