@@ -0,0 +1,34 @@
# Global properties
separator_block_width=15
command=$HOME/.i3blocks/$BLOCK_NAME

[backlight]
label=B:
interval=30
signal=12

[torrent]
label=T:
interval=10
signal=13

[wireless]
label=W:
instance=wlp58s0
color=#00FF00
interval=5

[battery]
label=Pow:
interval=30
signal=11

[volume]
label=Vol:
instance=Master
interval=30
signal=10

[time]
command=date | awk '{split($4, a, ":"); printf "%s %s %s %s:%02d", $1, $2, $3, a[1],int(a[2]/15)*15}'
interval=10
File renamed without changes.
@@ -11,3 +11,7 @@ else
echo "down"
echo "FF0000"
fi

case $BLOCK_BUTTON in
3) $BROWSER "http://localhost:9091"
esac
@@ -1,6 +1,3 @@
# Perform tasks
trash-empty 7 & # Remove items in trash older than 7 days

# Merge Xresources and start i3
xrdb -merge ~/.Xresources &
exec i3
@@ -1,9 +1,8 @@
alias aurau='sudo aur && sudo aura -Syu && sudo aura -Akua'
alias aurau='sudo aur; sudo aura -Syu; sudo aura -Akua'
alias aurac='sudo aura -Oj && sudo paccache -r && sudo paccache -ruk0 && sudo pacman-optimize'
alias aural='aura -Qi | awk "/^Name/ {pkg=\$3} /Size/ {print \$4\$5,pkg}" | sort -h | column -t'
alias auras='sudo reflector --verbose -l 25 --sort rate --save /etc/pacman.d/mirrorlist'
alias redshift-toggle='(pgrep redshift && pkill redshift) || redshift -l 55.4:12.25 -m vidmode &'
alias make-lists='comm -23 <(pacman -Qqen | sort) <(pacman -Qgq base base-devel | sort) > ~/annex/lists/pacman.txt && pacman -Qqem > ~/annex/lists/aur.txt && systemctl list-unit-files | grep enabled | awk "{print \$1}" | sort > ~/annex/lists/systemd.txt'
# alias rm='rm --interactive=once --preserve-root -v'
alias sudo='nocorrect sudo '
alias rm='trash -v '
File renamed without changes.
6 .zshrc
@@ -59,16 +59,16 @@ setopt COMPLETE_ALIASES # Don't expand aliases _before_ completion has
zplug load

# Source environment variables and aliases
source ~/.aliases
source ~/.environment
source ~/.zsh_aliases
source ~/.zsh_environment

# Needed to make GPG Agent ncurses work
export GPG_TTY=`tty`

# Function to bind keys
myZkbd() {
autoload zkbd
source ~/.zkbd/$TERM-:0 # may be different - check where zkbd saved the configuration:
source ~/.zkbd/$TERM-:1 # may be different - check where zkbd saved the configuration:
[[ -n ${key[Backspace]} ]] && bindkey "${key[Backspace]}" backward-delete-char
[[ -n ${key[Insert]} ]] && bindkey "${key[Insert]}" overwrite-mode
[[ -n ${key[Home]} ]] && bindkey "${key[Home]}" beginning-of-line