diff --git a/latexmk/.latexmkrc b/latexmk/.latexmkrc index a09e990..fc9aecb 100644 --- a/latexmk/.latexmkrc +++ b/latexmk/.latexmkrc @@ -1,9 +1,12 @@ +# It is hard to grep logs with line breaks! +$ENV{max_print_line} = $log_wrap = 1000; + $out_dir = '/tmp/tex'; $pdf_mode = 1; -$pdflatex = 'pdflatex --shell-escape -interaction=nonstopmode -synctex=1 %O %S;'; -$pdflualatex = 'lualatex -interaction=nonstopmode -synctex=1 %O %S;'; - - +$pdflatex = 'pdflatex --shell-escape -interaction=nonstopmode -synctex=1 %O %S;'; +$pdflualatex = 'lualatex --shell-escape -interaction=nonstopmode -synctex=1 %O %S;'; +# https://stackoverflow.com/questions/71868294/set-zathura-as-a-default-viewer-while-using-latexmk +$pdf_previewer = 'zathura'; diff --git a/mpv/.config/mpv/scripts/animecards_v34.lua.dis b/mpv/.config/mpv/scripts/animecards_v34.lua similarity index 100% rename from mpv/.config/mpv/scripts/animecards_v34.lua.dis rename to mpv/.config/mpv/scripts/animecards_v34.lua diff --git a/picom/.config/picom.conf b/picom/.config/picom.conf index 3e62b39..9a1f1f5 100644 --- a/picom/.config/picom.conf +++ b/picom/.config/picom.conf @@ -3,7 +3,7 @@ ################################# # requires https://github.com/jonaburg/picom # (These are also the default values) -transition-length = 00 +transition-length = 0 transition-pow-x = 0.1 transition-pow-y = 0.1 transition-pow-w = 0.1 @@ -123,7 +123,7 @@ shadow-exclude = [ # Fade windows in/out when opening/closing and when opacity changes, # unless no-fading-openclose is used. # fading = false -fading = true; +fading = false; # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) # fade-in-step = 0.028 @@ -156,7 +156,7 @@ fade-exclude = [ # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) # inactive-opacity = 1 -inactive-opacity = 0.9; +inactive-opacity = 0.95; # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # frame-opacity = 1.0 @@ -208,7 +208,7 @@ opacity-rule = [ "100:class_g = 'kitty'", "100:class_g = 'Alacritty'", "100:class_g = 'Wezterm'", - "99:class_g = 'Emacs'", + "100:class_g = 'Emacs'", "90:class_g = 'Polybar'", "100:class_g = 'code-oss'", "100:class_g = 'Meld'", @@ -302,8 +302,8 @@ blur-background-exclude = [ # `xrender` is the default one. # experimental-backends = true; -backend = "glx"; -#backend = "xrender"; +#backend = "glx"; +backend = "xrender"; # Enable/disable VSync. @@ -339,7 +339,7 @@ detect-client-opacity = true; # try detecting this with X RandR extension. # # refresh-rate = 60 -refresh-rate = 0 +# refresh-rate = 0 # Limit picom to repaint at most once every 1 / 'refresh_rate' second to # boost performance. This should not be used with diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index 5db433d..5ff876a 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -879,7 +879,7 @@ c.content.cookies.store = True ## QtWebEngine, writing the clipboard as response to a user interaction ## is always allowed. ## Type: Bool -c.content.javascript.can_access_clipboard = True +c.content.javascript.clipboard= "access" ## Allow JavaScript to close tabs. ## Type: Bool diff --git a/starship/.config/starship.toml b/starship/.config/starship.toml index df5422d..ddf774e 100644 --- a/starship/.config/starship.toml +++ b/starship/.config/starship.toml @@ -24,6 +24,7 @@ disabled = true [username] style_user = 'bold dimmed blue' + [custom.git_host] command = ''' IFS="/" @@ -53,3 +54,14 @@ shell = [ ] style = 'bright-yellow bold' format = 'at [$output]($style) ' + +[custom.ranger] +command = '''echo $RANGER_LEVEL''' +when = 'if [ -v ${RANGER_LEVEL} ]; then false; else true; fi' +shell = [ + 'sh', + '--norc', + '--noprofile', +] +style = 'bright-blue bold' +format = '[\(ranger: $output\)]($style) ' diff --git a/startx/.xinitrc b/startx/.xinitrc index 816cb20..b22a5a0 100644 --- a/startx/.xinitrc +++ b/startx/.xinitrc @@ -39,3 +39,5 @@ if [ $# -gt 0 ]; then else dbus-launch /usr/bin/bspwm fi + +#exex bspwm diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 00ad0c2..cdc6ead 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -32,6 +32,8 @@ XF86AudioPlay #tdrop -ma -w 75% -x 12% -y "$PANEL_HEIGHT" -s dropdown emacsclient --eval "(emacs-everywhere)" # wm independent hotkeys # +F8 + warpd --normal Pause transformers_ocr recognize @@ -93,12 +95,12 @@ super + End #================WM============================= # Show Help -super + slash - ~/bin/wm/sxhkd-help +#super + slash + #~/bin/wm/sxhkd-help # quit/restart bspwm -super + alt + {q,r} - bspc {quit,wm -r} +#super + alt + {q,r} + #bspc {quit,wm -r} # close and kill super + {shift, ctrl } + q @@ -135,9 +137,15 @@ super + shift + r rofi -show run || dmenu_run super + v rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' + # program launcher -super + bracketleft - ~/bin/rofi_bin_launcher.py +super + {bracketleft,bracketright} + {rofi -show calc -modi calc -no-show-match -no-sort,~/bin/rofi_bin_launcher.py} + +super + shift + bracketleft + rofi -show spell -modes "spell:rofi-spellcheck.sh" +super + ctrl + bracketleft + qalculate-gtk # @@ -149,7 +157,7 @@ super + {p,n} # unhide super + shift + n - bspc node $(bspc query -N -n .hidden.local | tail -n1) -g hidden=off + bspc node $(bspc query -N -n .hidden.local | head -n 1) -g hidden=off # set the window state super + {t,shift + t,s,f} diff --git a/warpd/.config/warpd/config b/warpd/.config/warpd/config index 0329566..7d4afec 100644 --- a/warpd/.config/warpd/config +++ b/warpd/.config/warpd/config @@ -1,6 +1,6 @@ -hint_oneshot_key: A-M-f8 -activation_key: f8 +hint_oneshot_key: A-M-F8 +activation_key: F8 buttons: u i o grid_keys: C-u C-i C-j C-k oneshot_buttons: m , . -exit: tab +exit: Tab diff --git a/yt-dlp/.config/yt-dlp/config b/yt-dlp/.config/yt-dlp/config index fca45f5..83edd41 100644 --- a/yt-dlp/.config/yt-dlp/config +++ b/yt-dlp/.config/yt-dlp/config @@ -2,6 +2,7 @@ -o "%(playlist_index)s-%(title)s.%(ext)s" #--write-subs --embed-subs ---write-auto-subs -#--sub-langs "en.*,ja.*" +--embed-chapters +#--write-auto-subs +--sub-langs "en.*,ja.*,ru.ru"