upwork-wlroots-bridge 0.1.4

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.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use clap::Parser;

#[derive(Parser, Debug)]
#[clap(
    author = "Drsh4dow",
    version = "0.1.0",
    about = "Simple tool for making upwork screenshot request to work on wlroots"
)]

pub struct Opts {
    /// Show warning via zenity and pw-play before the screnshoot is taken
    #[clap(short = 'w', long = "warning", default_value_t = false)]
    pub show_warning: bool,

    /// Show debug messages
    #[clap(short = 'D', long = "debug", default_value_t = false)]
    pub debug: bool,
}