From f9a37e7b6444acd8f97e9606f53989b446641e59 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Fri, 19 Jan 2018 11:00:08 +0100 Subject: [PATCH] Add batery scriipt to i3blocks, add zshrc aliases --- .config/i3/blocks | 5 +---- .config/zsh/.zshrc | 6 ++++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.config/i3/blocks b/.config/i3/blocks index 106342b..fb103cf 100644 --- a/.config/i3/blocks +++ b/.config/i3/blocks @@ -65,10 +65,7 @@ separator=true # # The battery instance defaults to 0. [battery] -#label=BAT -#label=⚡ -label= -#instance=1 +command=$HOME/.scripts/wm/battery.sh interval=30 # Date Time diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 9d910f3..722d73b 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -66,6 +66,7 @@ SAVEHIST=10000 ## Aliases +alias q='exit' alias la='ls -laGh --color' alias ls='ls --color' alias rm='rm -i' @@ -76,12 +77,13 @@ alias install='sudo pacman -S' alias remove='sudo pacman -Rns' alias update='sudo pacman -Syy; sudo pacman -Syu' alias clean='sudo pacman -Rns $(pacman -Qtdq)' +alias depend='pacman -Qtd' alias poweroff='systemctl poweroff' alias reboot='systemctl reboot' -alias upl='platformio run --target=upload' -alias ser='platformio serialports monitor --baud 9600' +alias upl='pio run -t=upload' +alias ser='pio serialports monitor -b 9600' # Git alias gl="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d %C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all"