dotfiles/scripts
Marty Oehme 9f1fe95662
scripts: Added vidl and archive scripts
Added script for downloading videos with ytdl or any of its derivatives.
The script is adapted from one in my rapberry pi setup which serves
videos remotely, and makes some hardcoded assumptions that might not be
the best for all situations.

Added archive script which takes a file and puts a hardlink to it into
an arbitrary archival folder. This means even if the original file is
deleted its data stays on disk because of its hardlinked archive
version.
2021-12-06 10:47:17 +01:00
..
.config/sh/env.d scripts: Fix nomie static analysis linting 2021-04-04 12:22:34 +02:00
.local/bin scripts: Added vidl and archive scripts 2021-12-06 10:47:17 +01:00
README.md scripts: Add simple readme 2020-10-28 21:23:26 +01:00

Scripts module

The scripts module contains several small shell scripts which did not fit under any specific module. Many of these modules are older and either 'legacy' in that they work but should be restructured at some point, or perhaps not working at all anymore.

Some will work for others without needing changes, some are very personalized to me.

benchmark

benchmark allows you to take the time another commands needs to run. It will simply output the time taken, and can be run repeatedly or averaged to get more accurate readings.

compile

compile is somewhat of a left-over script. It should be refactored and moved into the bibtex module at some point. It takes a filename and tries to invoke the corresponding compiler and is mainly used by my pandoc (or rmarkdown) workflow. open-compiled is somewhat of a companion script which attempts to open the resulting file for the user.

lockscreen

lockscreen does just that, invoke the i3 lock-screen program with some simple defaults and a color.

nomie

nomie logs a simple journal entry in the open source habit-tracking app nomie. To do this it needs an api key, which is, as of now, hard-coded to be sourced from my pass app.