mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-10 04:15:51 +00:00
start work on porting extscripts to *.desktop configuration
This commit is contained in:
@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
curl ip4.telize.com
|
@ -1,5 +0,0 @@
|
||||
ACTIVE=true
|
||||
INTERVAL=1
|
||||
PREFIX=
|
||||
OUTPUT=true
|
||||
REDIRECT=0
|
@ -1,3 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
print ("Hello the f$%king world!")
|
@ -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
|
10
sources/ext-sysmon/scripts/get-external-ip.desktop
Normal file
10
sources/ext-sysmon/scripts/get-external-ip.desktop
Normal 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
|
10
sources/ext-sysmon/scripts/script-template.desktop
Normal file
10
sources/ext-sysmon/scripts/script-template.desktop
Normal 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
|
Reference in New Issue
Block a user