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[@]%.gpg}" )
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 ")
[[ -n "$password" ]] || exit
@ -33,14 +33,13 @@ do
echo "$PASS" | grep -i "^email:"
echo "$PASS" | grep -i "^url:"
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
case $REPLY in
[eE]) echo "Editing $password."; pass edit "$password"; ;;
[rR]) echo -n "Rename to: "; read -i "$FOLDER" -e REPLY; [ ! -z "$REPLY" ] && pass mv "$password" "$REPLY"; ;;
[gG]) pass generate -i "$password" 22; ;;
[nN]) pass-add ;;
[nN]) pass generate -i "$password" 22; ;;
[dD]) pass rm "$password"; unset EXTRA; ;;
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'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="pattern">
<test name="family"><string>monospace</string></test>
<edit name="family" mode="append">
<string>Android Emoji</string>
</edit>
</match>
<!-- Block Symbola from the list of fallback fonts. -->
<selectfont>
<rejectfont>
<pattern>
<patelt name="family">
<string>Symbola</string>
</patelt>
</pattern>
</rejectfont>
</selectfont>
<match target="pattern">
<test qual="any" name="family"><string>Symbola</string></test>
<edit name="family" mode="assign" binding="same">
<string>Android Emoji</string>
</edit>
</match>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
<edit name="rgba" mode="assign">
<const>bgr</const>
</edit>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
<edit name="lcdfilter" mode="assign">
<const>lcdlight</const>
</edit>
<edit name="dpi" mode="assign">
<double>96</double>
</edit>
</match>
</fontconfig>