diff --git a/README.md b/README.md index d78c815..1e8a038 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ A ShareX/file upload server that is easy to use, packed with features, and with - Code highlighting - Fully customizable Discord webhook notifications - OAuth2 registration (Discord and GitHub) +- Two-Factor authentication with Google Authenticator, Authy, etc (totp services). - User invites - File Chunking (for large files) - File deletion once it reaches a certain amount of views @@ -113,6 +114,17 @@ After navigating to Zipline, click on the top right corner where it says your us This section requires [Flameshot](https://www.flameshot.org/), [jq](https://stedolan.github.io/jq/), and [xsel](https://github.com/kfish/xsel). +
+ Wayland instructions + +If using wayland you will need to have [wl-clipboard](https://github.com/bugaevc/wl-clipboard) installed, for the `wl-copy` command. + +If you are not using GNOME/KDE/Qtile/Sway, and are using something like a wlroots-based compositor (ex. [Hyprland](https://github.com/hyprwm/Hyprland/), [River](https://github.com/riverwm/river), etc), you will need to set the `XDG_CURRENT_DESKTOP` environment variable to `sway`, which will just override it for this script. Adding `export XDG_CURRENT_DESKTOP=sway` to the start of the script will work. + +After this, replace the `xsel -ib` with `wl-copy` in the script. + +
+ You can either use the script below, or generate one directly from Zipline (just like how you can generate a ShareX config). To upload files using flameshot we will use a script. Replace $TOKEN and $HOST with your own values, you probably know how to do this if you use linux.