clean ncspot cache, add vaults bg, clean calendar

This commit is contained in:
Felix Van der Jeugt 2022-06-13 17:19:33 +02:00
parent e9f4bbb706
commit 1b695b22de
No known key found for this signature in database
GPG Key ID: 58B209295023754D
3 changed files with 7 additions and 5 deletions

View File

@ -29,10 +29,9 @@ export LC_ALL=en_US.utf8
export BOGOFILTER_DIR="$XDG_DATA_HOME/bogofilter" export BOGOFILTER_DIR="$XDG_DATA_HOME/bogofilter"
export TERMINAL=st export TERMINAL=st
# Select Dock sound card if it's there # Clean spotify cachedir
#(it's broken) if [ -d "$HOME/.cache/ncspot/librespot/files" ]; then
if [ -e /proc/asound/Dock ]; then rm -r "$HOME/.cache/ncspot/librespot/files"
export ALSA_CARD=Dock
fi fi
#stty -ixon # disable <C-s> #stty -ixon # disable <C-s>

View File

@ -8,6 +8,7 @@ forklog() {
case "$(hostname)" in case "$(hostname)" in
mantle) xset dpms 0 0 300 s off ; backimg="bgs -z" ;; mantle) xset dpms 0 0 300 s off ; backimg="bgs -z" ;;
abysm) xset dpms 0 0 50 s off ; backimg="feh --bg-fill" ;; abysm) xset dpms 0 0 50 s off ; backimg="feh --bg-fill" ;;
vaults) xset dpms 0 0 300 s off ; backimg="feh --bg-fill" ;;
esac esac
xset r rate 300 55 xset r rate 300 55

4
zshrc
View File

@ -75,7 +75,9 @@ alias agent='eval "$(ssh-agent)" && ssh-add'
alias unlock='gpg-connect-agent <<<bye' alias unlock='gpg-connect-agent <<<bye'
alias weechat="ssh -t weechat@Hetzner abduco -A weechat" alias weechat="ssh -t weechat@Hetzner abduco -A weechat"
alias agenda="khal list today 7d" alias agenda="khal list today 7d --format '{calendar-color}{cancelled}{start-end-time-style}{repeat-symbol} {title}{reset}'"
alias plan="khal list --notstarted now eod"
alias ncspot="abduco -A ncspot ncspot"
# Ledger # Ledger
alias haccounts="hledger -I --alias '/.*:Accounts [^:]*:(.*)/=Accounts:\1' bal accounts" alias haccounts="hledger -I --alias '/.*:Accounts [^:]*:(.*)/=Accounts:\1' bal accounts"