Added scripts for battery and RAM usage to be used with dwmblocks

zsh
_N0x 3 years ago
parent 2ee153db3c
commit 93347ad269

@ -0,0 +1,5 @@
#!/bin/sh
# get battery percentage and current time remaining
acpi | awk -F '[, :]' '{print $6 " ~" $8":"$9}'

@ -0,0 +1,5 @@
#!/bin/sh
# simple script to show systemmemory in dwmblocks
free -h | awk '/^Mem/ { print $3"/"$2 }' | sed s/i//g

@ -19,6 +19,9 @@ export ZSH="/home/n0x/.oh-my-zsh"
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export PATH=$PATH:~/.local/bin
ZSH_THEME="powerlevel10k/powerlevel10k"
HIST_STAMPS="yyyy-mm-dd"

Loading…
Cancel
Save