From 041b7a9b9ef7b7b1ae017b42291f12c1ecffe9ab Mon Sep 17 00:00:00 2001 From: q5sys Date: Tue, 16 May 2017 20:02:00 -0400 Subject: remove .desktop file and add readme for lumina-notify --- src-qt5/desktop-utils/lumina-notify/README | 33 ++++++++++++++++++++++ .../lumina-notify/lumina-notify.desktop | 9 ------ .../desktop-utils/lumina-notify/lumina-notify.pro | 3 -- 3 files changed, 33 insertions(+), 12 deletions(-) create mode 100644 src-qt5/desktop-utils/lumina-notify/README delete mode 100644 src-qt5/desktop-utils/lumina-notify/lumina-notify.desktop (limited to 'src-qt5/desktop-utils/lumina-notify') diff --git a/src-qt5/desktop-utils/lumina-notify/README b/src-qt5/desktop-utils/lumina-notify/README new file mode 100644 index 00000000..ea71b0f4 --- /dev/null +++ b/src-qt5/desktop-utils/lumina-notify/README @@ -0,0 +1,33 @@ +### lumina-notify + +This is a simple application for launching QDialogs from shell. + +Use: + +lumina-notify arg1 arg2 arg3 arg4 + +* arg1 = Message Text +* arg2 = Button Text (Accept Role) +* arg3 = Button Text (Reject Role) +* arg4 = Window Title + +For multiple word arguments encapsulate them with "s + +*** +Example usage in shell script +*** + +~~~~ +#!/bin/csh +set a=`./lumina-notify "Did Jar Jar do anything wrong?" Yes No "Question"` +if ($a == 1) then +set b=`./lumina-notify "Are you sure?" Yes No "Are you Sure?"` +if ($b == 1) then +./lumina-notify "Please stop being a hater." Ok Ok "Haters gunna hate" +else +set c=`./lumina-notify "Thank you for changing your mind" OK OK "You're Awesome"` +endif +else +./lumina-notify "High Five for Darth Jar Jar" Sure OK "Respect" +endif` +~~~~ diff --git a/src-qt5/desktop-utils/lumina-notify/lumina-notify.desktop b/src-qt5/desktop-utils/lumina-notify/lumina-notify.desktop deleted file mode 100644 index 3aad94f0..00000000 --- a/src-qt5/desktop-utils/lumina-notify/lumina-notify.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Exec=lumina-notify -Icon=clock -Terminal=false -Type=Application -StartupNotify=true -Categories=Utility; -Name=Lumina Notify -Comment=Alarm clock and notification system diff --git a/src-qt5/desktop-utils/lumina-notify/lumina-notify.pro b/src-qt5/desktop-utils/lumina-notify/lumina-notify.pro index 56684eef..7aa09583 100644 --- a/src-qt5/desktop-utils/lumina-notify/lumina-notify.pro +++ b/src-qt5/desktop-utils/lumina-notify/lumina-notify.pro @@ -12,9 +12,6 @@ TARGET = lumina-notify target.path = $${L_BINDIR} TEMPLATE = app -desktop.files=lumina-notify.desktop -desktop.path=$${L_SHAREDIR}/applications/ - DEFINES += QT_DEPRECATED_WARNINGS SOURCES += main.cpp -- cgit From 2ba84d3d7f0bf20f8392f55820a59baba02dcc2b Mon Sep 17 00:00:00 2001 From: q5sys Date: Tue, 16 May 2017 20:09:19 -0400 Subject: rename readme so github knows its a markdown file --- src-qt5/desktop-utils/lumina-notify/README | 33 --------------------------- src-qt5/desktop-utils/lumina-notify/README.md | 33 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 src-qt5/desktop-utils/lumina-notify/README create mode 100644 src-qt5/desktop-utils/lumina-notify/README.md (limited to 'src-qt5/desktop-utils/lumina-notify') diff --git a/src-qt5/desktop-utils/lumina-notify/README b/src-qt5/desktop-utils/lumina-notify/README deleted file mode 100644 index ea71b0f4..00000000 --- a/src-qt5/desktop-utils/lumina-notify/README +++ /dev/null @@ -1,33 +0,0 @@ -### lumina-notify - -This is a simple application for launching QDialogs from shell. - -Use: - -lumina-notify arg1 arg2 arg3 arg4 - -* arg1 = Message Text -* arg2 = Button Text (Accept Role) -* arg3 = Button Text (Reject Role) -* arg4 = Window Title - -For multiple word arguments encapsulate them with "s - -*** -Example usage in shell script -*** - -~~~~ -#!/bin/csh -set a=`./lumina-notify "Did Jar Jar do anything wrong?" Yes No "Question"` -if ($a == 1) then -set b=`./lumina-notify "Are you sure?" Yes No "Are you Sure?"` -if ($b == 1) then -./lumina-notify "Please stop being a hater." Ok Ok "Haters gunna hate" -else -set c=`./lumina-notify "Thank you for changing your mind" OK OK "You're Awesome"` -endif -else -./lumina-notify "High Five for Darth Jar Jar" Sure OK "Respect" -endif` -~~~~ diff --git a/src-qt5/desktop-utils/lumina-notify/README.md b/src-qt5/desktop-utils/lumina-notify/README.md new file mode 100644 index 00000000..ea71b0f4 --- /dev/null +++ b/src-qt5/desktop-utils/lumina-notify/README.md @@ -0,0 +1,33 @@ +### lumina-notify + +This is a simple application for launching QDialogs from shell. + +Use: + +lumina-notify arg1 arg2 arg3 arg4 + +* arg1 = Message Text +* arg2 = Button Text (Accept Role) +* arg3 = Button Text (Reject Role) +* arg4 = Window Title + +For multiple word arguments encapsulate them with "s + +*** +Example usage in shell script +*** + +~~~~ +#!/bin/csh +set a=`./lumina-notify "Did Jar Jar do anything wrong?" Yes No "Question"` +if ($a == 1) then +set b=`./lumina-notify "Are you sure?" Yes No "Are you Sure?"` +if ($b == 1) then +./lumina-notify "Please stop being a hater." Ok Ok "Haters gunna hate" +else +set c=`./lumina-notify "Thank you for changing your mind" OK OK "You're Awesome"` +endif +else +./lumina-notify "High Five for Darth Jar Jar" Sure OK "Respect" +endif` +~~~~ -- cgit