Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diamondburned/lsoc-overlay
List Open Cameras.
https://github.com/diamondburned/lsoc-overlay
Last synced: 7 days ago
JSON representation
List Open Cameras.
- Host: GitHub
- URL: https://github.com/diamondburned/lsoc-overlay
- Owner: diamondburned
- License: gpl-3.0
- Created: 2020-09-07T05:10:42.000Z (over 4 years ago)
- Default Branch: zoom-uni
- Last Pushed: 2020-09-10T07:40:33.000Z (over 4 years ago)
- Last Synced: 2024-10-16T17:50:30.880Z (about 2 months ago)
- Language: Go
- Size: 8.3 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - diamondburned/lsoc-overlay - List Open Cameras. (Go)
README
# lsoc-overlay
Overlay for the List of Open Cameras.
![screenshot](scrot.png)
## Install
Dependencies: `go`, `gtk3`, `v4l2`, Linux.
```sh
# Optionally add this to shellrc.
export PATH="$PATH:${GOBIN:-$GOPATH/bin}"go install github.com/diamondburned/lsoc-overlay
```## Usage
```sh
# Optionally install the default config.json.
cp config.json ~/.config/lsoc.config.jsonlsoc-overlay [-c ~/.config/lsoc.config.json]
```By default, `lsoc-overlay` will scan with a single thread every 1.2s to save
CPU time and battery. If one wishes to prioritize responsiveness, change
`num_scanners` to `-1` and `polling_ms` to `250` (or any low number). This will
ensure that `lsoc-overlay` scans with multiple threads in a short amount of
time.### Nix
```nix
{ config, pkgs, lib, ... }:let lsoc-overlay = builtins.fetchGit {
url = "https://github.com/diamondburned/lsoc-overlay.git";
rev = "1e56cc825ce885a64a7e635f54ff704958e7d029"; # update this
};in {
# should be changed to the appropriate username.
home-manager.users. = {
imports = [ "${lsoc-overlay}" ];
services.lsoc-overlay = {
enable = true;
config = {
polling_ms = 1000;
num_scanners = -1;
};
};
};
}
```