Added in headers for files

master
Steven Saus 4 years ago
parent 75cae28a74
commit 2efffe1b28
  1. 4
      books_search.sh
  2. 5
      clipimg.sh
  3. 16
      tmux_devour.sh
  4. 17
      tmux_sidebar.sh
  5. 17
      tmux_topbar.sh
  6. 18
      ytube

@ -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.

@ -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.
##############################################################################

@ -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
# if not, create sidebar and export variable

@ -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
# if not, create sidebar and export variable

@ -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
# if not, create sidebar and export variable

18
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

Loading…
Cancel
Save