mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-02-04 06:36:35 -08:00
Compare commits
2 Commits
fb7b605e55
...
15d55786f3
| Author | SHA1 | Date | |
|---|---|---|---|
|
15d55786f3
|
|||
|
e9e6dfa2d3
|
Submodule .config/mpv-modules/ModernZ updated: f66905acff...fadaf74b08
Submodule .config/mpv-modules/animecards updated: ae0020060e...f23d4061be
Submodule .config/mpv-modules/mpvacious updated: 9f9e9df06d...2629602b90
@@ -225,7 +225,8 @@ ctrl+B ignore # script-binding mpvacious-overwrite-selected-note
|
|||||||
ctrl+m ignore # script-binding mpvacious-update-last-note
|
ctrl+m ignore # script-binding mpvacious-update-last-note
|
||||||
ctrl+M ignore # script-binding mpvacious-overwrite-last-note
|
ctrl+M ignore # script-binding mpvacious-overwrite-last-note
|
||||||
G script-binding mpvacious-quick-card-menu-open
|
G script-binding mpvacious-quick-card-menu-open
|
||||||
alt+g script-binding mpvacious-quick-card-sel-menu-open
|
alt+g ignore
|
||||||
|
alt+G script-binding mpvacious-quick-card-sel-menu-open
|
||||||
ctrl+c script-binding mpvacious-copy-primary-sub-to-clipboard
|
ctrl+c script-binding mpvacious-copy-primary-sub-to-clipboard
|
||||||
ctrl+C script-binding mpvacious-copy-secondary-sub-to-clipboard
|
ctrl+C script-binding mpvacious-copy-secondary-sub-to-clipboard
|
||||||
ctrl+= script-binding mpvacious-autocopy-toggle
|
ctrl+= script-binding mpvacious-autocopy-toggle
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ sub-fix-timing=yes
|
|||||||
sub-ass-override=scale
|
sub-ass-override=scale
|
||||||
sub-gauss=1.0
|
sub-gauss=1.0
|
||||||
sub-gray=yes
|
sub-gray=yes
|
||||||
sub-pos=100
|
sub-pos=95
|
||||||
|
|
||||||
# --- Audio chain ---
|
# --- Audio chain ---
|
||||||
volume=75
|
volume=75
|
||||||
@@ -111,6 +111,8 @@ 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=warn
|
||||||
|
|
||||||
[anime]
|
[anime]
|
||||||
profile-desc="Anime upscaling with ArtCNN"
|
profile-desc="Anime upscaling with ArtCNN"
|
||||||
glsl-shaders="~~/shaders/ArtCNN_C4F32.glsl"
|
glsl-shaders="~~/shaders/ArtCNN_C4F32.glsl"
|
||||||
|
|||||||
@@ -46,6 +46,9 @@ menu_font_name=Noto Serif CJK JP
|
|||||||
# Change this if you have changed webBindAddress in AnkiConnect's settings.
|
# Change this if you have changed webBindAddress in AnkiConnect's settings.
|
||||||
ankiconnect_url=127.0.0.1:8765
|
ankiconnect_url=127.0.0.1:8765
|
||||||
|
|
||||||
|
# AnkiConnect server api key (optional)
|
||||||
|
#ankiconnect_api_key=
|
||||||
|
|
||||||
##
|
##
|
||||||
## Toggleables.
|
## Toggleables.
|
||||||
## Possible values: `yes` or `no`.
|
## Possible values: `yes` or `no`.
|
||||||
@@ -330,3 +333,40 @@ ffmpeg_audio_args=-af loudnorm=I=-16:TP=-1.5:LRA=11:dual_mono=true
|
|||||||
mpv_audio_args=--af-append=loudnorm=I=-16:TP=-1.5:LRA=11:dual_mono=true
|
mpv_audio_args=--af-append=loudnorm=I=-16:TP=-1.5:LRA=11:dual_mono=true
|
||||||
#mpv_audio_args=
|
#mpv_audio_args=
|
||||||
#mpv_audio_args=--af-append=silenceremove=1:0:-50dB
|
#mpv_audio_args=--af-append=silenceremove=1:0:-50dB
|
||||||
|
|
||||||
|
|
||||||
|
##
|
||||||
|
## Custom Sub Filter
|
||||||
|
## Place a `subs2srs_sub_filter.lua` file
|
||||||
|
## in the `~/.config/mpv/subs2srs_sub_filter` directory.
|
||||||
|
## The custom script must return a table
|
||||||
|
## that includes either of a `preprocess` or a `trim` function (or both).
|
||||||
|
##
|
||||||
|
## - `preprocess(text)`: Executes before trimming/cleaning.
|
||||||
|
## - `trim(text)`: Replaces the built-in trimming logic.
|
||||||
|
##
|
||||||
|
|
||||||
|
# Enable custom sub preprocessing by default (yes, no)
|
||||||
|
custom_sub_filter_enabled=no
|
||||||
|
|
||||||
|
# Notification prefix for toggle
|
||||||
|
custom_sub_filter_notification=Custom Sub Filter
|
||||||
|
|
||||||
|
# Use a custom trim instead of the built in one (yes, no)
|
||||||
|
use_custom_trim=no
|
||||||
|
|
||||||
|
##
|
||||||
|
## New note check timer
|
||||||
|
##
|
||||||
|
|
||||||
|
# Enable the check note timer feature.
|
||||||
|
# If set to `yes`, mpvacious will periodically check for new notes in Anki
|
||||||
|
# and automatically update them with media if they match the configured note type
|
||||||
|
# I.e., you create a note with GoldenDict, Rikaitan, etc.,
|
||||||
|
# then mpvacious updates the note and adds audio and image automatically.
|
||||||
|
enable_new_note_timer=yes
|
||||||
|
|
||||||
|
# Interval in seconds for checking for new notes.
|
||||||
|
# This setting controls how often mpvacious checks for new notes in Anki.
|
||||||
|
# Only used when enable_new_note_timer is set to `yes`
|
||||||
|
new_note_timer_interval_seconds=5
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
../submodules/mpv-youtube-queue/mpv-youtube-queue.lua
|
../../../projects/lua/mpv-youtube-queue/mpv-youtube-queue.lua
|
||||||
@@ -1,12 +1,35 @@
|
|||||||
@import "catppuccin-macchiato.rasi"
|
// @import "catppuccin-latte"
|
||||||
|
// @import "catppuccin-frappe"
|
||||||
configuration {
|
// @import "catppuccin-macchiato"
|
||||||
show-icons: true;
|
// @import "catppuccin-mocha"
|
||||||
icon-theme: "Dracula";
|
|
||||||
dpi: 144;
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
|
rosewater: #f4dbd6;
|
||||||
|
flamingo: #f0c6c6;
|
||||||
|
pink: #f5bde6;
|
||||||
|
mauve: #c6a0f6;
|
||||||
|
red: #ed8796;
|
||||||
|
maroon: #ee99a0;
|
||||||
|
peach: #f5a97f;
|
||||||
|
yellow: #eed49f;
|
||||||
|
green: #a6da95;
|
||||||
|
teal: #8bd5ca;
|
||||||
|
sky: #91d7e3;
|
||||||
|
sapphire: #7dc4e4;
|
||||||
|
blue: #8aadf4;
|
||||||
|
lavender: #b7bdf8;
|
||||||
|
text: #cad3f5;
|
||||||
|
subtext1: #b8c0e0;
|
||||||
|
subtext0: #a5adcb;
|
||||||
|
overlay2: #939ab7;
|
||||||
|
overlay1: #8087a2;
|
||||||
|
overlay0: #6e738d;
|
||||||
|
surface2: #5b6078;
|
||||||
|
surface1: #494d64;
|
||||||
|
surface0: #363a4f;
|
||||||
|
base: #24273a;
|
||||||
|
mantle: #1e2030;
|
||||||
|
crust: #181926;
|
||||||
selected-active-foreground: @background;
|
selected-active-foreground: @background;
|
||||||
lightfg: @text;
|
lightfg: @text;
|
||||||
separatorcolor: @foreground;
|
separatorcolor: @foreground;
|
||||||
@@ -35,6 +58,11 @@ configuration {
|
|||||||
alternate-active-foreground: @blue;
|
alternate-active-foreground: @blue;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
configuration {
|
||||||
|
show-icons: true;
|
||||||
|
icon-theme: "Dracula";
|
||||||
|
dpi: 144;
|
||||||
|
}
|
||||||
element {
|
element {
|
||||||
padding: 1px ;
|
padding: 1px ;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -90,12 +118,6 @@ element-icon {
|
|||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
}
|
}
|
||||||
window {
|
window {
|
||||||
border: 4;
|
|
||||||
padding: 12px;
|
|
||||||
border-radius: 12px;
|
|
||||||
anchor: center;
|
|
||||||
location: center;
|
|
||||||
|
|
||||||
padding: 5;
|
padding: 5;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border: 1;
|
border: 1;
|
||||||
@@ -180,4 +202,3 @@ textbox-prompt-colon {
|
|||||||
str: ":";
|
str: ":";
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ configuration {
|
|||||||
show-icons: true;
|
show-icons: true;
|
||||||
icon-theme: "Dracula";
|
icon-theme: "Dracula";
|
||||||
dpi: 144;
|
dpi: 144;
|
||||||
|
modes: "window,run,ssh,drun,filebrowser";
|
||||||
}
|
}
|
||||||
|
|
||||||
#window {
|
#window {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
*
|
*
|
||||||
* Author : Aditya Shakya (adi1090x)
|
* Author : Aditya Shakya (adi1090x)
|
||||||
* Github : @adi1090x
|
* Github : @adi1090x
|
||||||
*
|
*
|
||||||
* Rofi Theme File
|
* Rofi Theme File
|
||||||
* Rofi Version: 1.7.3
|
* Rofi Version: 1.7.3
|
||||||
**/
|
**/
|
||||||
@@ -49,7 +49,7 @@ mainbox {
|
|||||||
border-radius: 0px 0px 0px 0px;
|
border-radius: 0px 0px 0px 0px;
|
||||||
border-color: @selected;
|
border-color: @selected;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
children: [ "inputbar", "listview" ];
|
children: [ "inputbar", "listview-split" ];
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
/*****----- Inputbar -----*****/
|
||||||
@@ -99,7 +99,7 @@ listview {
|
|||||||
reverse: false;
|
reverse: false;
|
||||||
fixed-height: true;
|
fixed-height: true;
|
||||||
fixed-columns: true;
|
fixed-columns: true;
|
||||||
|
|
||||||
spacing: 0px;
|
spacing: 0px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
@@ -110,6 +110,18 @@ listview {
|
|||||||
text-color: @foreground;
|
text-color: @foreground;
|
||||||
cursor: "default";
|
cursor: "default";
|
||||||
}
|
}
|
||||||
|
listview-split {
|
||||||
|
orientation: horizontal;
|
||||||
|
children: [listview, icon-current-entry];
|
||||||
|
spacing: 1em;
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
icon-current-entry {
|
||||||
|
expand: true;
|
||||||
|
size: 40%;
|
||||||
|
background-color: transparent;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
scrollbar {
|
scrollbar {
|
||||||
handle-width: 5px ;
|
handle-width: 5px ;
|
||||||
handle-color: @selected;
|
handle-color: @selected;
|
||||||
@@ -173,3 +185,10 @@ textbox {
|
|||||||
horizontal-align: 0.0;
|
horizontal-align: 0.0;
|
||||||
highlight: none;
|
highlight: none;
|
||||||
}
|
}
|
||||||
|
scrollbar {
|
||||||
|
width: 4px;
|
||||||
|
handle-color: @surface2;
|
||||||
|
handle-width: 4px;
|
||||||
|
background-color: @surface0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ set -Eeuo pipefail
|
|||||||
|
|
||||||
THEME="$HOME/.config/rofi/launchers/type-3/style-4.rasi"
|
THEME="$HOME/.config/rofi/launchers/type-3/style-4.rasi"
|
||||||
DIR="$HOME/Pictures/wallpapers/favorites"
|
DIR="$HOME/Pictures/wallpapers/favorites"
|
||||||
SELECTED_WALL=$(cd "$DIR" && for a in *.jpg *.png; do echo -en "$a\0icon\x1f$a\n"; done | rofi -dmenu -i -no-custom -theme "$THEME" -p "Select a wallpaper" -theme-str 'configuration {icon-size: 128; dpi: 96;} window {width: 45%; height: 45%;}')
|
SELECTED_WALL=$(cd "$DIR" && for a in *.jpg *.png; do echo -en "$a\0icon\x1f$a\n"; done | rofi -dmenu -i -no-custom -theme "$THEME" -p "Select a wallpaper" -theme-str 'configuration {icon-size: 256; dpi: 96;} window {width: 75%; height: 69%;} listview {rows: 5; lines: 7;}')
|
||||||
PTH="$(printf "%s" "$DIR/$SELECTED_WALL" | tr -s '/')"
|
PTH="$(printf "%s" "$DIR/$SELECTED_WALL" | tr -s '/')"
|
||||||
hyprctl hyprpaper wallpaper "DP-1, $PTH"
|
hyprctl hyprpaper wallpaper "DP-1, $PTH"
|
||||||
notify-send -a "rofi-wallpaper" "Wallpaper set to" -i "$PTH" "$PTH"
|
notify-send -a "rofi-wallpaper" "Wallpaper set to" -i "$PTH" "$PTH"
|
||||||
|
|||||||
Reference in New Issue
Block a user