mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Addtions(rofi, teiler): moved from dmenu to rofi and from maimpick to teiler
This commit is contained in:
parent
71db4ecb67
commit
ba4e205e54
5
.config/rofi/config
Normal file
5
.config/rofi/config
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
rofi.theme: /usr/share/rofi/themes/arthur.rasi
|
||||||
|
rofi.font: "Source Code Pro" 20
|
||||||
|
rofi.modi: combi
|
||||||
|
rofi.combi-modi: window,run
|
||||||
|
|
||||||
74
.config/teiler/config
Normal file
74
.config/teiler/config
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
##### teiler configuration file ######
|
||||||
|
|
||||||
|
# rofi command. Make sure to have "$@" as last argument
|
||||||
|
_rofi () {
|
||||||
|
rofi -kb-accept-entry "!Return" "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
# general variables
|
||||||
|
|
||||||
|
# the path where images, videos and pastes should be saved
|
||||||
|
img_path=$HOME/Pictures/Screenshots
|
||||||
|
vid_path=$HOME/Videos/Screencasts
|
||||||
|
paste_path=$HOME/Pictures/Paste
|
||||||
|
|
||||||
|
# set viewer for images and videos plus editor for images
|
||||||
|
viewer=eog
|
||||||
|
editor=pinta
|
||||||
|
player=mpv
|
||||||
|
|
||||||
|
# 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"
|
||||||
|
hidecursor=yes
|
||||||
|
# slop options
|
||||||
|
slop_border=1
|
||||||
|
slop_color="255,0,0"
|
||||||
|
hidecursor=yes
|
||||||
8
.config/teiler/profiles/mp4-noaudio
Normal file
8
.config/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
.config/teiler/profiles/mp4-pulse
Normal file
8
.config/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"
|
||||||
8
.config/teiler/profiles/webm-noaudio
Normal file
8
.config/teiler/profiles/webm-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="-c:v vp8 -threads 2 -pix_fmt yuv420p -crf 30 -b:v 0 -s $res"
|
||||||
|
rect_encopts="-r 30 -c:v vp8 -threads 4 -pix_fmt yuv420p -crf 30 -b:v 0"
|
||||||
|
ext="webm"
|
||||||
|
ffaudio=""
|
||||||
9
.config/teiler/uploader/s3
Normal file
9
.config/teiler/uploader/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
.config/teiler/uploader/scp
Normal file
9
.config/teiler/uploader/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…
x
Reference in New Issue
Block a user