You are not logged in.
Pages: 1
This is my dzen2.sh config :
#/bin/bash
ICONPATH="/home/scilix/xbm"
DZEN_BG="#0F0F0F"
DZEN_FG="FCFCFC"
ICON_RAM="$ICONPATH/cpu.xbm"
ICON_BAT="$ICONPATH/bat_full_01.xbm"
ICON_DATE="$ICONPATH/clock.xbm"
Ram ()
{
RAM=$(free -h | awk '/Mem/ {print $3}')
echo -n "^i($ICON_RAM) ${RAM}"
return
}
Bat ()
{
BAT=$(cat /sys/class/power_supply/BAT0/capacity)
echo -n "^i($ICON_BAT) ${BAT}"
}
Date ()
{
DATE=$(date +'%H:%M')
echo -n "^i($ICON_DATE) ${DATE}"
}
while true
do
echo " $(Bat) $(Date) "
done | dzen2 -x "1248" -y "6" -w "107" -h "23" -sa 'r' -ta 'r' -bg "#0F0F0F" -fg "#FCFCFC" -fn 'glisp'Image of script https://cloudup.com/iHZAjjuuatA/
Then i add directory of this script to bspwmrc example /home/scilix/Script/bar.sh with & in the end line.I succes to add the bar but after i log out to tty again,display this image :
https://cloudup.com/iZ--Bf0_jAt/
Offline
Don't paste screenshots of text, paste the actual text...
Moving to NC.
Offline
Pages: 1