diff --git a/localbin/.local/bin/batstatus b/localbin/.local/bin/batstatus new file mode 100755 index 0000000..b93e4e1 --- /dev/null +++ b/localbin/.local/bin/batstatus @@ -0,0 +1,5 @@ +#!/bin/sh + +# get battery percentage and current time remaining + +acpi | awk -F '[, :]' '{print $6 " ~" $8":"$9}' diff --git a/localbin/.local/bin/freememory b/localbin/.local/bin/freememory new file mode 100755 index 0000000..0afd42b --- /dev/null +++ b/localbin/.local/bin/freememory @@ -0,0 +1,5 @@ +#!/bin/sh + +# simple script to show systemmemory in dwmblocks + +free -h | awk '/^Mem/ { print $3"/"$2 }' | sed s/i//g diff --git a/zsh/.zshrc b/zsh/.zshrc index c89209b..45825a9 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -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"