History

update readme

Sigrid Solveig Haflínudóttir committed 4 years agomaster

Commit 17ff1f71 parent d2aa6ed2 files · +0 −27Browse files

Unified · Split

2 files
  1. README.md +0 −17
  2. themes.rc +0 −10
README.md+0−17
@@ -16,20 +16,3 @@ Clone, run `mk install` · 15 unmodified lines
1616 See the man page.
1717
1818 ![screenshot](picker.png)
19−
20−## Themes
21−
22−At this moment the only two programs that actually use picker are
23−[Orca](https://git.sr.ht/~ft/orca) and [themed
24−rio(1)](https://ftrv.se/14). Nevertheless, since it supports loading
25−[themes](https://github.com/hundredrabbits/Themes), it makes sense to
26−describe how to get them on Plan 9:
27−
28−```
29−./themes.rc
30−```
31−
32−The themes are stored in `$home/lib/theme`. Once an app that supports
33−picker is running, make it start the picker and in case you have the
34−plumb rule from the man page in `/mnt/plumb/rules`, you can just plumb
35−any theme and the app will receive the new colors.
themes.rc+0−10
@@ -1,10 +0,0 @@
1−#!/bin/rc
2−rfork ne
3−
4−mkdir -p $home/lib/theme &&
5−hget https://github.com/hundredrabbits/Themes/tree/master/themes | \
6−sed -n '/\/master\/themes\/.*\.svg/;s,.*"/(.*/)([^"]+).svg.*,https://raw.githubusercontent.com/\1\2.svg \2.theme,p' | \
7−sed 's,blob/,,g' | \
8−while (a=`{read}) {
9− 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)
10−}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t