From 58b95caf983d09096056cce60db8c1ecfda43cf7 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 27 Jul 2022 23:08:00 -0500 Subject: Initial commit --- COPYING | 9 +++ autoshart.sh | 231 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 240 insertions(+) create mode 100644 COPYING create mode 100755 autoshart.sh diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..0520203 --- /dev/null +++ b/COPYING @@ -0,0 +1,9 @@ +Copyright (C) 2022 Case Duckworth + +Usage of the works is permitted provided that this instrument is +retained with the works, so that any entity that uses the works is +notified of this instrument. + +DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY. + + diff --git a/autoshart.sh b/autoshart.sh new file mode 100755 index 0000000..4868846 --- /dev/null +++ b/autoshart.sh @@ -0,0 +1,231 @@ +#!/bin/sh +# AUTOSHART: autostart *.desktop files +# Copyright (C) 2022 Case Duckworth +# Licensed under the Fair license. See COPYING for details. +# +# Commentary: +# +# Freedesktop autostart specification: +# https://specifications.freedesktop.org/autostart-spec/latest/ +# Freedesktop desktop entry specification: +# https://specifications.freedesktop.org/desktop-entry-spec/latest/ +# +# Prior art: +# - dex -- https://github.com/jceb/dex +# +# Code: + +usage() { + cat <