diff --git a/.config/hypr/monitors.conf b/.config/hypr/monitors.conf index b0e5263..b04fc60 100644 --- a/.config/hypr/monitors.conf +++ b/.config/hypr/monitors.conf @@ -1,3 +1,3 @@ # Generated by nwg-displays on 2023-11-24 at 13:32:03. Do not edit manually. -monitor=eDP-1,1920x1080@60.003006,0x0,1.0 +monitor=eDP-1,1920x1080@144.003006,0x0,1.0 diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index 1586451..3fed94f 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -86,10 +86,10 @@ # BUG: ... may not contain unprintable characters. Can't use regex. # """--username-target "secret" --username-pattern "(?:^[^\n]*\n?){1}(.*)" --password-pattern "(.+)" """ # Just edit the qute-ass script instead of using regex. - config.bind( "pl", - """spawn --userscript qute-pass --username-target "secret" """, + 'spawn --userscript qute-pass --username-target secret --username-pattern "username: (.+)"', + # """spawn --userscript qute-pass --username-target "secret" """, ) config.bind( "pu", @@ -111,6 +111,7 @@ config.bind("", "tab-select 2") config.bind("", "tab-select 3") config.bind("", "tab-select 4") +config.bind("o", "set-cmd-text -s :open -t ") # Video Speed Controls diff --git a/.config/qutebrowser/userscripts/qute-pass b/.config/qutebrowser/userscripts/qute-pass index 4230b57..a63434b 100644 --- a/.config/qutebrowser/userscripts/qute-pass +++ b/.config/qutebrowser/userscripts/qute-pass @@ -254,6 +254,7 @@ def fake_key_raw(text): def extract_password(secret, pattern): # match = re.match(pattern, secret) + print("scp ", secret) match = secret.strip().split("\n")[0] if not match: raise CouldNotMatchPassword("Pattern did not match target") @@ -267,6 +268,7 @@ def extract_password(secret, pattern): def extract_username(target, pattern): # match = re.search(pattern, target, re.MULTILINE) + print("tgu: ", target) match = target.strip().split("\n")[1] if not match: raise CouldNotMatchUsername("Pattern did not match target") @@ -353,7 +355,9 @@ def main(arguments): and not arguments.otp_only ): secret = pass_(selection) + print("sec: ", secret) username_target = selection if arguments.username_target == "path" else secret + print("ut: ", username_target) try: if arguments.username_only: fake_key_raw(extract_username(username_target, arguments.username_pattern)) diff --git a/scripts/lin/ib.sh b/scripts/lin/ib.sh index 298f8ed..b4a1c9e 100644 --- a/scripts/lin/ib.sh +++ b/scripts/lin/ib.sh @@ -154,7 +154,11 @@ function i_qb(){ sudo pacman -S --noconfirm --needed python-tldextract sudo pacman -S --noconfirm --needed rofi # Missing: - # [ ] Cross Platform Password Auto Fill + # [ ] Vimium like hint accuracy + # [ ] Usable pinned tabs/bookmarks + # https://www.reddit.com/r/qutebrowser/comments/ixrvgb/struggling_alittle_with_learning_how_to_manage/ + # https://www.reddit.com/r/qutebrowser/comments/gcqwv2/how_do_you_guys_manage_your_bookmarksquickmarks/ + # [x] Cross Platform Password Auto Fill # https://github.com/unode/firefox_decrypt # https://github.com/qutebrowser/qutebrowser/blob/main/misc/userscripts/qute-pass # https://github.com/android-password-store/Android-Password-Store