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