From 0c430f7d5287db519aaca8d0fd4771c3047a8856 Mon Sep 17 00:00:00 2001 From: defanor Date: Thu, 14 Dec 2017 01:45:42 +0300 Subject: Add github-project.xsl --- .config/pancake/config.yaml | 1 + .config/pancake/unclutter/duckduckgo.xsl | 2 +- .config/pancake/unclutter/github-project.xsl | 47 ++++++++++++++++++++++++++++ .config/pancake/unclutter/hacker-news.xsl | 2 +- .config/pancake/unclutter/lobsters.xsl | 2 +- 5 files changed, 51 insertions(+), 3 deletions(-) create mode 100644 .config/pancake/unclutter/github-project.xsl diff --git a/.config/pancake/config.yaml b/.config/pancake/config.yaml index 33d01ec..af28301 100644 --- a/.config/pancake/config.yaml +++ b/.config/pancake/config.yaml @@ -55,6 +55,7 @@ unclutter: hacker-news: ^https://news\.ycombinator\.com/((news|show|ask).*)?$ duckduckgo: ^https://duckduckgo.com/lite/\?q= lobsters: ^https://lobste.rs/((page|recent|newest).*)?$ + github-project: ^https://github.com/[^/]+/[^/]+/?$ defaultCommand: ! 'curl --compressed -4 -L -w " -pancake- diff --git a/.config/pancake/unclutter/duckduckgo.xsl b/.config/pancake/unclutter/duckduckgo.xsl index 7db8766..2bf6e2b 100644 --- a/.config/pancake/unclutter/duckduckgo.xsl +++ b/.config/pancake/unclutter/duckduckgo.xsl @@ -1,6 +1,6 @@ - + diff --git a/.config/pancake/unclutter/github-project.xsl b/.config/pancake/unclutter/github-project.xsl new file mode 100644 index 0000000..3b24c8a --- /dev/null +++ b/.config/pancake/unclutter/github-project.xsl @@ -0,0 +1,47 @@ + + + + + + + + +

+ + / + +

+ + +

+ + issues: + + + | + + PRs: + + + | + + wiki + +

+ + +

+ + + () +
+
+

+ + + + + +
+
diff --git a/.config/pancake/unclutter/hacker-news.xsl b/.config/pancake/unclutter/hacker-news.xsl index 0e1fb63..0f8c352 100644 --- a/.config/pancake/unclutter/hacker-news.xsl +++ b/.config/pancake/unclutter/hacker-news.xsl @@ -1,6 +1,6 @@ - + diff --git a/.config/pancake/unclutter/lobsters.xsl b/.config/pancake/unclutter/lobsters.xsl index 69a85a1..92b58a7 100644 --- a/.config/pancake/unclutter/lobsters.xsl +++ b/.config/pancake/unclutter/lobsters.xsl @@ -1,6 +1,6 @@ - + -- cgit v1.2.3