diff --git a/home/gui/files/local-qutebrowser/userscripts/save-url b/home/gui/files/local-qutebrowser/userscripts/save-url new file mode 100755 index 0000000..bd75f87 --- /dev/null +++ b/home/gui/files/local-qutebrowser/userscripts/save-url @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +VAULT="/home/don/src/nixos/RepoUrls.md" +echo "* [${QUTE_TITLE}](${QUTE_URL})" >>"${VAULT}" diff --git a/home/gui/qutebrowser.nix b/home/gui/qutebrowser.nix index 483095c..86ed3f1 100644 --- a/home/gui/qutebrowser.nix +++ b/home/gui/qutebrowser.nix @@ -9,8 +9,8 @@ loadAutoconfig = true; keyBindings = { normal = { - ",J" = "spawn /home/don/bin/vdi"; ",L" = "spawn --userscript qute-bitwarden --password-only"; + ",N" = "spawn --userscript saveurl"; ",O" = "spawn --userscript obsidian-import-lite"; ",R" = "spawn --userscript obsidian-import -r"; ",U" = "spawn --userscript sendurl"; @@ -18,8 +18,7 @@ ",d" = "spawn --userscript open_download"; ",l" = "spawn --userscript qute-bitwarden"; ",m" = "spawn --userscript mymail"; - ",n" = '' - config-cycle content.user_stylesheets /home/don/src/solarized-everything-css/css/mine.css ""''; + ",n" = ''config-cycle content.user_stylesheets /home/don/src/solarized-everything-css/css/mine.css ""''; ",o" = "spawn --userscript obsidian-import"; ",r" = "spawn --userscript recipe"; ",t" = "spawn --userscript qute-bitwarden --totp-only"; @@ -57,12 +56,8 @@ crhs = "https://www.katyisd.org/CRHS"; crhs-absence = "https://www.katyisd.org/domain/5809"; cups = "http://localhost:631/printers/printer"; - darkroom = "https://thedarkroom.com/photodashboard/"; disk = "https://smart.trex-halfbeak.ts.net/web/dashboard"; - driversed = "https://driving.aceable.com/teacher/log?studentId=I89fno2YEZo4hQ40"; - droplet = "https://cloud.digitalocean.com/droplets?i=a8b99f"; ercot = "https://www.ercot.com/gridmktinfo/dashboards"; - fiesta = "https://www.fiestamart.com/weekly-ads/?store_code=66"; flood = "https://www.harriscountyfws.org/"; gatus = "https://gatus.trex-halfbeak.ts.net/"; gcal = "https://calendar.google.com/calendar/r";