From 2efffe1b283043c3031de73df692d9b6c7998032 Mon Sep 17 00:00:00 2001 From: Steven Saus Date: Sun, 30 Aug 2020 04:27:13 -0400 Subject: [PATCH] Added in headers for files --- books_search.sh | 4 ++++ clipimg.sh | 5 +++++ tmux_devour.sh | 16 ++++++++-------- tmux_sidebar.sh | 17 ++++++++--------- tmux_topbar.sh | 17 ++++++++--------- ytube | 18 ++++++++++++++---- 6 files changed, 47 insertions(+), 30 deletions(-) diff --git a/books_search.sh b/books_search.sh index 01dbbb4..603fbd5 100755 --- a/books_search.sh +++ b/books_search.sh @@ -3,6 +3,10 @@ ############################################################################## # +# books_search.sh +# By Steven Saus +# (c) 2020; licensed under the MIT license +# # Find and open an ebook from your Calibre library without, ahem, opening your # Calibre library. Feeds in format, author, and title to fzf / rofi for you # to choose, then uses epy/epr/conversion for TUI/CLI and xdg-open for GUI. diff --git a/clipimg.sh b/clipimg.sh index f0f47bc..667245c 100755 --- a/clipimg.sh +++ b/clipimg.sh @@ -1,6 +1,11 @@ #!/bin/bash ############################################################################## +# +# clipimg.sh +# By Steven Saus +# (c) 2020; licensed under the MIT license +# # Uses fzf or rofi to choose a clipart emoji (or reaction image) from a list, # then copies it to the clipboard (using xclip) and selects it for pasting. ############################################################################## diff --git a/tmux_devour.sh b/tmux_devour.sh index 10e5858..deff655 100755 --- a/tmux_devour.sh +++ b/tmux_devour.sh @@ -1,12 +1,12 @@ #!/bin/bash - -#maybe use this as a setup for those programs and have a permanent sidebar? -#tmux send-keys -t "%74" "chafa " "/home/steven/downloads/images/big_keys_for_logo.jpg" "C-m" -# See the space!!! -#replaces man command - makes help a fallback -# use pick to deal with the output better -#TOD +############################################################################## +# +# tmux_devour.sh +# By Steven Saus +# (c) 2020; licensed under the MIT license +# +############################################################################## c_tmux=$(env | grep -c TMUX) if [ $c_tmux -gt 0 ];then @@ -31,4 +31,4 @@ # Is it tmux? # Does the sidebar already exist in this window? -# if not, create sidebar and export variable \ No newline at end of file +# if not, create sidebar and export variable diff --git a/tmux_sidebar.sh b/tmux_sidebar.sh index 79abe22..29a4bea 100755 --- a/tmux_sidebar.sh +++ b/tmux_sidebar.sh @@ -1,13 +1,12 @@ #!/bin/bash - -#maybe use this as a setup for those programs and have a permanent sidebar? -#tmux send-keys -t "%74" "chafa " "/home/steven/downloads/images/big_keys_for_logo.jpg" "C-m" -# See the space!!! -#replaces man command - makes help a fallback -# use pick to deal with the output better -#TOD - +############################################################################## +# +# tmux_sidebar.sh +# By Steven Saus +# (c) 2020; licensed under the MIT license +# +############################################################################## c_tmux=$(env | grep -c TMUX) if [ $c_tmux -gt 0 ];then command=$(echo "$@") @@ -30,4 +29,4 @@ # Is it tmux? # Does the sidebar already exist in this window? -# if not, create sidebar and export variable \ No newline at end of file +# if not, create sidebar and export variable diff --git a/tmux_topbar.sh b/tmux_topbar.sh index ac35ae4..99c6ef9 100755 --- a/tmux_topbar.sh +++ b/tmux_topbar.sh @@ -1,13 +1,12 @@ #!/bin/bash - -#maybe use this as a setup for those programs and have a permanent sidebar? -#tmux send-keys -t "%74" "chafa " "/home/steven/downloads/images/big_keys_for_logo.jpg" "C-m" -# See the space!!! -#replaces man command - makes help a fallback -# use pick to deal with the output better -#TOD - +############################################################################## +# +# tmux_topbar.sh +# By Steven Saus +# (c) 2020; licensed under the MIT license +# +############################################################################## c_tmux=$(env | grep -c TMUX) if [ $c_tmux -gt 0 ];then command=$(echo "$@") @@ -30,4 +29,4 @@ # Is it tmux? # Does the sidebar already exist in this window? -# if not, create sidebar and export variable \ No newline at end of file +# if not, create sidebar and export variable diff --git a/ytube b/ytube index fb8d11d..b8868a7 100755 --- a/ytube +++ b/ytube @@ -1,5 +1,19 @@ #!/bin/bash +############################################################################## +# +# ytube +# By Steven Saus +# (c) 2020; licensed under the MIT license +# +# My personal helper script for youtube-dl +############################################################################## +#TODO - ADD IN DOWNLOAD PLAYLIST OPTION +#TODO - re-implement batch file list input +#TODO - MAKE SO TUI is default +#TODO - Update youtube-dl when first activated via pip, venv, etc? + + ACTION="" GUI="" @@ -61,9 +75,6 @@ option="$1" esac done -#TODO - ADD IN DOWNLOAD PLAYLIST OPTION -#TODO - re-implement batch file list input -#TODO - MAKE SO TUI is default if [[ "$URL" = "" ]];then URL=$(zenity --timeout 30 --entry --text "What is the YouTube URL?" --entry-text "") if [[ "$URL" = "" ]];then @@ -71,7 +82,6 @@ if [[ "$URL" = "" ]];then fi fi -#TODO - MAKE SO TUI is default if [[ "$ACTION" = "" ]];then ACTION=$(zenity --timeout 30 --list --column "Pick" --column "Opinion" --text "Which action?" --radiolist TRUE "VIDEO" FALSE "AUDIO" FALSE "BOTH" FALSE "PLAY"); if [[ "$ACTION" = "" ]];then