shithub: picker

Download patch

ref: 17ff1f7706d673238da8a06ee99a8a0f29cb7bce
parent: d2aa6ed3228d702d6ad790790ca2dee0ee7201e0
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Wed Aug 10 06:27:36 EDT 2022

update readme

--- a/README.md
+++ b/README.md
@@ -16,20 +16,3 @@
 See the man page.
 
 ![screenshot](picker.png)
-
-## Themes
-
-At this moment the only two programs that actually use picker are
-[Orca](https://git.sr.ht/~ft/orca) and [themed
-rio(1)](https://ftrv.se/14).  Nevertheless, since it supports loading
-[themes](https://github.com/hundredrabbits/Themes), it makes sense to
-describe how to get them on Plan 9:
-
-```
-./themes.rc
-```
-
-The themes are stored in `$home/lib/theme`.  Once an app that supports
-picker is running, make it start the picker and in case you have the
-plumb rule from the man page in `/mnt/plumb/rules`, you can just plumb
-any theme and the app will receive the new colors.
--- a/themes.rc
+++ /dev/null
@@ -1,10 +1,0 @@
-#!/bin/rc
-rfork ne
-
-mkdir -p $home/lib/theme &&
-hget https://github.com/hundredrabbits/Themes/tree/master/themes | \
-sed -n '/\/master\/themes\/.*\.svg/;s,.*"/(.*/)([^"]+).svg.*,https://raw.githubusercontent.com/\1\2.svg \2.theme,p' | \
-sed 's,blob/,,g' | \
-while (a=`{read}) {
-	hget $a(1) | sed -n 's/.*id=.([a-z_A-F0-9]+).*fill=.*#([0-9a-fA-F]+).*/\1	\2/p' > $home/lib/theme/$a(2)
-}