From 59f96e53efa13c9d40b2b5466fd104430c888f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Tue, 17 Nov 2020 00:24:36 -0300 Subject: [PATCH] General config and script cleanup. Important stuff: - mpv config has useful profiles. - gdbinit pulls in gef. - fish sets LANG! --- .gitmodules | 3 --- embedded/dot-gdbinit | 2 ++ fish/.config/fish/config.fish | 1 + fish/.config/fish/fish_variables | 1 - linux-utils/.local/bin/xbrowser | 4 ---- media/.config/mpv/mpv.conf | 16 ++++++++++++++++ nvim/.config/nvim/pack/plugins/start/kotlin-vim | 2 +- nvim/.config/nvim/pack/plugins/start/vim-airline | 2 +- sourcecode/subprojects/fuzzypkg | 2 +- sourcecode/subprojects/get-otp | 2 +- sourcecode/subprojects/purr-c | 2 +- sourcecode/subprojects/totp.sh | 1 - 12 files changed, 24 insertions(+), 14 deletions(-) delete mode 100755 linux-utils/.local/bin/xbrowser delete mode 160000 sourcecode/subprojects/totp.sh diff --git a/.gitmodules b/.gitmodules index ff56364..1061b93 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,9 +13,6 @@ [submodule "sourcecode/subprojects/fuzzypkg"] path = sourcecode/subprojects/fuzzypkg url = https://github.com/zdykstra/fuzzypkg.git -[submodule "sourcecode/subprojects/totp.sh"] - path = sourcecode/subprojects/totp.sh - url = https://github.com/richfelker/totp.sh.git [submodule "sourcecode/subprojects/purr-c"] path = sourcecode/subprojects/purr-c url = https://github.com/ericonr/purr-c.git diff --git a/embedded/dot-gdbinit b/embedded/dot-gdbinit index 141c8fe..0101918 100644 --- a/embedded/dot-gdbinit +++ b/embedded/dot-gdbinit @@ -25,3 +25,5 @@ end define semihosting monitor arm semihosting enable end + +source /usr/share/gef/gef.py diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 3d3c2e0..1618295 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -12,3 +12,4 @@ for i in ~/.local/bin ~/.cargo/bin ~/.emacs.d/bin end end +set -x LANG pt_BR.UTF-8 diff --git a/fish/.config/fish/fish_variables b/fish/.config/fish/fish_variables index c64fb83..6ad0684 100644 --- a/fish/.config/fish/fish_variables +++ b/fish/.config/fish/fish_variables @@ -25,7 +25,6 @@ SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrbl SETUVAR fish_color_status:red SETUVAR fish_color_user:brgreen SETUVAR fish_color_valid_path:\x2d\x2dunderline -SETUVAR fish_greeting:Welcome\x20to\x20fish\x2c\x20the\x20friendly\x20interactive\x20shell SETUVAR fish_key_bindings:fish_default_key_bindings SETUVAR fish_pager_color_completion:green SETUVAR fish_pager_color_description:B3A06D diff --git a/linux-utils/.local/bin/xbrowser b/linux-utils/.local/bin/xbrowser deleted file mode 100755 index aac0099..0000000 --- a/linux-utils/.local/bin/xbrowser +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/execlineb -P -pipeline -{ xpkg -a } -fzf --reverse --cycle --preview "xq {}" diff --git a/media/.config/mpv/mpv.conf b/media/.config/mpv/mpv.conf index 3ceeb11..1535584 100644 --- a/media/.config/mpv/mpv.conf +++ b/media/.config/mpv/mpv.conf @@ -2,4 +2,20 @@ vo=gpu hwdec=auto ao=sndio +demuxer-max-bytes=10G + +# Don't show album art no-audio-display + +[fb] +# For watching stuff on the framebuffer +vo=drm +profile=sw-fast + +[downmix] +# For watching stuff mastered for 5.1 +# https://github.com/mpv-player/mpv/issues/6343 +ad-lavc-downmix=no +audio-normalize-downmix=yes +af=dynaudnorm +#af=lavfi="acompressor=10" diff --git a/nvim/.config/nvim/pack/plugins/start/kotlin-vim b/nvim/.config/nvim/pack/plugins/start/kotlin-vim index b9fa728..f338707 160000 --- a/nvim/.config/nvim/pack/plugins/start/kotlin-vim +++ b/nvim/.config/nvim/pack/plugins/start/kotlin-vim @@ -1 +1 @@ -Subproject commit b9fa728701a0aa0b9a2ffe92f10880348fc27a8f +Subproject commit f338707b2aa658aef4c0d98fd9748240859cf2a9 diff --git a/nvim/.config/nvim/pack/plugins/start/vim-airline b/nvim/.config/nvim/pack/plugins/start/vim-airline index 66f77d4..5366671 160000 --- a/nvim/.config/nvim/pack/plugins/start/vim-airline +++ b/nvim/.config/nvim/pack/plugins/start/vim-airline @@ -1 +1 @@ -Subproject commit 66f77d4a77e54946fedaac7d54d02271751eab40 +Subproject commit 536667191d5bdc0afa3a18d7df229731e778815e diff --git a/sourcecode/subprojects/fuzzypkg b/sourcecode/subprojects/fuzzypkg index 28e36a8..6c5fea7 160000 --- a/sourcecode/subprojects/fuzzypkg +++ b/sourcecode/subprojects/fuzzypkg @@ -1 +1 @@ -Subproject commit 28e36a89488b07d9079d7c2397f1766c262ea01f +Subproject commit 6c5fea701860d959631cc70b7ae0ef6bc4846d54 diff --git a/sourcecode/subprojects/get-otp b/sourcecode/subprojects/get-otp index cb41214..e9bf557 160000 --- a/sourcecode/subprojects/get-otp +++ b/sourcecode/subprojects/get-otp @@ -1 +1 @@ -Subproject commit cb41214e59cafb1405010cd3357d2eddc2cf88ce +Subproject commit e9bf5578ddf007126eb790f9266a6fa99d2811e1 diff --git a/sourcecode/subprojects/purr-c b/sourcecode/subprojects/purr-c index e2df661..4678f86 160000 --- a/sourcecode/subprojects/purr-c +++ b/sourcecode/subprojects/purr-c @@ -1 +1 @@ -Subproject commit e2df661750080489d94ae5af523fad2ed97b8cb1 +Subproject commit 4678f8691b908efd491af6289d8aa0f110770218 diff --git a/sourcecode/subprojects/totp.sh b/sourcecode/subprojects/totp.sh deleted file mode 160000 index 81bdcd1..0000000 --- a/sourcecode/subprojects/totp.sh +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 81bdcd1b0682e1a06c7870a2fd70bcaf2b5df3eb