mirror of
https://github.com/vbrandl/dotfiles
synced 2024-11-26 17:35:12 +01:00
Add teiler configuration
This commit is contained in:
parent
40587e1691
commit
27f5fb42c9
78
tools/misc/teiler/config
Normal file
78
tools/misc/teiler/config
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
|
||||||
|
##### teiler configuration file ######
|
||||||
|
|
||||||
|
# general variables
|
||||||
|
|
||||||
|
# the path where images, videos and pastes should be saved
|
||||||
|
img_path=$HOME/Bilder/Screenshots
|
||||||
|
vid_path=$HOME/Videos/Screencasts
|
||||||
|
paste_path=$HOME/Dokumente/Pastes
|
||||||
|
|
||||||
|
# set viewer for images and videos plus editor for images
|
||||||
|
viewer=geeqie
|
||||||
|
editor=pinta
|
||||||
|
player=vlc
|
||||||
|
|
||||||
|
# Hitting Enter will upload
|
||||||
|
always_ul=1
|
||||||
|
|
||||||
|
# Uploading options
|
||||||
|
# Possible Choices for img_ul: fb, scp, s3, imgur
|
||||||
|
# Possible Choices for vid_ul: fb, scp, s3
|
||||||
|
# Possible Choices for paste_ul: fb, scp, ix
|
||||||
|
img_ul=imgur
|
||||||
|
vid_ul=fb
|
||||||
|
paste_ul=ix
|
||||||
|
|
||||||
|
# Screencast options
|
||||||
|
# Resolution to change to when recording in fullscreen
|
||||||
|
#res=800x600
|
||||||
|
|
||||||
|
# If you use a custom rate for X, set it here.
|
||||||
|
# rate=120
|
||||||
|
|
||||||
|
# Profile to use for screencasts
|
||||||
|
# profiles are stored in $HOME/.config/teiler/profiles
|
||||||
|
# teiler ships with 3 profiles atm. mp4-pulse, mp4-noaudio
|
||||||
|
# and webm-noaudio
|
||||||
|
# You can create your own profiles, but changes to existing profiles
|
||||||
|
# will be overwritten on startup
|
||||||
|
profile="mp4-pulse"
|
||||||
|
|
||||||
|
# hotkeys
|
||||||
|
upload="Alt+1"
|
||||||
|
noupload="Alt+2"
|
||||||
|
delayup="Alt+3"
|
||||||
|
delaysave="Alt+4"
|
||||||
|
|
||||||
|
view="Alt+1"
|
||||||
|
historyupload="Alt+2"
|
||||||
|
edit="Alt+3"
|
||||||
|
clip="Alt+4"
|
||||||
|
|
||||||
|
|
||||||
|
# Normally you don't want to change anything here!
|
||||||
|
SCREENCAST_PIDFILE=/tmp/$USER-teiler-screencast.pid
|
||||||
|
namekey=teiler
|
||||||
|
random_string=$(date +'%Y-%m-%d-%H%M%S')
|
||||||
|
img_filemask=img-$random_string.png
|
||||||
|
paste_filemask=txt-$random_string.txt
|
||||||
|
|
||||||
|
# video filemask is without extension, since it gets the extension
|
||||||
|
# from set profile
|
||||||
|
vid_filemask=vid-$random_string
|
||||||
|
|
||||||
|
help_color="#0C73C2"
|
||||||
|
slop_color="255,0,0"
|
||||||
|
slop_border=2
|
||||||
|
hidecursor=yes
|
||||||
|
# slop options
|
||||||
|
slop_border=1
|
||||||
|
slop_color="255,0,0"
|
||||||
|
hidecursor=yes
|
||||||
|
|
||||||
|
# rofi options ######
|
||||||
|
# here you can override options for rofi. normally rofi options
|
||||||
|
# are read from ~/.Xresources, so setting options there is recommended.
|
||||||
|
# you can dump options for ~/.Xresources with "rofi -dump-xresources"
|
||||||
|
# rofiopts="-border 2 -width 35 -lines 40 -padding 12"
|
8
tools/misc/teiler/profiles/mp4-noaudio
Normal file
8
tools/misc/teiler/profiles/mp4-noaudio
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# do not edit this file. instead make a copy under different name
|
||||||
|
# teiler will overwrite this file on start
|
||||||
|
|
||||||
|
border="-show_region 1"
|
||||||
|
encopts="-r 30 -vcodec libx264 -pix_fmt yuv420p -s $res -movflags +faststart -acodec libmp3lame"
|
||||||
|
rect_encopts="-r 30 -c:v libx264 -preset slow -crf 18 -c:a libvorbis"
|
||||||
|
ext="mp4"
|
||||||
|
ffaudio=""
|
8
tools/misc/teiler/profiles/mp4-pulse
Normal file
8
tools/misc/teiler/profiles/mp4-pulse
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# do not edit this file. instead make a copy under different name
|
||||||
|
# teiler will overwrite this file on start
|
||||||
|
|
||||||
|
border="-show_region 1"
|
||||||
|
encopts="-r 30 -vcodec libx264 -pix_fmt yuv420p -s $res -acodec libmp3lame"
|
||||||
|
rect_encopts="-r 30 -c:v libx264 -preset slow -crf 18 -c:a libvorbis"
|
||||||
|
ext="mp4"
|
||||||
|
ffaudio="-f alsa -ac 2 -i pulse"
|
9
tools/misc/teiler/profiles/s3
Normal file
9
tools/misc/teiler/profiles/s3
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
s3_bucket=
|
||||||
|
s3_path_img=path/to/images
|
||||||
|
s3_path_vid=path/to/videos
|
||||||
|
s3_path_paste=path/to/pastes
|
||||||
|
s3_http_img=http://S3_DOMAIN/path/to/images
|
||||||
|
s3_http_vid=http://S3_DOMAIN/path/to/videos
|
||||||
|
s3_http_paste=http://S3_DOMAIN/path/to/pastes
|
9
tools/misc/teiler/profiles/scp
Normal file
9
tools/misc/teiler/profiles/scp
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
scp_host=HOSTNAME
|
||||||
|
scp_path_img=/path/to/images
|
||||||
|
scp_path_vid=/path/to/videos
|
||||||
|
scp_path_paste=/path/to/pastes
|
||||||
|
http_img=https://YOUR_DOMAIN/path/to/images
|
||||||
|
http_vid=https://YOUR_DOMAIN/path/to/videos
|
||||||
|
http_paste=https://YOUR_DOMAIN/path/to/pastes
|
Loading…
Reference in New Issue
Block a user