feat: minor updates

This commit is contained in:
Flinner Yuu 2024-11-14 16:17:25 +03:00
parent 30a63b45e1
commit 702f684082
Signed by: flinner
GPG Key ID: 95CE0DA7F0E58CA6
9 changed files with 50 additions and 24 deletions

View File

@ -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;';
$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';

View File

@ -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

View File

@ -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

View File

@ -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) '

View File

@ -39,3 +39,5 @@ if [ $# -gt 0 ]; then
else
dbus-launch /usr/bin/bspwm
fi
#exex bspwm

View File

@ -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}

View File

@ -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

View File

@ -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"