Can't believe I didn't commit mpv bindsym

This commit is contained in:
2021-02-26 18:30:37 +01:00
parent a63e61145c
commit 02a9e46f96
5 changed files with 38 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
ctrl+r cycle-values video-rotate 0 90 180 270
ctrl+b cycle deband
b cycle-values scale "bilinear" "spline64"; cycle-values dscale "bilinear" "mitchell"; cycle-values cscale "bilinear" "sinc"
ctrl+s sub-reload
S screenshot-to-file /tmp/mpv-screenshot.png ; run sh -c "cat /tmp/mpv-screenshot.png | wl-copy -t image/png"
x add sub-delay -0.04
X add sub-delay +0.04

View File

@@ -1,14 +1,35 @@
profile=gpu-hq
gpu-api=vulkan
gpu-context=waylandvk
#gpu-api=vulkan
gpu-context=wayland
hwdec=none
#ao=jack
#audio-channels=stereo
scale=spline64
dscale=mitchell
cscale=sinc
cscale-window=blackman
cscale-radius=3
deband=yes
screenshot-format=png
#Interpolation
#blend-subtitles=yes
#video-sync=display-resample
#interpolation=yes
#tscale=box
#tscale-window=sphinx
#tscale-radius=1.0
#tscale-clamp=0.0
sub-gray=yes # pour pas avoir des subs jaunes de merde
sub-gauss=0.7 # ça rend les subs un peu moins carrés, peut-être à adapter à vos envies
sub-font="Roboto Regular"
prefetch-playlist=yes
rebase-start-time=no
ytdl-format=bestvideo[height<=?1080]+bestaudio/best
ytdl-raw-options="rm-cache-dir=:yes-playlist="
#ytdl-raw-options="rm-cache-dir=:yes-playlist="
osd-fractions=yes

View File

@@ -32,7 +32,8 @@ output eDP-1 pos 0 1480 res 1920 1080
output HDMI-A-1 pos 1920 1480 res 1920 1080
output "Samsung Electric Company SyncMaster H1AK500000" res 3840 2160
output "Dell Inc. DELL U2410 F525M0A1082L" pos 1920 680 res 1920 1200
output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 3840 0 mode --custom 2560x1440@39Hz transform 90
#output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 3840 0 mode --custom 2560x1440@39Hz transform 90
output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 1920 1480 mode 2560 1440
output * bg ~/wallpapers/filianore-u.jpg fill
focus output eDP-1
#
@@ -266,6 +267,8 @@ bar {
}
}
bindsym Ctrl+m exec mpv "$(wl-paste -t text)"
hide_edge_borders both
default_border none
gaps inner 6
@@ -283,8 +286,8 @@ exec redshift -O 4500 -m wayland
exec megasync
exec nm-applet --indicator
exec cadence
exec ~/.local/start_jack.sh
#exec cadence
#exec ~/.local/start_jack.sh
exec ~/.config/sway/workspace-rename.sh

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
.config/nvim/plugged
.config/nvim/.netrwhist
.config/mpv/scripts/japan7.lua

2
.zshrc
View File

@@ -33,3 +33,5 @@ if [ -f ~/.bash_aliases ]; then
source ~/.bash_aliases
fi
eval $(thefuck --alias)
alias chromium='GDK_BACKEND=wayland chromium --enable-features=UseOzonePlatform --ozone-platform=wayland'