This file contains 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 <Malsententia@gmail.com> | |
#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 |