From 5eb3cdc7adfeb55b7e502b356bb67045486e1799 Mon Sep 17 00:00:00 2001 From: DeaDvey Date: Fri, 26 Jul 2024 03:36:05 +0100 Subject: [PATCH 1/8] moved li.service --- assets/li.service | 17 +++++++++++++++++ src/main.c | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 assets/li.service diff --git a/assets/li.service b/assets/li.service new file mode 100644 index 0000000..a492690 --- /dev/null +++ b/assets/li.service @@ -0,0 +1,17 @@ +[Unit] +Description=TUI display manager +After=systemd-user-sessions.service plymouth-quit-wait.service +After=getty@tty3.service +Conflicts=getty@tty3.service + +[Service] +Type=idle +ExecStart=/home/deadvey/media/Code/git/lidm/lidm +StandardError=journal +StandardInput=tty +TTYPath=/dev/tty3 +TTYReset=yes +TTYVHangup=yes + +[Install] +Alias=display-manager.service \ No newline at end of file diff --git a/src/main.c b/src/main.c index 8ed7467..ae3c595 100644 --- a/src/main.c +++ b/src/main.c @@ -33,5 +33,5 @@ int main(int argc, char *argv[]) { int ret = load(users, sessions); if (ret == 0) - execl(argv[0], argv[0], NULL); + execl(argv[0], argv[0], NULL); } From 98598cf49025c5aab110c334fcbe7cd199657304 Mon Sep 17 00:00:00 2001 From: DeaDvey Date: Mon, 29 Jul 2024 20:00:57 +0100 Subject: [PATCH 2/8] fixed inconsistent hyphens! --- docs/CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 5d24567..990d431 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -22,14 +22,14 @@ For small fixes or incremental improvements simply fork the repo and follow the - Have a first line with less than *80 characters* and have a second line that is *empty* if you want to add a description. 4. Once you are happy with your changes, submit a pull request. - - Open the pull-request. + - Open the pull request. - Add a short description explaining briefly what you've done (or if it's a work-in-progress - what you need to do) ## Issues 1. Do a quick search on GitHub to check if the issue has already been reported. 2. [Open an issue](https://github.com//javalsai/lidm/issues/new) and describe the issue you are having - you could include: - - Screenshots + - Screenshots. - Ways to reproduce the issue. - Your lidm version. - Your platform (e.g. arch linux or Ubuntu 15.04 x64) From e71d2fdd8c6ab18de7eb16216b31d2143125b330 Mon Sep 17 00:00:00 2001 From: DeaDvey Date: Mon, 29 Jul 2024 20:03:02 +0100 Subject: [PATCH 3/8] whoops --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index ae3c595..8ed7467 100644 --- a/src/main.c +++ b/src/main.c @@ -33,5 +33,5 @@ int main(int argc, char *argv[]) { int ret = load(users, sessions); if (ret == 0) - execl(argv[0], argv[0], NULL); + execl(argv[0], argv[0], NULL); } From a738a23b75964e6bfc5592126306e72c8d9b0d0f Mon Sep 17 00:00:00 2001 From: DeaDvey Date: Mon, 29 Jul 2024 20:05:00 +0100 Subject: [PATCH 4/8] removed li.service --- assets/li.service | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 assets/li.service diff --git a/assets/li.service b/assets/li.service deleted file mode 100644 index a492690..0000000 --- a/assets/li.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=TUI display manager -After=systemd-user-sessions.service plymouth-quit-wait.service -After=getty@tty3.service -Conflicts=getty@tty3.service - -[Service] -Type=idle -ExecStart=/home/deadvey/media/Code/git/lidm/lidm -StandardError=journal -StandardInput=tty -TTYPath=/dev/tty3 -TTYReset=yes -TTYVHangup=yes - -[Install] -Alias=display-manager.service \ No newline at end of file From 7529b0365fe1d523fb87fdcad7af4f2d27231c8e Mon Sep 17 00:00:00 2001 From: DeaDvey <104674266+DeaDvey@users.noreply.github.com> Date: Tue, 30 Jul 2024 20:38:32 +0100 Subject: [PATCH 5/8] Update README.md Added link to what a display manager is --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ca162da..4a0475c 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Latest Release](https://badgen.net/github/release/javalsai/lidm)](https://github.com/javalsai/lidm/releases) # LiDM -LiDM is a really light display manager made in C, highly customizable and held together by hopes and prayers 🙏. +LiDM is a really light ![display manager](https://en.wikipedia.org/wiki/Login_manager) made in C, highly customizable and held together by hopes and prayers 🙏. ![demo gif](assets/media/lidm.gif) > *shown as in a featured terminal emulator, actual linux console doesn't support as much color and decorations* From 6ea79edaf44c98332ad5dedd8276df68c70375d0 Mon Sep 17 00:00:00 2001 From: DeaDvey <104674266+DeaDvey@users.noreply.github.com> Date: Tue, 30 Jul 2024 20:39:25 +0100 Subject: [PATCH 6/8] Update README.md Fuck markdown --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a0475c..f623256 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Latest Release](https://badgen.net/github/release/javalsai/lidm)](https://github.com/javalsai/lidm/releases) # LiDM -LiDM is a really light ![display manager](https://en.wikipedia.org/wiki/Login_manager) made in C, highly customizable and held together by hopes and prayers 🙏. +LiDM is a really light [display manager](https://en.wikipedia.org/wiki/Login_manager) made in C, highly customizable and held together by hopes and prayers 🙏. ![demo gif](assets/media/lidm.gif) > *shown as in a featured terminal emulator, actual linux console doesn't support as much color and decorations* From cbe73ad4ff17eef49918136678340606de2a50a7 Mon Sep 17 00:00:00 2001 From: DeaDvey <104674266+DeaDvey@users.noreply.github.com> Date: Tue, 6 Aug 2024 21:33:56 +0000 Subject: [PATCH 7/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f623256..51f3f8b 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Latest Release](https://badgen.net/github/release/javalsai/lidm)](https://github.com/javalsai/lidm/releases) # LiDM -LiDM is a really light [display manager](https://en.wikipedia.org/wiki/Login_manager) made in C, highly customizable and held together by hopes and prayers 🙏. +LiDM is a really light UI portion a [login manager](https://en.wikipedia.org/wiki/Login_manager) like a TUI [X Display Manager](https://en.wikipedia.org/wiki/X_display_manager) made in C, highly customizable and held together by hopes and prayers 🙏. ![demo gif](assets/media/lidm.gif) > *shown as in a featured terminal emulator, actual linux console doesn't support as much color and decorations* From df283109d7e247fb08f8b77d2789bcc4a9d3da2a Mon Sep 17 00:00:00 2001 From: DeaDvey <104674266+DeaDvey@users.noreply.github.com> Date: Tue, 6 Aug 2024 21:34:18 +0000 Subject: [PATCH 8/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 51f3f8b..9ce39ca 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Latest Release](https://badgen.net/github/release/javalsai/lidm)](https://github.com/javalsai/lidm/releases) # LiDM -LiDM is a really light UI portion a [login manager](https://en.wikipedia.org/wiki/Login_manager) like a TUI [X Display Manager](https://en.wikipedia.org/wiki/X_display_manager) made in C, highly customizable and held together by hopes and prayers 🙏. +LiDM is a really light UI portion a [login manager](https://en.wikipedia.org/wiki/Login_manager), a non graphical [X Display Manager](https://en.wikipedia.org/wiki/X_display_manager) made in C, highly customizable and held together by hopes and prayers 🙏. ![demo gif](assets/media/lidm.gif) > *shown as in a featured terminal emulator, actual linux console doesn't support as much color and decorations*