An open API service indexing awesome lists of open source software.

https://github.com/yantze/workflowy_patch

Patch workflowy(chrome app) css and hotkey
https://github.com/yantze/workflowy_patch

workflowy

Last synced: 10 months ago
JSON representation

Patch workflowy(chrome app) css and hotkey

Awesome Lists containing this project

README

          

# Workflowy Patch
> Only work macOS now.

Simple Workflowy Layout, theme and add hotkey.

## Install
You **MUST** install Workflowy Chrome version first:

https://chrome.google.com/webstore/detail/workflowy/koegeopamaoljbmhnfjbclbocehhgmkm
```
git clone https://github.com/yantze/workflowy_patch
cd workflowy_patch
./mod.sh
```

Restart Workflowy app

## Theme
- Light
- Markdown

## Add Hotkey
- Go to end of file: Ctrl+Shift+G
- Change theme: Ctrl+Shift+T
- Change to Markdown: Ctrl+shift+M
- Print: Ctrl+Shift+P
- Copy current Node web url: Ctrl+Shift+C
- Go Back: Ctrl + -, Command + [
- Go Forward: Ctrl + +, Command + ]

## Recommand Hotkey (default hotkey)
- Go to end of line: Ctrl+e
- Next/Before line: Ctrl+n/p

## Get Title and url from HammerSpoon.app
Put the code to init.lua and reload HammerSpoon
```
-- Type Browser Link
-- Change from https://github.com/ashfinal/awesome-hammerspoon

hs.hotkey.bind({'alt'}, 'v', function()
local safari_running = hs.application.applicationsForBundleID("com.apple.Safari")
local chrome_running = hs.application.applicationsForBundleID("com.google.Chrome")
local stat, data
if #safari_running > 0 then
stat, data = hs.applescript('tell application "Safari" to get {URL, name} of current tab of window 1')
elseif #chrome_running > 0 then
stat, data = hs.applescript('tell application "Google Chrome" to get {URL, title} of active tab of window 1')
end

if stat then
hs.eventtap.keyStrokes(data[2])
hs.eventtap.keyStroke({"shift"}, "return")
hs.eventtap.keyStrokes(data[1])
end
end)
```

## ScreenShot

### Light
![theme-light](./screenshot/theme-light.png)

### Markdown
![theme-markdown](./screenshot/theme-markdown.png)

## Tips(中文)
如果要查找 Workflowy 中英文或者数字中的一部分,直接输入是找不到的

比如我搜索 Application,那么 launchApplication 就不会被搜索到,而是要输入`"Application"` 才行