From 53b80f93a23cd88c3580d6cf4fceaf7fdf809584 Mon Sep 17 00:00:00 2001 From: Antoine POPINEAU Date: Sun, 28 Jun 2020 17:18:43 +0200 Subject: [PATCH] Renamed project to tuigreet. --- .github/workflows/main.yml | 2 +- Cargo.lock | 26 +++++++++++++------------- Cargo.toml | 2 +- README.md | 10 +++++----- src/config.rs | 2 +- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1f7dac6..1fc177b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,4 +30,4 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} cwd: ${{ github.workspace }} - files: target/release/greetd-tui + files: target/release/tuigreet diff --git a/Cargo.lock b/Cargo.lock index 37550ba..27fa70d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -56,19 +56,6 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "greetd-tui" -version = "0.1.0" -dependencies = [ - "chrono", - "getopts", - "greetd_ipc", - "nix", - "termion", - "textwrap", - "tui", -] - [[package]] name = "greetd_ipc" version = "0.6.0" @@ -286,6 +273,19 @@ dependencies = [ "unicode-width", ] +[[package]] +name = "tuigreet" +version = "0.1.0" +dependencies = [ + "chrono", + "getopts", + "greetd_ipc", + "nix", + "termion", + "textwrap", + "tui", +] + [[package]] name = "unicode-segmentation" version = "1.6.0" diff --git a/Cargo.toml b/Cargo.toml index 142820d..a4a9227 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "greetd-tui" +name = "tuigreet" version = "0.1.0" authors = ["Antoine POPINEAU "] edition = "2018" diff --git a/README.md b/README.md index 6cfe22f..e3714e3 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ -# greetd-tui +# tuigreet Graphical console greter for [greetd](https://git.sr.ht/~kennylevinsen/greetd). -![Screenshot of greetd-tui](https://github.com/apognu/greetd-tui/blob/master/contrib/screenshot.png) +![Screenshot of tuigreet](https://github.com/apognu/tuigreet/blob/master/contrib/screenshot.png) ## Usage ``` -Usage: greetd-tui [OPTIONS] +Usage: tuigreet [OPTIONS] Options: -h, --help show this usage information @@ -21,13 +21,13 @@ Options: ## Configuration -Edit `/etc/greetd/config.toml` and set the `command` setting to use `greetd-tui`: +Edit `/etc/greetd/config.toml` and set the `command` setting to use `tuigreet`: ``` [terminal] vt = 1 [default_session] -command = "greetd-tui --cmd sway" +command = "tuigreet --cmd sway" user = "greeter" ``` diff --git a/src/config.rs b/src/config.rs index bb5821f..a82d8fc 100644 --- a/src/config.rs +++ b/src/config.rs @@ -142,5 +142,5 @@ impl Greeter { } fn print_usage(opts: Options) { - eprint!("{}", opts.usage("Usage: greetd-tui [OPTIONS]")); + eprint!("{}", opts.usage("Usage: tuigreet [OPTIONS]")); }