1
Fork 0

Add the resize-window function.

This commit is contained in:
Bauke 2023-03-14 00:02:37 +01:00
parent e388e4fa7e
commit f43587456c
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,12 @@ mc () {
cd "$1" cd "$1"
} }
# Select a window and resize it to the specified resolution.
# resize-window [width (default: 1280)] [height (default: 720)]
resize-window () {
xdotool selectwindow windowsize ${1-1280} ${2-720}
}
# Converts any given files to 128K Opus using ffmpeg. # Converts any given files to 128K Opus using ffmpeg.
# to-opus <file ...> # to-opus <file ...>
to-opus () { to-opus () {