Prechádzať zdrojové kódy

updates to config files

Casey DeLorme 2 rokov pred
rodič
commit
5ced4ebdfa

+ 1 - 1
install/etc/skel/.config/libfm/libfm.conf

@@ -1,4 +1,4 @@
-# Configuration file for the libfm version 1.3.1.
+# Configuration file for the libfm version 1.3.2.
 # Autogenerated file, don't edit, your changes will be overwritten.
 
 [config]

+ 2 - 2
install/etc/skel/.config/mimeapps.list

@@ -17,7 +17,7 @@ text/x-go=sublime_text.desktop;
 text/x-markdown=sublime_text.desktop;
 application/x-php=sublime_text.desktop;
 application/x-shellscript=sublime_text.desktop;
-application/pdf=evince.desktop;
+application/pdf=org.gnome.Evince.desktop;
 video/x-msvideo=mpv.desktop;
 video/x-flv=mpv.desktop;
 video/quicktime=mpv.desktop;
@@ -66,7 +66,7 @@ text/x-go=sublime_text.desktop;
 text/x-markdown=sublime_text.desktop;
 application/x-php=sublime_text.desktop;
 application/x-shellscript=sublime_text.desktop;
-application/pdf=evince.desktop;
+application/pdf=org.gnome.Evince.desktop;
 video/x-msvideo=mpv.desktop;
 video/x-flv=mpv.desktop;
 video/quicktime=mpv.desktop;

+ 8 - 2
install/etc/skel/.config/mpv/mpv.conf

@@ -2,6 +2,12 @@
 # video driver
 profile=gpu-hq
 
+# hwdecoder
+hwdec=auto-copy
+
+# wayland gpu context
+gpu-context=waylandvk
+
 # default scale and image rendering
 scale=ewa_lanczossharp
 cscale=ewa_lanczossoft
@@ -21,8 +27,8 @@ osc=yes
 # mpv --ytdl-raw-options="username=username,password=password" "url"
 
 # extensions
-[extension.webm]
-loop-file=inf
+#[extension.webm]
+#loop-file=inf
 
 [extension.gif]
 loop-file=inf

+ 1 - 0
install/etc/skel/.config/sublime-text/Packages/User/Preferences.sublime-settings

@@ -1,4 +1,5 @@
 {
+	"show_git_status": true,
 	"auto_complete_commit_on_tab": true,
 	"caret_style": "phase",
 	"color_scheme": "Packages/Color Scheme - Default/Sunburst.tmTheme",

+ 1 - 0
install/etc/skel/.config/systemd/user/sway-session.target.wants/corectrl.service

@@ -0,0 +1 @@
+../corectrl.service

+ 27 - 0
install/etc/skel/.config/yt-dlp/config

@@ -1,4 +1,31 @@
 # set sane defaults to ensure video and audio are saved as intended
+#
+# Unfortunately yt-dlp lacks sane behaviors with regards to controlling
+# both video and audio formats from `~/.config/yt-dlp/config`.
+#
+# If I add `--recode-video=webm` then it will also recode audio only downloads
+# to webm even if I specified `--audio-format=opus`.
+#
+# I then tried using `-f` to control the downloaded file, but this is exposed
+# other strange and undesirable behaviors.
+#
+# If I use `ba[ext=opus]` it will often fail because `opus` is not a commonly
+# available extension.
+#
+# If I use `ba[ext=webm]`even if I want both audio and video it will never
+# download the full video file.
+#
+# If I use `bv[ext=webm]+ba[ext=webm]` with `-x` it will download the entire
+# video file, which is often an order of magnitude larger wasting both time and
+# disk space, before converting to the desired audio-only format.
+#
+# In conclusion there does not seem to be intelligent design around the `-x`
+# flag.  It ignores this flag when picking the file to download, and it ignores
+# this flag when asked to recode video even though I only want audio.
+#
+# The end result is that I have to pick between only controlling audio or video
+# and if I control video I am forced to download entire video files when smaller
+# audio-only downloads would suffice.
 
 # sane stream download setting
 --wait-for-video=1