summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/i3blocks/config5
-rw-r--r--.zshrc4
2 files changed, 2 insertions, 7 deletions
diff --git a/.config/i3blocks/config b/.config/i3blocks/config
index 692aa04..0b22813 100644
--- a/.config/i3blocks/config
+++ b/.config/i3blocks/config
@@ -29,11 +29,6 @@ interval=once
signal=13
command=unread=$(newsboat -x print-unread|cut -w -f1) && [ "$unread" != 0 ] && [ "$unread" != Authentication ] && printf "󰎕 %s\n" $unread || return 0
-[updates]
-interval=once
-signal=15
-command=doas freebsd-update updatesready > /dev/null ; [ $? -ne 2 ] && printf "󰣠 Updates ready" || return 0
-
[weather]
interval=300
command=weather.sh
diff --git a/.zshrc b/.zshrc
index fd607c2..c8344bb 100644
--- a/.zshrc
+++ b/.zshrc
@@ -39,7 +39,7 @@ WORDCHARS=${WORDCHARS//[&.;]} # Don't consider c
bindkey -v
## Aliases
-. "$HOME/.config/aliasrc"
+[ -f "$HOME/.config/aliasrc" ] && . "$HOME/.config/aliasrc"
## Plugins
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # syntax highlighting
@@ -56,4 +56,4 @@ zstyle ':vcs_info:git:*' formats '├ %b'$'\n'
## Prompt
RPROMPT=$'%(?.%t.%? %t)'
-PROMPT=$'\n╭ %B$fg[cyan]%(4~|%-1~/.../%2~|%~)%b\n\$vcs_info_msg_0_╰ '
+PROMPT=$'\n╭ %B$fg[cyan]%(4~|%-1~/.../%2~|%~)%b\n\$vcs_info_msg_0_╰ %# '