mirror of
https://github.com/Phantop/dotfiles
synced 2025-11-27 06:35:43 +00:00
Various changes and add pdfjs
This commit is contained in:
parent
64d5f0b222
commit
c3dbc93469
|
|
@ -3,6 +3,7 @@ save-position-on-quit = yes
|
||||||
screenshot-format = webp
|
screenshot-format = webp
|
||||||
screenshot-webp-lossless = yes
|
screenshot-webp-lossless = yes
|
||||||
screenshot-webp-compression = 6
|
screenshot-webp-compression = 6
|
||||||
|
screenshot-webp-quality = 100
|
||||||
gapless-audio = yes
|
gapless-audio = yes
|
||||||
volume-max = 1000
|
volume-max = 1000
|
||||||
|
|
||||||
|
|
@ -20,7 +21,7 @@ sub-font-size = 36
|
||||||
|
|
||||||
scale = spline36
|
scale = spline36
|
||||||
cscale = spline36
|
cscale = spline36
|
||||||
dscale = lanczos
|
dscale = spline36
|
||||||
|
|
||||||
[wallpaper]
|
[wallpaper]
|
||||||
loop
|
loop
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ bind = {
|
||||||
'<Ctrl-r>': 'spawn -u readability',
|
'<Ctrl-r>': 'spawn -u readability',
|
||||||
'<Ctrl-w>': 'tab-close',
|
'<Ctrl-w>': 'tab-close',
|
||||||
'<Ctrl-Shift-R>': 'spawn kitty rdrview -B qutebrowser {url}',
|
'<Ctrl-Shift-R>': 'spawn kitty rdrview -B qutebrowser {url}',
|
||||||
|
'<Alt+f>' : 'config-cycle hints.chars qwerasdf asdfghjkl',
|
||||||
|
|
||||||
'm': 'mpv {url}',
|
'm': 'mpv {url}',
|
||||||
'M': 'mpv4 {url}',
|
'M': 'mpv4 {url}',
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ c.url.open_base_url = True
|
||||||
c.completion.open_categories = ["quickmarks", "bookmarks", "history"]
|
c.completion.open_categories = ["quickmarks", "bookmarks", "history"]
|
||||||
c.confirm_quit = ["downloads"]
|
c.confirm_quit = ["downloads"]
|
||||||
c.content.cookies.accept = "no-3rdparty"
|
c.content.cookies.accept = "no-3rdparty"
|
||||||
|
c.content.pdfjs = True
|
||||||
c.fonts.default_size = "9pt"
|
c.fonts.default_size = "9pt"
|
||||||
c.qt.args += ["enable-gpu-rasterization"]
|
c.qt.args += ["enable-gpu-rasterization"]
|
||||||
c.qt.force_platformtheme = "gtk2"
|
c.qt.force_platformtheme = "gtk2"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
from qutebrowser.api import interceptor
|
from qutebrowser.api import interceptor
|
||||||
import operator, typing
|
import operator, typing
|
||||||
|
|
||||||
invid = 'invidious.himiko.cloud'
|
invid = 'vid.puffyan.us'
|
||||||
nitter = 'nitter.database.red'
|
nitter = 'nitter.database.red'
|
||||||
reddit = 'teddit.net'
|
reddit = 'teddit.net'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
DIR=~/dwarf/$(basename $@ .dwarfs)$RANDOM
|
DIR=~/dwarf/$(basename "$@" .dwarfs)$RANDOM
|
||||||
mkdir -p $DIR
|
mkdir -p "$DIR"
|
||||||
echo $DIR
|
echo "$DIR"
|
||||||
dwarfs -o offset=auto -f $@ $DIR 2> /dev/null
|
dwarfs -o offset=auto -f "$@" "$DIR" 2> /dev/null
|
||||||
rmdir $DIR ~/dwarf 2> /dev/null
|
rmdir "$DIR" ~/dwarf 2> /dev/null
|
||||||
|
|
|
||||||
6
.setup
6
.setup
|
|
@ -26,6 +26,9 @@ stow .
|
||||||
mkdir -p ~/.config/mpv/shaders && cd ~/.config/mpv/shaders && rm *
|
mkdir -p ~/.config/mpv/shaders && cd ~/.config/mpv/shaders && rm *
|
||||||
curl https://api.github.com/repos/bloc97/Anime4K/releases/latest | grep -wo http.\*zip | aria2c -i-; unzip *; rm *zip
|
curl https://api.github.com/repos/bloc97/Anime4K/releases/latest | grep -wo http.\*zip | aria2c -i-; unzip *; rm *zip
|
||||||
|
|
||||||
|
mkdir -p ~/.local/share/qutebrowser/pdfjs && cd ~/.config/mpv/shaders && rm *
|
||||||
|
curl https://api.github.com/repos/mozilla/pdf.js/releases/latest | grep -wo http.\*zip | grep -v es5 | aria2c -i-; unzip *; rm *zip
|
||||||
|
|
||||||
rm ~/.config/nvim/autoload/plug.vim
|
rm ~/.config/nvim/autoload/plug.vim
|
||||||
aria2c https://github.com/junegunn/vim-plug/raw/master/plug.vim -d ~/.config/nvim/autoload
|
aria2c https://github.com/junegunn/vim-plug/raw/master/plug.vim -d ~/.config/nvim/autoload
|
||||||
nvim +PlugUpdate +q +q
|
nvim +PlugUpdate +q +q
|
||||||
|
|
@ -41,5 +44,4 @@ git g gh:Phantop/phantop.github.io ~/.site
|
||||||
git g gh:Phantop/haiku-icons ~/.local/share/icons/Haiku
|
git g gh:Phantop/haiku-icons ~/.local/share/icons/Haiku
|
||||||
|
|
||||||
cd ~/.solus && git update-index --assume-unchanged packager
|
cd ~/.solus && git update-index --assume-unchanged packager
|
||||||
~/.solus/build
|
fish -c "aliases;clean"
|
||||||
fish -c "aliases;invid;clean"
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue