start work on porting extscripts to *.desktop configuration

This commit is contained in:
arcan1s
2014-11-17 10:29:09 +03:00
parent 16d7ca2005
commit 8cdfdd4e81
12 changed files with 287 additions and 136 deletions

View File

@ -1,3 +0,0 @@
#!/bin/bash
curl ip4.telize.com

View File

@ -1,5 +0,0 @@
ACTIVE=true
INTERVAL=1
PREFIX=
OUTPUT=true
REDIRECT=0

View File

@ -1,3 +0,0 @@
#!/usr/bin/python
print ("Hello the f$%king world!")

View File

@ -1,15 +0,0 @@
# is this script active?
ACTIVE=false
# update interval in default plasmoid interval
INTERVAL=1
# does this script have output?
# set to 'false' if it is an action and will not show text in the plasmoid
OUTPUT=true
# prefix to run this script. Usually this field should be blank,
# but you may want to set command (e.g. script language) directly
PREFIX=
# redirect output streams
# -1: stdout to stderr
# 0: do nothing
# 1: stderr to stdout
REDIRECT=0

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=aw-get-external-ip
Comment=Custom command to get external IP
Exec=curl ip4.telize.com
X-AW-Prefix=
X-AW-Active=true
X-AW-Output=true
X-AW-Redirect=nothing
X-AW-Interval=1

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=aw-script-template
Comment=Template for external script
Exec=/path/to/some/command
X-AW-Prefix=/prefix/to/command/if/required
X-AW-Active=false
X-AW-Output=false
X-AW-Redirect=nothing
X-AW-Interval=1