diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-09-23 01:27:28 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-09-23 01:27:28 +0200 |
commit | f051f82ecdfc479a554796706408dd9744ff7a78 (patch) | |
tree | dc3205488900fbf2a456cd584631eb41980e63b6 | |
parent | added devilspie config (diff) |
added newfile script for dropnroll
-rwxr-xr-x | contrib/newfile.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/newfile.sh b/contrib/newfile.sh new file mode 100755 index 0000000..798e25d --- /dev/null +++ b/contrib/newfile.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +DIR=$1 +FILENAME=$2 +SIZE=$3 + +if [ -z "$FILENAME" ]; then + exit 1; +fi + +export DISPLAY=':0.0' +export XAUTHORITY='/home/equinox/.Xauthority' + +exec klokdisplay "$DIR/$FILENAME" |