You are not logged in.
The simple script below will not pass the value to the file used for the variable unless I launch it directly from the shell. The file used to host to data is open wide at 0777 permission. I attempted to launch as part of my start up script ( ~.config/openbox/autostart ) as well as assigning to a key bind to launch and no dice. The script runs but does not write the data to the file so the screen pop only includes the text I have entered.
Any thoughts would be appreciated.
#! /bin/bash
# Geeknote -- screen pop of selected notes : site -- http://geeknote.me/
STRING="*" # String Search in Note
TAG="To-do" # Note Tag Example : Development , To-do
NB="Master" # Notebook
INTERVAL=15 # Pop cylce in minutes
# setting time to zero keeps image up until clicked.
while [ 1 ]
do
geeknote find --search "$STRING" -tg "$TAG" -nb "$NB" | egrep [[:blank:]][0-9][0-9] > /media/N-Space/home/joe/.geeknote/list
VAR=$(cat /media/N-Space/home/joe/.geeknote/list)
xcowsay --monitor=1 --cow-size=small --at=550,5 -l --font="Sans Droid 10.5" --time=0 --image=/media/N-Space/home/joe/.geeknote/logo2.png "
Active notes as of $(date +%F-%r) :
-------------------------------------------------------------
$VAR"
sleep "$INTERVAL"m
done
Last edited by jv2112 (2014-01-01 00:16:37)
Life is pleasant. Death is peaceful. It's the transition that's troublesome. Isaac Asimov - / -
Offline