Crates.io | upwork-wlroots-bridge |
lib.rs | upwork-wlroots-bridge |
version | 0.1.5 |
source | src |
created_at | 2022-12-21 01:40:25.320817 |
updated_at | 2023-01-05 21:19:47.400601 |
description | Implementation for Wlroots (Sway, Wayfire, Hikari, River, etc.) of Gnome Screenshot and Idle DBUS Server, which Upwork uses to capture the screen as proof of work. |
homepage | https://github.com/drsh4dow/upwork-wlroots-bridge |
repository | https://github.com/drsh4dow/upwork-wlroots-bridge |
max_upload_size | |
id | 742756 |
size | 45,071 |
Rust Implementation for Wlroots (Sway, Wayfire, Hikari, River, etc.) of Gnome Screenshot and Idle DBUS Server (with extra features), which Upwork uses to capture the screen as proof of work.
This work was inspired by the python implementation of the Gnome Screenshot DBUS Server made by MarSoft, which can be found here.
this section will cover the minimum amount of information to get you up and running.
First, you must install the required packages from your distribution package manager. These packages are:
sudo pacman -S swayidle grim rust
sudo apt install swayidle grim rust-all
sudo dnf install swayidle grim rust
Right now, the more straightforward method of installation is via cargo with the command:
cargo install upwork-wlroots-bridge
You can use upwork-wlroots-bridge
with no options at all and launch it as is.
In this mode, you will receive no feedback, but that's it.
You can now use Upwork desktop client as normal once you have launched the server.
upwork-wlroots-bridge
Besides that, upwork-wlroots-bridge
comes with some valuable flags like -w
,
which will present a warning dialog and sound through zenity, and pw-play when
a screenshot is incoming (so you can refocus your work and not be surprised by
those annoying "surprise" screenshots).
upwork-wlroots-bridge -wD # The D stands for Debug, which will present some more info
When you are done choosing your ideal flags, then you can daemonize the server in your preferred way (tmux, systemd services, nohup).