From c7cf72664fcdd4a36f78b908b8d8c03b94166694 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 9 Mar 2021 07:15:43 -0600 Subject: [PATCH] mpv to 720 by default and tridactyl tweaks --- flameshot/flameshot.ini | 37 ++++++++++++++++++++++++++-- mpv/mpv.conf | 5 ++-- qutebrowser/config.py | 2 +- qutebrowser/qsettings/QtProject.conf | 2 +- rofi/rofi-pass/config | 2 +- tridactyl/themes/snazzy.css | 4 +-- 6 files changed, 42 insertions(+), 10 deletions(-) diff --git a/flameshot/flameshot.ini b/flameshot/flameshot.ini index 5c04e50..1c1971c 100644 --- a/flameshot/flameshot.ini +++ b/flameshot/flameshot.ini @@ -2,10 +2,43 @@ contrastOpacity=175 contrastUiColor=#db8800 disabledTrayIcon=true -drawColor=#0e8f17 -drawThickness=77 +drawColor=#00ffff +drawThickness=75 saveAfterCopy=true saveAfterCopyPath=/home/chris/Pictures savePath=/home/chris/Pictures startupLaunch=false uiColor=#00a6d1 + +[Shortcuts] +TYPE_ARROW=A +TYPE_CIRCLE=C +TYPE_CIRCLECOUNT= +TYPE_COMMIT_CURRENT_TOOL=Ctrl+Return +TYPE_COPY=Ctrl+C +TYPE_DRAWER=D +TYPE_EXIT=Ctrl+Q +TYPE_IMAGEUPLOADER=Return +TYPE_MARKER=M +TYPE_MOVESELECTION=Ctrl+M +TYPE_MOVE_DOWN=Down +TYPE_MOVE_LEFT=Left +TYPE_MOVE_RIGHT=Right +TYPE_MOVE_UP=Up +TYPE_OPEN_APP=Ctrl+O +TYPE_PENCIL=P +TYPE_PIN= +TYPE_PIXELATE=B +TYPE_RECTANGLE=R +TYPE_REDO=Ctrl+Shift+Z +TYPE_RESIZE_DOWN=Shift+Down +TYPE_RESIZE_LEFT=Shift+Left +TYPE_RESIZE_RIGHT=Shift+Right +TYPE_RESIZE_UP=Shift+Up +TYPE_SAVE=Ctrl+S +TYPE_SELECTION=S +TYPE_SELECTIONINDICATOR= +TYPE_SELECT_ALL=Ctrl+A +TYPE_TEXT=T +TYPE_TOGGLE_PANEL=Space +TYPE_UNDO=Ctrl+Z diff --git a/mpv/mpv.conf b/mpv/mpv.conf index 4f2005d..4baf513 100644 --- a/mpv/mpv.conf +++ b/mpv/mpv.conf @@ -2,9 +2,8 @@ vo=gpu af=scaletempo2 speed=1.95 -autofit=70% +autofit=75% geometry=50%:50% input-ipc-server="/tmp/mpvsocket" -[ytdl] -ytdl-format="bestvideo[height<=720]+bestaudio/best" +ytdl-format=bestvideo[height<=?720][fps<=?30]+bestaudio/best diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 8fe6bae..3113214 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -2429,7 +2429,7 @@ config.bind("o", "set-cmd-text -s :open") ## Bindings for MPV and YTDL config.bind("v", "hint links spawn --detach mpv --force-window yes {hint-url}") -config.bind("gv", "spawn --detach mpv --force-window yes {url}") +config.bind("gv", "spawn --detach mpv --force-window yes --ytdl=bestvideo[height<=?720][fps<=?30]+bestaudio/best {url}") config.bind("gc", 'spawn org-capture "{url}"') config.bind( "gV", diff --git a/qutebrowser/qsettings/QtProject.conf b/qutebrowser/qsettings/QtProject.conf index 7e9b149..91b833f 100644 --- a/qutebrowser/qsettings/QtProject.conf +++ b/qutebrowser/qsettings/QtProject.conf @@ -1,6 +1,6 @@ [FileDialog] history=file:///home/chris/Pictures/Newsletter, file:///home/chris/org, file:///home/chris/storage/digikam/Photos/Camera/Camera, file:///home/chris/Pictures, file:///home/chris -lastVisited=file:///home/chris/storage/digikam/Photos/Camera/Camera +lastVisited=file:///home/chris qtVersion=5.15.2 shortcuts=file:, file:///home/chris sidebarWidth=116 diff --git a/rofi/rofi-pass/config b/rofi/rofi-pass/config index 95b31b7..efc6e38 100644 --- a/rofi/rofi-pass/config +++ b/rofi/rofi-pass/config @@ -16,7 +16,7 @@ _pwgen () { # qrencode is needed to generate the image and a viewer # that can read from pipes. Known viewers to work are feh and display _image_viewer () { - sxiv - + sxiv # display } diff --git a/tridactyl/themes/snazzy.css b/tridactyl/themes/snazzy.css index 5daa0a1..bb03e0c 100644 --- a/tridactyl/themes/snazzy.css +++ b/tridactyl/themes/snazzy.css @@ -137,8 +137,8 @@ border: 1px var(--base0D) solid !important; font-size: 7pt !important; /*font-weight: 200 !important;*/ - padding: 0.3ex !important; -} + padding: 0.1ex !important; + } #completions .focused { background: var(--base0B); color: var(--base00);