diff --git a/.config/aerc/binds.conf b/.config/aerc/binds.conf index 7f261c1..46a79a5 100644 --- a/.config/aerc/binds.conf +++ b/.config/aerc/binds.conf @@ -12,6 +12,7 @@ [messages] q = :quit +r = :check-mail j = :next = :next diff --git a/.config/newsraft/feeds b/.config/newsraft/feeds index 3486acd..68441f1 100644 --- a/.config/newsraft/feeds +++ b/.config/newsraft/feeds @@ -7,13 +7,13 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCto7D1L-MiRoOziCXK9uT5Q "Le https://www.youtube.com/feeds/videos.xml?channel_id=UCRlEFn0L2G_DktbyvN0AZ5A "WadZee" @ Linux -https://archlinux.org/feeds/news/ "ArchLinux" -https://odysee.com/$/rss/@BrodieRobertson:5 "BrodieRobertson" -https://www.debian.org/News/news "Debian" -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://archlinux.org/feeds/news/ "ArchLinux" +https://odysee.com/$/rss/@BrodieRobertson:5 "BrodieRobertson" +https://www.debian.org/News/news "Debian" +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?playlist_id=PLqmbcbI8U55EoAsLzrJmdJVjT8NUc3Ooh "TheLinuxExperiment" @ Updates https://github.com/vector-im/element-web/releases.atom "element-web" diff --git a/.config/nvim/pack/plugins/opt/plenary b/.config/nvim/pack/plugins/opt/plenary index f7adfc4..8aad439 160000 --- a/.config/nvim/pack/plugins/opt/plenary +++ b/.config/nvim/pack/plugins/opt/plenary @@ -1 +1 @@ -Subproject commit f7adfc4b3f4f91aab6caebf42b3682945fbc35be +Subproject commit 8aad4396840be7fc42896e3011751b7609ca4119 diff --git a/.config/nvim/pack/plugins/opt/telescope b/.config/nvim/pack/plugins/opt/telescope index 221778e..1bb28df 160000 --- a/.config/nvim/pack/plugins/opt/telescope +++ b/.config/nvim/pack/plugins/opt/telescope @@ -1 +1 @@ -Subproject commit 221778e93bfaa58bce4be4e055ed2edecc26f799 +Subproject commit 1bb28df3cfc241b961331f00dcb8d5b45fe3e4f0 diff --git a/.config/nvim/pack/plugins/opt/treesitter b/.config/nvim/pack/plugins/opt/treesitter index 3a92c54..30492e7 160000 --- a/.config/nvim/pack/plugins/opt/treesitter +++ b/.config/nvim/pack/plugins/opt/treesitter @@ -1 +1 @@ -Subproject commit 3a92c540ddf73fb6777987edbe08bbe1822ad722 +Subproject commit 30492e7e1c9e5af3642e8a74c2f88dc1f50ec305 diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 767616b..ffdeca7 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -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 diff --git a/.config/zsh/aliases/docker.zsh b/.config/zsh/aliases/docker.zsh index 9f0970a..9635f19 100644 --- a/.config/zsh/aliases/docker.zsh +++ b/.config/zsh/aliases/docker.zsh @@ -1,7 +1,5 @@ # vim: ft=zsh -alias docker='sudo docker' -alias docker-compose='sudo docker-compose' alias dk='docker' ## container diff --git a/.config/zsh/aliases/general.zsh b/.config/zsh/aliases/general.zsh index 9b26d54..cb48e21 100644 --- a/.config/zsh/aliases/general.zsh +++ b/.config/zsh/aliases/general.zsh @@ -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' diff --git a/.zshenv b/.zshenv index bae2199..9a7dcf6 100644 --- a/.zshenv +++ b/.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" diff --git a/README.md b/README.md index 4f1993e..2282738 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ See (https://git.maby.dev/ange/archinstall.git) for installation -To clone the repo : +To clone the repo: ```console git clone --bare https://git.maby.dev/ange/.dotfiles.git ~/.dotfiles alias config='git --git-dir=$HOME/.dotfiles --work-tree=$HOME' diff --git a/bin/sbar b/bin/sbar index e9cb1a4..ed2e584 100755 --- a/bin/sbar +++ b/bin/sbar @@ -93,17 +93,19 @@ echo "$$" > "$HOME/.cache/pidofbar" sec=0 while true; do - [ "$((sec % 300))" = 0 ] && update_crypto - [ "$((sec % 10))" = 0 ] && { - update_cpu - update_memory - update_sink_vol - update_source_vol - update_wlp - update_bat - update_time - display + wait && { + [ "$((sec % 300))" = 0 ] && update_crypto + [ "$((sec % 10))" = 0 ] && { + update_cpu + update_memory + update_sink_vol + update_source_vol + update_wlp + update_bat + update_time + display + } + sec="$((sec + 10))" } - 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