commit a68f8d7ebc1482ec33f573401240bc6c081367b3
parent 46d972f987a3cb197b6761f415324367c9c93af5
Author: Matthew Carlson <matt@mattcarlson.org>
Date: Sun, 11 Sep 2022 11:24:51 -0400
small fix for pass.sh
Diffstat:
4 files changed, 24 insertions(+), 25 deletions(-)
diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf
@@ -28,7 +28,7 @@ screenshot-template = '%F-%wH-%wM-%wS-%wT'
screenshot-directory = '~/pix/shots'
# sub
-blend-subtitles = 'yes'
+#blend-subtitles = 'yes'
demuxer-mkv-subtitle-preroll
embeddedfonts = 'no'
sub-auto = 'fuzzy'
@@ -45,18 +45,19 @@ sub-shadow-color = '0.0/0.0/0.0/0.25'
sub-shadow-offset = 0
# vid
-cscale-antiring = 0.0
-cursor-autohide = 75
-deband-grain = 48
-deband-iterations = 4
-deband-range = 16
-deband-threshold = 48
-#deband = 'yes'
-dscale-antiring = 0.0
-force-seekable = 'yes'
-hr-seek-framedrop = 'no'
-interpolation = 'yes'
-#profile = 'gpu-hq'
-scale-antiring = 0.0
-video-sync = 'audio'
-vo = 'gpu'
+#cscale-antiring = 0.0
+#cursor-autohide = 75
+#deband-grain = 48
+#deband-iterations = 4
+#deband-range = 16
+#deband-threshold = 48
+##deband = 'yes'
+#dscale-antiring = 0.0
+#force-seekable = 'yes'
+#hr-seek-framedrop = 'no'
+hwdec = 'auto'
+#interpolation = 'yes'
+##profile = 'gpu-hq'
+#scale-antiring = 0.0
+#video-sync = 'audio'
+#vo = 'gpu'
diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc
@@ -78,5 +78,5 @@ set sidebar_width = '25'
source "gpg -dq ${XDG_DATA_HOME}/mutt/passwords.gpg |"
source "${XDG_CONFIG_HOME}/mutt/mattrc"
folder-hook $folder 'source ${XDG_CONFIG_HOME}/mutt/mattrc'
-source "${XDG_CONFIG_HOME}/mutt/algomaurc"
-folder-hook $folder 'source ${XDG_CONFIG_HOME}/mutt/algomaurc'
+#source "${XDG_CONFIG_HOME}/mutt/algomaurc"
+#folder-hook $folder 'source ${XDG_CONFIG_HOME}/mutt/algomaurc'
diff --git a/.config/transmission-daemon/settings.json b/.config/transmission-daemon/settings.json
@@ -26,7 +26,7 @@
"peer-id-ttl-hours": 0,
"peer-limit-global": 65535,
"peer-limit-per-torrent": 65535,
- "peer-port": 58631,
+ "peer-port": 60813,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": true,
diff --git a/.local/bin/pass.sh b/.local/bin/pass.sh
@@ -29,8 +29,7 @@ main() {
site="$(printf '%s\n' "${sites}" | dmenu -c -l 10)"
[ -z "${site}" ] && break
if ! printf '%s\n' "${sites}" | grep -iqx "${site}"; then
- unset sites
- continue
+ unset sites && continue
fi
credentials="$(gpg -dq "${CREDENTIALS_DIR}"/"${site}".gpg)"
@@ -56,10 +55,9 @@ main() {
done
printf '%s\n' "${credential_options}" ))"
- if ! credential_option="$(printf '%s\n' "${credential_options}" | dmenu -c -l 10 -p 'Credentials')"; then
- unset sites
- unset credential_options
- continue
+ if { ! credential_option="$(printf '%s\n' "${credential_options}" | dmenu -c -l 10 -p 'Credentials')" ; } ||
+ { ! printf '%s\n' "${credential_options}" | grep -iqx "${credential_option}" ; }; then
+ unset sites credential_options && continue
fi
if printf '%s\n' "${credential_option}" | grep -q '\<[0-9]\>'; then num="$(printf '%s\n' "${credential_option}" | awk '{ print $3 }')" ; fi