This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Author: Malsententia <[email protected]> | |
#Purpose: Colorized man pages, with random themes seeded by | |
# the command and/or section. That is, every man page | |
# has its own consistent color scheme. For example | |
# man tar is always yellow, green, and blue, man less | |
# is always pink, blue, and yellow, etc.(on zsh, anyway) | |
#Note: Colorization will differ between bash and zsh, since their | |
# RNGs are different | |
#Requires: bash or zsh(may support others), and perl | |
#Setup: Name it .mancolor.sh, source it in your bashrc/zshrc, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Author: Malsententia <[email protected]> | |
#Purpose: Uses a chromeless firefox window as an image viewer. | |
# Inferior to most other image viewers, but good for APNGs | |
# Opens kinda fast if you already have firefox running, I guess? | |
#Usage: fireview image.ext | |
#Requires: file - gets the resolution | |
# firefox - duh | |
# xrandr - determines monitor resolution for max window size | |
# xdotool - figures out which monitor your mouse is on, for above |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Batch processor for assorted media yielding web playback compatible mp4s | |
#basic summary of args | |
#batch-ffmpegger.sh tuningparameter [FILES]... [trimstring] | |
#tuningparameter - ffmpeg's x264 tuning parameter. should be "film" or "animation" most likely. | |
# (googlit for the other options which you probably don't need) | |
#FILES - however many files you want. Doesn't do directories, use a wildcard/*.mkv etc | |
#trimstring - an optional custom string to trim the torrent-name and resolution stuff off the end | |
# of the file. a regex down below catches most of it though | |
# if the last argument isn't an existing file, it will be treated as the trimstring |