Compare commits
No commits in common. "64abacbd58dd87cac1fec22fdc2828e63c6f5182" and "7dcbdc08eee84b33dfba7d7982f3627dcba8e4db" have entirely different histories.
64abacbd58
...
7dcbdc08ee
10
README.md
10
README.md
|
@ -4,6 +4,8 @@ Useful utility scripts.
|
||||||
|
|
||||||
`install.sh` -- install all files in `./src/` to install directory (`/usr/local/bin/`).
|
`install.sh` -- install all files in `./src/` to install directory (`/usr/local/bin/`).
|
||||||
|
|
||||||
|
`install.sh -o` -- overwrite pre-existing files in destination directory.
|
||||||
|
|
||||||
`install.sh -u` -- uninstall all files in `./src/` from install directory.
|
`install.sh -u` -- uninstall all files in `./src/` from install directory.
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
@ -14,14 +16,10 @@ Useful utility scripts.
|
||||||
|
|
||||||
| Script | Comment |
|
| Script | Comment |
|
||||||
|---|---|
|
|---|---|
|
||||||
|date-show|Show a time and date notification.|
|
|date-show|Show a time and date window.|
|
||||||
|newbash ["command"]|Create executable `bash` script. Optionally add `command`.|
|
|newbash ["command"]|Create executable `bash` script. Optionally add `command`.|
|
||||||
|newsh ["command"]|Create executable `sh` script. Optionally add `command`.|
|
|newsh ["command"]|Create executable `sh` script. Optionally add `command`.|
|
||||||
|pam-say <text>|Tells Pamela to say something.|
|
|pam-say <text>|Tells Pamela to say something.|
|
||||||
|qutesesh|Open a Qutebrowser session.|
|
|qutesesh|Open a Qutebrowser session.|
|
||||||
|window-select|Select a window |
|
|window-select|Use Dmenu to select from all windows.|
|
||||||
|
|
||||||
## TODO
|
|
||||||
|
|
||||||
* Rename `date-show` to something more general.
|
|
||||||
* Use installer to create symbolic links instead of copying files.
|
|
||||||
|
|
|
@ -38,6 +38,7 @@ for _file in ./src/* ; do
|
||||||
echo "file present - skipping: $_file"
|
echo "file present - skipping: $_file"
|
||||||
fi
|
fi
|
||||||
elif [ $_uninstall -eq 1 ] ; then
|
elif [ $_uninstall -eq 1 ] ; then
|
||||||
|
# WARNING - need to ensure $_filename is not empty (/usr/local/bin will be deleted)
|
||||||
if [ -n "$_destination" ] ; then
|
if [ -n "$_destination" ] ; then
|
||||||
echo "uninstalling: $_destination"
|
echo "uninstalling: $_destination"
|
||||||
sudo rm "$_install_dir$_destination"
|
sudo rm "$_install_dir$_destination"
|
||||||
|
|
Loading…
Reference in New Issue