Move qutebrowser stuff from .local/share to .config

This commit is contained in:
Tobias Reisinger 2024-01-28 21:38:16 +01:00
parent 496a6e761b
commit ce36a14335
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 9 additions and 7 deletions

View file

@ -48,6 +48,8 @@ export TIME_STYLE="long-iso"
export VIMINIT="if has('nvim') | source $XDG_CONFIG_HOME/nvim/init.lua | else | source $XDG_CONFIG_HOME/vim/vimrc | endif" export VIMINIT="if has('nvim') | source $XDG_CONFIG_HOME/nvim/init.lua | else | source $XDG_CONFIG_HOME/vim/vimrc | endif"
export XDG_DATA_DIRS="$XDG_CONFIG_HOME/xdg-data:$XDG_DATA_DIRS"
export YADM_OVERRIDE_ARCHIVE="$HOME/.password-store/yadm.gpg" export YADM_OVERRIDE_ARCHIVE="$HOME/.password-store/yadm.gpg"

View file

@ -18,11 +18,11 @@ def init(c):
gpg_key = '723B78C0BF8D8C721D2C4EEF41E544A54E2533B2' gpg_key = '723B78C0BF8D8C721D2C4EEF41E544A54E2533B2'
c.bind(',p', 'spawn --userscript qute-keepassxc --key ' + gpg_key, mode='normal') c.bind(',p', 'spawn --userscript qutebrowser-keepassxc --key ' + gpg_key, mode='normal')
c.bind(',Pu', 'spawn --userscript qute-keepassxc --only-username --key ' + gpg_key, mode='normal') c.bind(',Pu', 'spawn --userscript qutebrowser-keepassxc --only-username --key ' + gpg_key, mode='normal')
c.bind(',Pi', 'spawn --userscript qute-keepassxc --only-password --key ' + gpg_key, mode='normal') c.bind(',Pi', 'spawn --userscript qutebrowser-keepassxc --only-password --key ' + gpg_key, mode='normal')
c.bind(',Po', 'spawn --userscript qute-keepassxc --only-otp --key ' + gpg_key, mode='normal') c.bind(',Po', 'spawn --userscript qutebrowser-keepassxc --only-otp --key ' + gpg_key, mode='normal')
c.bind(',Pp', 'spawn --userscript qute-keepassxc --autotype --key ' + gpg_key, mode='normal') c.bind(',Pp', 'spawn --userscript qutebrowser-keepassxc --autotype --key ' + gpg_key, mode='normal')
c.bind(',q', 'spawn --userscript qr {url}') c.bind(',q', 'spawn --userscript qr {url}')
c.bind(',Q', 'hint links spawn --userscript qr {hint-url}') c.bind(',Q', 'hint links spawn --userscript qr {hint-url}')
@ -39,7 +39,7 @@ def init(c):
import unalix import unalix
c.unbind('yy') c.unbind('yy')
c.unbind('yY') c.unbind('yY')
c.bind('yy', 'spawn --userscript qute-clear-url', mode='normal') c.bind('yy', 'spawn --userscript qutebrowser-clear-url', mode='normal')
c.bind('yY', 'spawn --userscript qute-clear-url -s', mode='normal') c.bind('yY', 'spawn --userscript qutebrowser-clear-url -s', mode='normal')
except: except:
pass pass