diff options
author | 53hornet <atc@53hor.net> | 2021-12-16 17:54:22 -0500 |
---|---|---|
committer | 53hornet <atc@53hor.net> | 2021-12-16 17:54:22 -0500 |
commit | 7f4838f1c7b3b705afe9630dbf9a21a73b0a6844 (patch) | |
tree | 1bbf69d193d9ecd4b73af958b4713852edebe9a9 | |
parent | 69dd04d9a9d35ebeea740f8729faad3042fb1f48 (diff) | |
download | dotfiles-7f4838f1c7b3b705afe9630dbf9a21a73b0a6844.tar.xz dotfiles-7f4838f1c7b3b705afe9630dbf9a21a73b0a6844.zip |
fix: remove updates from blocks, add superuser prompt to shell
-rw-r--r-- | .config/i3blocks/config | 5 | ||||
-rw-r--r-- | .zshrc | 4 |
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 @@ -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_╰ %# ' |