demo / network-computer
Public
Copy of github.com/askrobots/network-computer (MIT): a desk you reach from anything. The original lives on GitHub.
GitStable demo
README: say this is a copy and where the original is
cde82c2
14 hours, 3 minutes ago
History
nc-launch-files · 480 bytes · 12 lines
| 1 | #!/bin/sh |
| 2 | # rofi script mode for nc-launch: lists files in your home (the desk's |
| 3 | # Desktop and Documents included, hidden files and caches skipped); opens |
| 4 | # the one picked with its default app. |
| 5 | if [ -n "$1" ]; then |
| 6 | p=$(printf '%s' "$1" | sed "s|^~|$HOME|") |
| 7 | setsid -f xdg-open "$p" >/dev/null 2>&1 |
| 8 | exit 0 |
| 9 | fi |
| 10 | cd "$HOME" || exit 0 |
| 11 | find -L . -maxdepth 6 \( -name '.*' -o -name snap -o -name node_modules \) -prune -o -type f -print 2>/dev/null \ |
| 12 | | head -5000 | sed 's|^\.|~|' |