diff --git a/.config/aliasrc b/.config/aliasrc index 812decf..2cfe1b7 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -18,6 +18,9 @@ alias bspwm-single='echo "single" > /tmp/bspwm_mode; bspc wm -r' alias clip='xclip -selection clipboard' alias cp='cp -iv' +alias dcu='docker compose up -d' +alias dcul='docker compose up -d && docker compose logs -tf' +alias dcp='docker compose pull' alias df='df -h' alias dns-flush='sudo systemctl restart systemd-resolved.service && sudo systemd-resolve --flush-caches && sudo resolvectl flush-caches' alias doas='doas -- ' diff --git a/.local/share/qutebrowser/userscripts/qute-keepassxc b/.local/share/qutebrowser/userscripts/qute-keepassxc index dd5e535..24de330 100755 --- a/.local/share/qutebrowser/userscripts/qute-keepassxc +++ b/.local/share/qutebrowser/userscripts/qute-keepassxc @@ -350,13 +350,16 @@ def make_js_code(username, password): function fillFirstForm() { var forms = document.getElementsByTagName("form"); + var found_any = false; for (i = 0; i < forms.length; i++) { if (hasPasswordField(forms[i])) { loadData2Form(forms[i]); - return; + found_any = true; } } - alert("No Credentials Form found"); + if (!found_any) { + alert("No Credentials Form found"); + } }; fillFirstForm()