Added scripts for battery and RAM usage to be used with dwmblocks
This commit is contained in:
parent
2ee153db3c
commit
93347ad269
5
localbin/.local/bin/batstatus
Executable file
5
localbin/.local/bin/batstatus
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# get battery percentage and current time remaining
|
||||||
|
|
||||||
|
acpi | awk -F '[, :]' '{print $6 " ~" $8":"$9}'
|
5
localbin/.local/bin/freememory
Executable file
5
localbin/.local/bin/freememory
Executable file
@ -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 LC_ALL=en_US.UTF-8
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
|
|
||||||
|
export PATH=$PATH:~/.local/bin
|
||||||
|
|
||||||
|
|
||||||
ZSH_THEME="powerlevel10k/powerlevel10k"
|
ZSH_THEME="powerlevel10k/powerlevel10k"
|
||||||
|
|
||||||
HIST_STAMPS="yyyy-mm-dd"
|
HIST_STAMPS="yyyy-mm-dd"
|
||||||
|
Loading…
Reference in New Issue
Block a user