mirror of https://github.com/Flinner/dots.git
feat: minor updates
This commit is contained in:
parent
30a63b45e1
commit
702f684082
|
@ -1,9 +1,12 @@
|
||||||
|
# It is hard to grep logs with line breaks!
|
||||||
|
$ENV{max_print_line} = $log_wrap = 1000;
|
||||||
|
|
||||||
$out_dir = '/tmp/tex';
|
$out_dir = '/tmp/tex';
|
||||||
|
|
||||||
$pdf_mode = 1;
|
$pdf_mode = 1;
|
||||||
$pdflatex = 'pdflatex --shell-escape -interaction=nonstopmode -synctex=1 %O %S;';
|
$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';
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#################################
|
#################################
|
||||||
# requires https://github.com/jonaburg/picom
|
# requires https://github.com/jonaburg/picom
|
||||||
# (These are also the default values)
|
# (These are also the default values)
|
||||||
transition-length = 00
|
transition-length = 0
|
||||||
transition-pow-x = 0.1
|
transition-pow-x = 0.1
|
||||||
transition-pow-y = 0.1
|
transition-pow-y = 0.1
|
||||||
transition-pow-w = 0.1
|
transition-pow-w = 0.1
|
||||||
|
@ -123,7 +123,7 @@ shadow-exclude = [
|
||||||
# Fade windows in/out when opening/closing and when opacity changes,
|
# Fade windows in/out when opening/closing and when opacity changes,
|
||||||
# unless no-fading-openclose is used.
|
# unless no-fading-openclose is used.
|
||||||
# fading = false
|
# fading = false
|
||||||
fading = true;
|
fading = false;
|
||||||
|
|
||||||
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
|
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
|
||||||
# fade-in-step = 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)
|
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
||||||
# inactive-opacity = 1
|
# inactive-opacity = 1
|
||||||
inactive-opacity = 0.9;
|
inactive-opacity = 0.95;
|
||||||
|
|
||||||
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
||||||
# frame-opacity = 1.0
|
# frame-opacity = 1.0
|
||||||
|
@ -208,7 +208,7 @@ opacity-rule = [
|
||||||
"100:class_g = 'kitty'",
|
"100:class_g = 'kitty'",
|
||||||
"100:class_g = 'Alacritty'",
|
"100:class_g = 'Alacritty'",
|
||||||
"100:class_g = 'Wezterm'",
|
"100:class_g = 'Wezterm'",
|
||||||
"99:class_g = 'Emacs'",
|
"100:class_g = 'Emacs'",
|
||||||
"90:class_g = 'Polybar'",
|
"90:class_g = 'Polybar'",
|
||||||
"100:class_g = 'code-oss'",
|
"100:class_g = 'code-oss'",
|
||||||
"100:class_g = 'Meld'",
|
"100:class_g = 'Meld'",
|
||||||
|
@ -302,8 +302,8 @@ blur-background-exclude = [
|
||||||
# `xrender` is the default one.
|
# `xrender` is the default one.
|
||||||
#
|
#
|
||||||
experimental-backends = true;
|
experimental-backends = true;
|
||||||
backend = "glx";
|
#backend = "glx";
|
||||||
#backend = "xrender";
|
backend = "xrender";
|
||||||
|
|
||||||
|
|
||||||
# Enable/disable VSync.
|
# Enable/disable VSync.
|
||||||
|
@ -339,7 +339,7 @@ detect-client-opacity = true;
|
||||||
# try detecting this with X RandR extension.
|
# try detecting this with X RandR extension.
|
||||||
#
|
#
|
||||||
# refresh-rate = 60
|
# refresh-rate = 60
|
||||||
refresh-rate = 0
|
# refresh-rate = 0
|
||||||
|
|
||||||
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to
|
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to
|
||||||
# boost performance. This should not be used with
|
# boost performance. This should not be used with
|
||||||
|
|
|
@ -879,7 +879,7 @@ c.content.cookies.store = True
|
||||||
## QtWebEngine, writing the clipboard as response to a user interaction
|
## QtWebEngine, writing the clipboard as response to a user interaction
|
||||||
## is always allowed.
|
## is always allowed.
|
||||||
## Type: Bool
|
## Type: Bool
|
||||||
c.content.javascript.can_access_clipboard = True
|
c.content.javascript.clipboard= "access"
|
||||||
|
|
||||||
## Allow JavaScript to close tabs.
|
## Allow JavaScript to close tabs.
|
||||||
## Type: Bool
|
## Type: Bool
|
||||||
|
|
|
@ -24,6 +24,7 @@ disabled = true
|
||||||
|
|
||||||
[username]
|
[username]
|
||||||
style_user = 'bold dimmed blue'
|
style_user = 'bold dimmed blue'
|
||||||
|
|
||||||
[custom.git_host]
|
[custom.git_host]
|
||||||
command = '''
|
command = '''
|
||||||
IFS="/"
|
IFS="/"
|
||||||
|
@ -53,3 +54,14 @@ shell = [
|
||||||
]
|
]
|
||||||
style = 'bright-yellow bold'
|
style = 'bright-yellow bold'
|
||||||
format = 'at [$output]($style) '
|
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) '
|
||||||
|
|
|
@ -39,3 +39,5 @@ if [ $# -gt 0 ]; then
|
||||||
else
|
else
|
||||||
dbus-launch /usr/bin/bspwm
|
dbus-launch /usr/bin/bspwm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#exex bspwm
|
||||||
|
|
|
@ -32,6 +32,8 @@ XF86AudioPlay
|
||||||
#tdrop -ma -w 75% -x 12% -y "$PANEL_HEIGHT" -s dropdown emacsclient --eval "(emacs-everywhere)"
|
#tdrop -ma -w 75% -x 12% -y "$PANEL_HEIGHT" -s dropdown emacsclient --eval "(emacs-everywhere)"
|
||||||
# wm independent hotkeys
|
# wm independent hotkeys
|
||||||
#
|
#
|
||||||
|
F8
|
||||||
|
warpd --normal
|
||||||
|
|
||||||
Pause
|
Pause
|
||||||
transformers_ocr recognize
|
transformers_ocr recognize
|
||||||
|
@ -93,12 +95,12 @@ super + End
|
||||||
#================WM=============================
|
#================WM=============================
|
||||||
|
|
||||||
# Show Help
|
# Show Help
|
||||||
super + slash
|
#super + slash
|
||||||
~/bin/wm/sxhkd-help
|
#~/bin/wm/sxhkd-help
|
||||||
|
|
||||||
# quit/restart bspwm
|
# quit/restart bspwm
|
||||||
super + alt + {q,r}
|
#super + alt + {q,r}
|
||||||
bspc {quit,wm -r}
|
#bspc {quit,wm -r}
|
||||||
|
|
||||||
# close and kill
|
# close and kill
|
||||||
super + {shift, ctrl } + q
|
super + {shift, ctrl } + q
|
||||||
|
@ -135,9 +137,15 @@ super + shift + r
|
||||||
rofi -show run || dmenu_run
|
rofi -show run || dmenu_run
|
||||||
super + v
|
super + v
|
||||||
rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
|
rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
|
||||||
|
|
||||||
# program launcher
|
# program launcher
|
||||||
super + bracketleft
|
super + {bracketleft,bracketright}
|
||||||
~/bin/rofi_bin_launcher.py
|
{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
|
# unhide
|
||||||
super + shift + n
|
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
|
# set the window state
|
||||||
super + {t,shift + t,s,f}
|
super + {t,shift + t,s,f}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
hint_oneshot_key: A-M-f8
|
hint_oneshot_key: A-M-F8
|
||||||
activation_key: f8
|
activation_key: F8
|
||||||
buttons: u i o
|
buttons: u i o
|
||||||
grid_keys: C-u C-i C-j C-k
|
grid_keys: C-u C-i C-j C-k
|
||||||
oneshot_buttons: m , .
|
oneshot_buttons: m , .
|
||||||
exit: tab
|
exit: Tab
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
-o "%(playlist_index)s-%(title)s.%(ext)s"
|
-o "%(playlist_index)s-%(title)s.%(ext)s"
|
||||||
#--write-subs
|
#--write-subs
|
||||||
--embed-subs
|
--embed-subs
|
||||||
--write-auto-subs
|
--embed-chapters
|
||||||
#--sub-langs "en.*,ja.*"
|
#--write-auto-subs
|
||||||
|
--sub-langs "en.*,ja.*,ru.ru"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue