Update 2023-05-12 17:24 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id 2023-05-12 17:24:59 +02:00
parent ba5c729333
commit 0642a1493d
3 changed files with 31 additions and 32 deletions

View File

@ -16,7 +16,7 @@ do
password_files=( "${password_files[@]#"$prefix"/}" ) password_files=( "${password_files[@]#"$prefix"/}" )
password_files=( "${password_files[@]%.gpg}" ) password_files=( "${password_files[@]%.gpg}" )
password=$(printf '%s\n' "${password_files[@]}" \ password=$(printf '%s\n' "${password_files[@]}" \
| fzf -i $EXTRA --preview="gpg -d ${prefix}/{1}.gpg \ | fzf -e -i $EXTRA --preview="gpg -d ${prefix}/{1}.gpg \
2> /dev/null ") 2> /dev/null ")
[[ -n "$password" ]] || exit [[ -n "$password" ]] || exit
@ -33,14 +33,13 @@ do
echo "$PASS" | grep -i "^email:" echo "$PASS" | grep -i "^email:"
echo "$PASS" | grep -i "^url:" echo "$PASS" | grep -i "^url:"
echo "---------" echo "---------"
echo -n "[E]dit [R]ename [G]enerate [N]ew [D]elete: " echo -n "[E]dit | [R]ename | [N]ew Password | [D]elete: "
read read
case $REPLY in case $REPLY in
[eE]) echo "Editing $password."; pass edit "$password"; ;; [eE]) echo "Editing $password."; pass edit "$password"; ;;
[rR]) echo -n "Rename to: "; read -i "$FOLDER" -e REPLY; [ ! -z "$REPLY" ] && pass mv "$password" "$REPLY"; ;; [rR]) echo -n "Rename to: "; read -i "$FOLDER" -e REPLY; [ ! -z "$REPLY" ] && pass mv "$password" "$REPLY"; ;;
[gG]) pass generate -i "$password" 22; ;; [nN]) pass generate -i "$password" 22; ;;
[nN]) pass-add ;;
[dD]) pass rm "$password"; unset EXTRA; ;; [dD]) pass rm "$password"; unset EXTRA; ;;
esac esac

3
.bin/slowmouse Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
xinput set-prop /dev/wsmouse "Device Accel Adaptive Deceleration" 1.0
xinput set-prop /dev/wsmouse "Device Accel Constant Deceleration" 1.0

View File

@ -1,30 +1,27 @@
<?xml version='1.0'?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig> <fontconfig>
<match target="font">
<match target="pattern"> <edit name="antialias" mode="assign">
<test name="family"><string>monospace</string></test> <bool>true</bool>
<edit name="family" mode="append"> </edit>
<string>Android Emoji</string> <edit name="hinting" mode="assign">
</edit> <bool>true</bool>
</match> </edit>
<edit name="hintstyle" mode="assign">
<!-- Block Symbola from the list of fallback fonts. --> <const>hintslight</const>
<selectfont> </edit>
<rejectfont> <edit name="rgba" mode="assign">
<pattern> <const>bgr</const>
<patelt name="family"> </edit>
<string>Symbola</string> <edit name="autohint" mode="assign">
</patelt> <bool>true</bool>
</pattern> </edit>
</rejectfont> <edit name="lcdfilter" mode="assign">
</selectfont> <const>lcdlight</const>
</edit>
<match target="pattern"> <edit name="dpi" mode="assign">
<test qual="any" name="family"><string>Symbola</string></test> <double>96</double>
<edit name="family" mode="assign" binding="same"> </edit>
<string>Android Emoji</string> </match>
</edit>
</match>
</fontconfig> </fontconfig>