mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-02-04 06:36:35 -08:00
udpate
This commit is contained in:
@@ -91,8 +91,8 @@ bindl = , XF86AudioPrev, exec, mpc prev
|
|||||||
# bindl = , XF86AudioStop, exec, mpc stop
|
# bindl = , XF86AudioStop, exec, mpc stop
|
||||||
|
|
||||||
# rofi
|
# rofi
|
||||||
# bind = $mainMod SHIFT, v, exec, uwsm app -sb -- rofi-rbw
|
bind = $mainMod SHIFT, v, exec, uwsm app -sb -- rofi-rbw
|
||||||
bind = $mainMod, w, exec, rofi -show window -theme $HOME/.config/rofi/launchers/type-2/style-2.rasi -dpi 96 -theme-str 'window {width: 35%;}'
|
# bind = $mainMod, w, exec, rofi -show window -theme $HOME/.config/rofi/launchers/type-2/style-2.rasi -dpi 96 -theme-str 'window {width: 35%;}'
|
||||||
bind = $mainMod SHIFT, w, exec, "$HOME/.config/rofi/scripts/rofi-wallpaper.sh"
|
bind = $mainMod SHIFT, w, exec, "$HOME/.config/rofi/scripts/rofi-wallpaper.sh"
|
||||||
bind = $mainMod SHIFT, d, exec, "$HOME/.config/rofi/scripts/rofi-docs.sh"
|
bind = $mainMod SHIFT, d, exec, "$HOME/.config/rofi/scripts/rofi-docs.sh"
|
||||||
bind = SUPER, j, exec, "$HOME/.config/rofi/scripts/rofi-jellyfin-dir.sh"
|
bind = SUPER, j, exec, "$HOME/.config/rofi/scripts/rofi-jellyfin-dir.sh"
|
||||||
@@ -149,7 +149,7 @@ bind = $mainMod, a, exec, ~/.config/rofi/scripts/rofi-anki-script.sh
|
|||||||
# bind = $mainMod SHIFT, a, exec, ~/projects/scripts/screenshot-anki.sh -cdMinecraft
|
# bind = $mainMod SHIFT, a, exec, ~/projects/scripts/screenshot-anki.sh -cdMinecraft
|
||||||
|
|
||||||
# GSM
|
# GSM
|
||||||
bindl = , mouse:275, exec, xdotool key alt+g # top mouse to texthooker
|
bindl = , mouse:275, exec, xdotool key alt+w # top mouse to texthooker
|
||||||
bindl = , mouse:276, exec, xdotool key alt+grave # bottom mouse to overlay
|
bindl = , mouse:276, exec, xdotool key alt+grave # bottom mouse to overlay
|
||||||
bind = ALT, g, exec, /opt/mpv-yomitan/mpv-yomitan.AppImage --toggle
|
bind = ALT, g, exec, /opt/mpv-yomitan/mpv-yomitan.AppImage --toggle
|
||||||
# bind = ALT SHIFT, Y, exec, "$HOME/.config/rofi/scripts/rofi-mpv-yomitan.sh"
|
# bind = ALT SHIFT, Y, exec, "$HOME/.config/rofi/scripts/rofi-mpv-yomitan.sh"
|
||||||
|
|||||||
@@ -1,51 +1,96 @@
|
|||||||
{
|
{
|
||||||
"subtitlePosition": {
|
"subtitlePosition": {
|
||||||
"yPercent": 19.561880466472303
|
"yPercent": 15.376111685625649
|
||||||
},
|
},
|
||||||
"keybindings": [
|
"keybindings": [
|
||||||
{
|
{
|
||||||
"key": "Space",
|
"key": "Space",
|
||||||
"command": ["cycle", "pause"]
|
"command": [
|
||||||
|
"cycle",
|
||||||
|
"pause"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "ArrowRight",
|
"key": "ArrowRight",
|
||||||
"command": ["seek", 5]
|
"command": [
|
||||||
|
"seek",
|
||||||
|
5
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "ArrowLeft",
|
"key": "ArrowLeft",
|
||||||
"command": ["seek", -5]
|
"command": [
|
||||||
|
"seek",
|
||||||
|
-5
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "Ctrl+Shift+KeyN",
|
"key": "Ctrl+Shift+KeyN",
|
||||||
"command": ["script-binding", "mpvacious-export-note"]
|
"command": [
|
||||||
|
"script-binding",
|
||||||
|
"mpvacious-export-note"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "Ctrl+KeyC",
|
"key": "Ctrl+KeyC",
|
||||||
"command": ["script-binding", "mpvacious-copy-primary-sub-to-clipboard"]
|
"command": [
|
||||||
|
"script-binding",
|
||||||
|
"mpvacious-copy-primary-sub-to-clipboard"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "Ctrl+Shift+KeyV",
|
"key": "Ctrl+Shift+KeyV",
|
||||||
"command": ["script-binding", "mpvacious-secondary-sid-toggle"]
|
"command": [
|
||||||
|
"script-binding",
|
||||||
|
"mpvacious-secondary-sid-toggle"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "Shift+KeyL",
|
"key": "Shift+KeyL",
|
||||||
"command": ["script-binding", "mpvacious-sub-seek-forward"]
|
"command": [
|
||||||
|
"script-binding",
|
||||||
|
"mpvacious-sub-seek-forward"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "Shift+KeyH",
|
"key": "Shift+KeyH",
|
||||||
"command": ["script-binding", "mpvacious-sub-seek-back"]
|
"command": [
|
||||||
|
"script-binding",
|
||||||
|
"mpvacious-sub-seek-back"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "Ctrl+Shift+KeyH",
|
"key": "Ctrl+Shift+KeyH",
|
||||||
"command": ["script-binding", "mpvacious-sub-replay"]
|
"command": [
|
||||||
|
"script-binding",
|
||||||
|
"mpvacious-sub-replay"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "Ctrl+Shift+KeyL",
|
"key": "Ctrl+Shift+KeyL",
|
||||||
"command": ["script-binding", "mpvacious-sub-play-up-to-next"]
|
"command": [
|
||||||
|
"script-binding",
|
||||||
|
"mpvacious-sub-play-up-to-next"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "Ctrl+KeyV",
|
"key": "Ctrl+KeyV",
|
||||||
"command": ["script-binding", "animecards/update-anki-card"]
|
"command": [
|
||||||
|
"script-binding",
|
||||||
|
"animecards/update-anki-card"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "KeyQ",
|
||||||
|
"command": [
|
||||||
|
"quit"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "Ctrl+KeyW",
|
||||||
|
"command": [
|
||||||
|
"quit"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"texthooker": {
|
"texthooker": {
|
||||||
@@ -54,5 +99,25 @@
|
|||||||
"websocket": {
|
"websocket": {
|
||||||
"enabled": "auto",
|
"enabled": "auto",
|
||||||
"port": 6677
|
"port": 6677
|
||||||
|
},
|
||||||
|
"ankiConnect": {
|
||||||
|
"enabled": true,
|
||||||
|
"url": "http://127.0.0.1:8765",
|
||||||
|
"deck": "Minecraft",
|
||||||
|
"pollingRate": 200,
|
||||||
|
"audioField": "ExpressionAudio",
|
||||||
|
"imageField": "Picture",
|
||||||
|
"sentenceField": "Sentence",
|
||||||
|
"generateAudio": true,
|
||||||
|
"generateImage": true,
|
||||||
|
"imageType": "avif",
|
||||||
|
"imageFormat": "webp",
|
||||||
|
"miscInfoPattern": "[mpv-yomitan] %f (%t)",
|
||||||
|
"overwriteAudio": true,
|
||||||
|
"overwriteImage": true,
|
||||||
|
"highlightWord": true,
|
||||||
|
"showNotificationOnUpdate": true,
|
||||||
|
"audioPadding": 0.5,
|
||||||
|
"fallbackDuration": 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -111,7 +111,7 @@ demuxer-max-back-bytes=200MiB # Keep recent data handy for quick reverse seeks
|
|||||||
cache-secs=30
|
cache-secs=30
|
||||||
demuxer-readahead-secs=30
|
demuxer-readahead-secs=30
|
||||||
|
|
||||||
msg-level=subs2srs,animecards=warn
|
msg-level=subs2srs,animecards,mpvacious=error
|
||||||
|
|
||||||
[anime]
|
[anime]
|
||||||
profile-desc="Anime upscaling with ArtCNN"
|
profile-desc="Anime upscaling with ArtCNN"
|
||||||
|
|||||||
@@ -129,6 +129,9 @@ cache-pause=no
|
|||||||
cache-secs=30
|
cache-secs=30
|
||||||
demuxer-readahead-secs=30
|
demuxer-readahead-secs=30
|
||||||
|
|
||||||
|
msg-level=subs2srs,animecards,mpvacious=error
|
||||||
|
|
||||||
|
|
||||||
############
|
############
|
||||||
# Profiles #
|
# Profiles #
|
||||||
############
|
############
|
||||||
@@ -195,6 +198,7 @@ glsl-shaders="~~/shaders/ArtCNN_C4F32.glsl"
|
|||||||
scale=ewa_lanczossharp
|
scale=ewa_lanczossharp
|
||||||
dither=error-diffusion
|
dither=error-diffusion
|
||||||
deband=yes # Crucial for anime gradients
|
deband=yes # Crucial for anime gradients
|
||||||
|
input-ipc-server=/tmp/mpv-yomitan-socket
|
||||||
|
|
||||||
# Anime subtitles profile
|
# Anime subtitles profile
|
||||||
[anime-subs]
|
[anime-subs]
|
||||||
|
|||||||
@@ -29,12 +29,12 @@ ASK_TO_OVERWRITE=yes
|
|||||||
OVERWRITE_LIMIT=8
|
OVERWRITE_LIMIT=8
|
||||||
|
|
||||||
# Keep bold formatting added by yomitan? (yes/no)
|
# Keep bold formatting added by yomitan? (yes/no)
|
||||||
HIGHLIGHT_WORD=no
|
HIGHLIGHT_WORD=yes
|
||||||
|
|
||||||
# Use MPV's built-in clipboard API (requires v0.40+)? (yes/no)
|
# Use MPV's built-in clipboard API (requires v0.40+)? (yes/no)
|
||||||
# Alternative clipboard method that may reduce latency on Windows.
|
# Alternative clipboard method that may reduce latency on Windows.
|
||||||
# Supported on macOS and Wayland as well. Not supported on X11.
|
# Supported on macOS and Wayland as well. Not supported on X11.
|
||||||
USE_MPV_CLIPBOARD_API=no
|
USE_MPV_CLIPBOARD_API=yes
|
||||||
|
|
||||||
# ==========================================================
|
# ==========================================================
|
||||||
# Audio Settings
|
# Audio Settings
|
||||||
|
|||||||
@@ -364,7 +364,7 @@ use_custom_trim=no
|
|||||||
# and automatically update them with media if they match the configured note type
|
# and automatically update them with media if they match the configured note type
|
||||||
# I.e., you create a note with GoldenDict, Rikaitan, etc.,
|
# I.e., you create a note with GoldenDict, Rikaitan, etc.,
|
||||||
# then mpvacious updates the note and adds audio and image automatically.
|
# then mpvacious updates the note and adds audio and image automatically.
|
||||||
enable_new_note_timer=yes
|
enable_new_note_timer=no
|
||||||
|
|
||||||
# Interval in seconds for checking for new notes.
|
# Interval in seconds for checking for new notes.
|
||||||
# This setting controls how often mpvacious checks for new notes in Anki.
|
# This setting controls how often mpvacious checks for new notes in Anki.
|
||||||
|
|||||||
Reference in New Issue
Block a user