mirror of
https://github.com/Phantop/dotfiles
synced 2025-07-21 20:05:54 +00:00
Qute: git and webrecord
This commit is contained in:
parent
bd8b5565ff
commit
96b921bc7a
|
@ -26,6 +26,7 @@ settings:
|
||||||
sa: spawn -u archive
|
sa: spawn -u archive
|
||||||
sd: spawn -u open_download
|
sd: spawn -u open_download
|
||||||
st: spawn -u switchtor
|
st: spawn -u switchtor
|
||||||
|
sw: spawn -u webrecord
|
||||||
sx: spawn -u nitterize
|
sx: spawn -u nitterize
|
||||||
passthrough:
|
passthrough:
|
||||||
<Ctrl+Shift+Escape>exit: leave-mode
|
<Ctrl+Shift+Escape>exit: leave-mode
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
// @include http://*.github.com/*
|
// @include http://*.github.com/*
|
||||||
// @include https://*.github.com/*
|
// @include https://*.github.com/*
|
||||||
// @run-at document-start
|
// @run-at document-start
|
||||||
// @version 0.20191105161848
|
// @version 0.20200209145304
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
(function() {var css = [
|
(function() {var css = [
|
||||||
":root{",
|
":root{",
|
||||||
|
@ -74,6 +74,12 @@
|
||||||
" color: #ccc!important;",
|
" color: #ccc!important;",
|
||||||
" border: none !important;",
|
" border: none !important;",
|
||||||
"}",
|
"}",
|
||||||
|
".cm-s-github-light .CodeMirror-lines, .CodeMirror-gutter-filler, .CodeMirror-scrollbar-filler {",
|
||||||
|
" background: var(--bg4) !important;",
|
||||||
|
"}",
|
||||||
|
".cm-s-github-light .CodeMirror-gutters {",
|
||||||
|
" background: var(--bg2) !important;",
|
||||||
|
"}",
|
||||||
"#readme .plain, .readme .markdown-body, .readme .plain, .pull-request-composer, .drag-and-drop, .octofication .broadcast-icon-mask, .file .image, .merge-pr-more-commits, .coupons .coupon-form-body, .manage-repo-access-group, .saved-reply-form, .orghead .edit-org:hover, .octotree_views, .simple-box, .btn-link.timeline-progressive-disclosure-button, a.border.rounded-1, .Box:not([style*=\"background\"]), .octotree_sidebar .octotree_bottom {",
|
"#readme .plain, .readme .markdown-body, .readme .plain, .pull-request-composer, .drag-and-drop, .octofication .broadcast-icon-mask, .file .image, .merge-pr-more-commits, .coupons .coupon-form-body, .manage-repo-access-group, .saved-reply-form, .orghead .edit-org:hover, .octotree_views, .simple-box, .btn-link.timeline-progressive-disclosure-button, a.border.rounded-1, .Box:not([style*=\"background\"]), .octotree_sidebar .octotree_bottom {",
|
||||||
" background: var(--bg2) !important;",
|
" background: var(--bg2) !important;",
|
||||||
" border-color: var(--bg2) !important;",
|
" border-color: var(--bg2) !important;",
|
||||||
|
@ -245,24 +251,27 @@
|
||||||
".pl-s .pl-s1, .pl-smi {",
|
".pl-s .pl-s1, .pl-smi {",
|
||||||
" color: #B2CCD6;",
|
" color: #B2CCD6;",
|
||||||
"}",
|
"}",
|
||||||
".pl-e, .pl-en {",
|
".pl-e, .pl-en, .cm-atom, .cm-builtin, .cm-variable-3 {",
|
||||||
" color: #C792EA;",
|
" color: #C792EA;",
|
||||||
"}",
|
"}",
|
||||||
".pl-c1, .pl-s .pl-v {",
|
".pl-c1, .pl-s .pl-v, .cm-number, .cm-property {",
|
||||||
" color: #82AAFF;",
|
" color: #82AAFF;",
|
||||||
"}",
|
"}",
|
||||||
".pl-pds, .pl-s, .pl-s .pl-pse .pl-s1, .pl-sr, .pl-sr .pl-cce, .pl-sr .pl-sra, .pl-sr .pl-sre {",
|
".pl-pds, .pl-s, .pl-s .pl-pse .pl-s1, .pl-sr, .pl-sr .pl-cce, .pl-sr .pl-sra, .pl-sr .pl-sre, .cm-s-github-light .cm-string {",
|
||||||
" color: #C3E88D;",
|
" color: #C3E88D;",
|
||||||
"}",
|
"}",
|
||||||
".pl-ent {",
|
".pl-ent, .cm-tag {",
|
||||||
" color: #FF5370;",
|
" color: #FF5370;",
|
||||||
"}",
|
"}",
|
||||||
".pl-k {",
|
".pl-k, .cm-def {",
|
||||||
" color: #89DDFF;",
|
" color: #89DDFF;",
|
||||||
"}",
|
"}",
|
||||||
".pl-smw, .pl-v {",
|
".pl-smw, .pl-v {",
|
||||||
" color: #F78C6C;",
|
" color: #F78C6C;",
|
||||||
"}",
|
"}",
|
||||||
|
".cm-qualifier {",
|
||||||
|
" color: #FFCB6B;",
|
||||||
|
"}",
|
||||||
".blob-code-deletion {",
|
".blob-code-deletion {",
|
||||||
" background-color: hsla(353, 25%, 30%, 1);",
|
" background-color: hsla(353, 25%, 30%, 1);",
|
||||||
"}",
|
"}",
|
||||||
|
@ -311,6 +320,129 @@
|
||||||
" .protip code {",
|
" .protip code {",
|
||||||
" background-color: var(--bg5) !important;",
|
" background-color: var(--bg5) !important;",
|
||||||
" padding: 3px;",
|
" padding: 3px;",
|
||||||
|
"}",
|
||||||
|
".menu-item.selected {",
|
||||||
|
" background-color: var(--bg4)",
|
||||||
|
"}",
|
||||||
|
".menu .menu-item:hover{",
|
||||||
|
" background-color: var(--bg5) !important;",
|
||||||
|
"}",
|
||||||
|
".timeline-comment--caret:after,",
|
||||||
|
".timeline-comment--caret:before{",
|
||||||
|
" border-right-color: var(--bg1);",
|
||||||
|
"}",
|
||||||
|
".Popover-message:after {",
|
||||||
|
" border-bottom-color: var(--bg1);",
|
||||||
|
"}",
|
||||||
|
".Popover-message--bottom-left:after, .Popover-message--bottom-right:after, .Popover-message--bottom:after {",
|
||||||
|
" border-top-color: var(--bg1);",
|
||||||
|
"}",
|
||||||
|
".Popover-message--right-bottom:after, .Popover-message--right-top:after, .Popover-message--right:after {",
|
||||||
|
" border-left-color: var(--bg1);",
|
||||||
|
"}",
|
||||||
|
".select-menu-tabs .select-menu-tab-nav.selected, .select-menu-tabs .select-menu-tab-nav[aria-selected=true], .select-menu-tabs a.selected, .select-menu-tabs a[aria-selected=true] {",
|
||||||
|
" color: #24292e;",
|
||||||
|
" background-color: var(--btn);",
|
||||||
|
" border-color: var(--btn);",
|
||||||
|
"}",
|
||||||
|
".TimelineItem-badge {",
|
||||||
|
" background-color: var(--bg5);",
|
||||||
|
"}",
|
||||||
|
".TimelineItem-badge .octicon {",
|
||||||
|
" fill: hsla(0, 0%, 100%, 0.5);",
|
||||||
|
"}",
|
||||||
|
".TimelineItem-body {",
|
||||||
|
" color: hsla(0, 0%, 100%, 0.33);",
|
||||||
|
"}",
|
||||||
|
".commit-ref, .branch-name {",
|
||||||
|
" color: hsla(0, 0%, 100%, 0.4);",
|
||||||
|
"}",
|
||||||
|
".diffbar, .pr-toolbar {",
|
||||||
|
" background-color: var(--bg3);",
|
||||||
|
"}",
|
||||||
|
".orghead {",
|
||||||
|
" background-color: var(--bg1);",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
".commit-ref .user {",
|
||||||
|
" color: var(--selected);",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"@media (min-width: 768px){",
|
||||||
|
" .page-responsive .pagehead {",
|
||||||
|
" background-color: var(--bg2)!important;",
|
||||||
|
" }",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
".blob-expanded .blob-code, .blob-expanded .blob-num {",
|
||||||
|
" background-color: var(--bg6);",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
".comment-reactions .user-has-reacted {",
|
||||||
|
" background-color: var(--bg1);",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"@media (min-width: 1012px) {",
|
||||||
|
" .border-lg-left {",
|
||||||
|
" border-left: 1px solid var(--bg2)!important;",
|
||||||
|
" }",
|
||||||
|
" .border-lg-bottom {",
|
||||||
|
" border-bottom: 1px solid var(--bg2)!important;",
|
||||||
|
" }",
|
||||||
|
" .border-lg-right {",
|
||||||
|
" border-right: 1px solid var(--bg2)!important;",
|
||||||
|
" }",
|
||||||
|
" .border-lg-top {",
|
||||||
|
" border-top: 1px solid var(--bg2)!important;",
|
||||||
|
" }",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
"/* Profile Contributions */",
|
||||||
|
"rect.day {",
|
||||||
|
" fill: hsl(174, 38%, 60%);",
|
||||||
|
"}",
|
||||||
|
"rect.day[data-count=\"0\"] {",
|
||||||
|
" fill: var(--bg1) !important;",
|
||||||
|
"}",
|
||||||
|
"rect.day[data-count=\"1\"],",
|
||||||
|
"rect.day[data-count=\"2\"],",
|
||||||
|
"rect.day[data-count=\"3\"],",
|
||||||
|
"rect.day[data-count=\"4\"] {",
|
||||||
|
" fill: hsl(174, 38%, 15%);",
|
||||||
|
"}",
|
||||||
|
"rect.day[data-count=\"5\"],",
|
||||||
|
"rect.day[data-count=\"6\"],",
|
||||||
|
"rect.day[data-count=\"7\"],",
|
||||||
|
"rect.day[data-count=\"8\"],",
|
||||||
|
"rect.day[data-count=\"9\"] {",
|
||||||
|
" fill: hsl(174, 38%, 30%);",
|
||||||
|
"}",
|
||||||
|
"rect.day[data-count=\"10\"],",
|
||||||
|
"rect.day[data-count=\"11\"],",
|
||||||
|
"rect.day[data-count=\"12\"],",
|
||||||
|
"rect.day[data-count=\"13\"],",
|
||||||
|
"rect.day[data-count=\"14\"] {",
|
||||||
|
" fill: hsl(174, 38%, 45%);",
|
||||||
|
"}",
|
||||||
|
"ul.legend li:nth-of-type(1) {",
|
||||||
|
" background: var(--bg1) !important;",
|
||||||
|
"}",
|
||||||
|
"ul.legend li:nth-of-type(2) {",
|
||||||
|
" background: hsl(174, 38%, 15%) !important;",
|
||||||
|
"}",
|
||||||
|
"ul.legend li:nth-of-type(3) {",
|
||||||
|
" background: hsl(174, 38%, 30%) !important;",
|
||||||
|
"}",
|
||||||
|
"ul.legend li:nth-of-type(4) {",
|
||||||
|
" background: hsl(174, 38%, 45%) !important;",
|
||||||
|
"}",
|
||||||
|
"ul.legend li:nth-of-type(5) {",
|
||||||
|
" background: hsl(174, 38%, 60%) !important;",
|
||||||
|
"}",
|
||||||
|
"",
|
||||||
|
".TimelineItem--condensed .TimelineItem-badge {",
|
||||||
|
" background-color: var(--bg3);",
|
||||||
|
" border-color: var(--bg3) !important;",
|
||||||
"}"
|
"}"
|
||||||
].join("\n");
|
].join("\n");
|
||||||
if (typeof GM_addStyle != "undefined") {
|
if (typeof GM_addStyle != "undefined") {
|
||||||
|
|
3
.local/share/qutebrowser/userscripts/webrecord
Executable file
3
.local/share/qutebrowser/userscripts/webrecord
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "open -t https://webrecorder.io/record/$QUTE_URL" >> "$QUTE_FIFO"
|
Loading…
Reference in a new issue