Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ keywords = ["obsbot", "tiny2", "camera", "webcam", "linux"]
categories = ["hardware-support"]

[features]
gui = ["iced", "tiny4linux_assets"]
gui = ["iced", "iced_font_awesome", "tiny4linux_assets"]
cli = ["clap", "clap_complete", "dialoguer"]

[dependencies]
tiny4linux_assets = { git = "https://github.com/OpenFoxes/Tiny4Linux-Icons", rev = "ba11e78", optional = true }
iced = { version = "0.13.0", features = ["image", "tokio"], optional = true }
iced_font_awesome = { version = "0.2.1", optional = true }
nix = { version = "0.30.0", features = ["ioctl"] }
errno = "0.3.14"
hex = "0.4.3"
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ The way you use Tiny4Linux depends on the variant you chose:
You can start the GUI by clicking on the icon in your desktop manager or by typing `tiny4linux-gui` in your terminal.
You'll have full access to all available features in the window that opens.

The UI is available in two variants:

1. The **dashboard** is a full overview about the current state and all the available controlling functions.
Via the terminal, you can open it by setting the flag: `tiny4linux-gui --start-as dashboard`
2. The **widget** is a smaller version intended for permanent viewing.
It contains only the more important functions you might need more often.
Via the terminal, you can open it by setting the flag: `tiny4linux-gui --start-as widget`

### CLI

You can use the CLI by typing `t4l` or `tiny4linux-cli` in your terminal.
Expand Down
3 changes: 2 additions & 1 deletion deployment/gui/aur/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ package() {
install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"

install -Dm755 "target/release/assets/icon.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/tiny4linux.png"
install -Dm755 "src/gui/tiny4linux.desktop" "$pkgdir/usr/share/applications/tiny4linux.desktop"
install -Dm755 "src/gui/tiny4linux-dashboard.desktop" "$pkgdir/usr/share/applications/tiny4linux-dashboard.desktop"
install -Dm755 "src/gui/tiny4linux-widget.desktop" "$pkgdir/usr/share/applications/tiny4linux-widget.desktop"
}
Loading