fix: .zshenv duplicate because of ln in $ZSH/..

This commit is contained in:
AngeD 2023-02-19 15:03:42 +01:00
parent fdba17e7ff
commit ab196ca49e
8 changed files with 27 additions and 29 deletions

@ -1 +1 @@
Subproject commit e20d77deac40e6e65d036acd60aff474c0f09282
Subproject commit f0d9150fe8486d0f74757ed9d8987bfc33c7ff44

@ -1 +1 @@
Subproject commit 9a0d3bf7b832818c042aaf30f692b081ddd58bd9
Subproject commit 253d34830709d690f013daf2853a9d21ad7accab

@ -1 +1 @@
Subproject commit 203bf5609137600d73e8ed82703d6b0e320a5f36
Subproject commit f40e3e2304c633411ddf266075f7db5184b1db02

@ -1 +1 @@
Subproject commit 160091db4cd340d4e195eaa79e8f28db0c12af83
Subproject commit 8b6f08165bca8545405ce86eedb1d5be882cd5f7

View File

@ -1,21 +0,0 @@
path=("$HOME/bin" "$HOME/.local/bin" $path)
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_CONFIG_DIRS=/etc/xdg
export XDG_DATA_DIRS='/usr/local/share:/usr/share'
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export ZSH="$ZDOTDIR/ohmyzsh"
export ZSH_CUSTOM="$ZDOTDIR/custom"
export HISTFILE="$XDG_STATE_HOME/zsh_history"
export ZLE_RPROMPT_INDENT=0
export LESSHISTFILE='-'
export EDITOR='nvim'
export XDG_CURRENT_DESKTOP=Unity
export QT_STYLE_OVERRIDE=Materia-dark

@ -1 +1 @@
Subproject commit 69b5737daf0448ad7e6686174638be74f86afdec
Subproject commit cc73a929f637899407d7a17648f89c63b71cc1ff

View File

@ -1 +0,0 @@
.config/zsh/.zshenv

21
.zshenv Normal file
View File

@ -0,0 +1,21 @@
path=("$HOME/bin" "$HOME/.local/bin" $path)
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_CONFIG_DIRS=/etc/xdg
export XDG_DATA_DIRS='/usr/local/share:/usr/share'
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export ZSH="$ZDOTDIR/ohmyzsh"
export ZSH_CUSTOM="$ZDOTDIR/custom"
export HISTFILE="$XDG_STATE_HOME/zsh_history"
export ZLE_RPROMPT_INDENT=0
export LESSHISTFILE='-'
export EDITOR='nvim'
export XDG_CURRENT_DESKTOP=Unity
export QT_STYLE_OVERRIDE=Materia-dark

View File

@ -51,7 +51,6 @@ update_time() {
# [ "[]" = "$event" ] && event=""
#}
# modules that don't update on their own need to be run at the start for getting their initial value
update_vol
update_backlight
@ -73,7 +72,7 @@ sec=0
while true; do
sleep 1 & wait && {
[ $((sec % 3600)) -eq 0 ] && update_crypto
[ $((sec % 1 )) -eq 0 ] && update_time
[ $((sec % 5 )) -eq 0 ] && update_time
[ $((sec % 5 )) -eq 0 ] && update_cpu
[ $((sec % 5 )) -eq 0 ] && update_memory
[ $((sec % 5 )) -eq 0 ] && update_bat