1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-24 06:06:46 +00:00

mpv: decrease zoom/pan, fix twitch-dl, update qute

also use python3 for starship, always supath, open with rifle
This commit is contained in:
Phantop 2021-03-23 08:16:56 -04:00
parent 53ee953c20
commit 11fe5f2f40
6 changed files with 15 additions and 13 deletions

View file

@ -1,14 +1,14 @@
[ multiply speed 1/1.05
] multiply speed 1.05
Alt+- add video-zoom -0.1
Alt+= add video-zoom 0.1
Alt++ add video-zoom 0.1
Alt+- add video-zoom -0.05
Alt+= add video-zoom 0.05
Alt++ add video-zoom 0.05
Alt+h add video-pan-x 0.05
Alt+l add video-pan-x -0.05
Alt+k add video-pan-y 0.05
Alt+j add video-pan-y -0.05
Alt+Left add video-pan-x -0.05
Alt+Right add video-pan-x 0.05
Alt+Up add video-pan-y -0.05
Alt+Down add video-pan-y 0.05
CTRL+1 change-list glsl-shaders set "~~/shaders/Anime4K_Upscale_CNN_L_x2_Denoise.glsl:~~/shaders/Anime4K_Auto_Downscale_Pre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_M_x2_Deblur.glsl"
CTRL+2 change-list glsl-shaders set "~~/shaders/Anime4K_Upscale_CNN_L_x2_Denoise.glsl:~~/shaders/Anime4K_Auto_Downscale_Pre_x4.glsl:~~/shaders/Anime4K_DarkLines_HQ.glsl:~~/shaders/Anime4K_ThinLines_HQ.glsl:~~/shaders/Anime4K_Upscale_CNN_M_x2_Deblur.glsl"

View file

@ -25,7 +25,7 @@ ccw = c.colors.webpage
ccwd = ccw.darkmode
ccwd.enabled = True
ccwd.policy.images = 'never'
ccw.prefers_color_scheme_dark = True
ccw.preferred_color_scheme = 'dark'
mpv = 'spawn -m -d -v mpv --ytdl-raw-options=write-sub=,write-auto-sub=,embed-subs=,sub-lang=en'
c.aliases['mpv'] = mpv

View file

@ -2,7 +2,7 @@ from qutebrowser.api import interceptor
import operator, typing
invid = 'invidious.tube'
nitter = 'tweet.lambda.dance'
nitter = 'nitter.snopyta.org'
reddit = 'teddit.net'
o = operator.methodcaller

View file

@ -17,3 +17,6 @@ format = "[$duration]($style) "
[jobs]
disabled = true
[python]
python_binary = "python3"

View file

@ -16,13 +16,12 @@ a la 'l -a'
a launcher 'rofi -combi-modi "drun,run" -show combi -modi "combi,window"'
a less 'eval $PAGER'
a off shutdown
a open xdg-open
a open rifle
a pagedl 'wget -H -k -p --no-clobber -e robots=off'
a qb 'qutebrowser --target auto'
a re 'systemctl reboot -i'
a s sudo
a s 'sudo env "PATH=$PATH"'
a se 's eopkg'
a supath 's env "PATH=$PATH"'
a up 'se up --y'
a v vi
a vi nvim

View file

@ -3,4 +3,4 @@ title=$(youtube-dl -e $1 | sed 's|/|_|g')
link=$(youtube-dl -g $1)
shift
ffmpeg -i $link -c copy $@ "$title.mkv"
ffmpeg -i $link -c copy $@ "file:$title.mkv"