diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-04-09 14:33:36 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-04-09 14:33:36 -0300 |
commit | 769e115a01f5bd373046275e65a41da52c05fcec (patch) | |
tree | fe27d36999ab2ced0e40ea6a68451bd32c8f2f42 | |
download | wrappers-769e115a01f5bd373046275e65a41da52c05fcec.tar.gz wrappers-769e115a01f5bd373046275e65a41da52c05fcec.tar.bz2 |
Initial import
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | TODO.md | 4 | ||||
-rwxr-xr-x | calendar | 16 | ||||
-rwxr-xr-x | 16 | |||||
-rwxr-xr-x | news | 18 |
5 files changed, 59 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..b312a94 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +Wrappers +======== + +* Simpler names for applications. +* Makes sure that the needed config files exist. @@ -0,0 +1,4 @@ +TODO +==== + +* Copy default configuration from dotfiles' templates. diff --git a/calendar b/calendar new file mode 100755 index 0000000..18a91e3 --- /dev/null +++ b/calendar @@ -0,0 +1,16 @@ +#!/bin/bash +# +# Wrapper for calendar application. +# + +# Parameters +BASENAME="`basename $0`" + +# Check configuration +if [ ! -e "$HOME/.custom/reminders" ]; then + mkdir -p $HOME/.custom + touch $HOME/.custom/reminders +fi + +# Dispatch +wyrd @@ -0,0 +1,16 @@ +#!/bin/bash +# +# Wrapper for calendar application. +# + +# Parameters +BASENAME="`basename $0`" + +# Check configuration +if [ ! -e "$HOME/.custom/muttrc" ]; then + mkdir -p $HOME/.custom + touch $HOME/.custom/muttrc +fi + +# Dispatch +mutt @@ -0,0 +1,18 @@ +#!/bin/bash +# +# Wrapper for calendar application. +# + +# Parameters +BASENAME="`basename $0`" + +# Check configuration +if [ ! -e "$HOME/.custom/newsbeuter/config" ]; then + mkdir -p $HOME/.custom/newsbeuter + touch $HOME/.custom/newsbeuter/config +fi + +# Dispatch +#newsbeuter -X +#newsbeuter +torify newsbeuter |