change btrbk snapshot preserve and xdg.portal

This commit is contained in:
cy 2024-12-06 01:54:12 -05:00
parent 7e433309b6
commit 0fc512c3c6
6 changed files with 86 additions and 9 deletions

View file

@ -7,15 +7,19 @@ if [ "$1" = "btn1" ]; then
wtype " "
elif [ "$active_window" = "foot" ]; then
wtype -M ctrl -M shift -k c
wtype -m ctrl
else
wtype -M ctrl -k c
wtype -m ctrl
fi
else
if [ "$active_window" = "anki" ]; then
wtype "1"
elif [ "$active_window" = "foot" ]; then
wtype -M ctrl -M shift -k v
wtype -m ctrl
else
wtype -M ctrl -k v
wtype -m ctrl
fi
fi