mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-03 14:25:03 +02:00
Update README.md
Capitalised first letter in ()
This commit is contained in:
parent
589fa928fc
commit
2891bf855a
30
README.md
30
README.md
@ -2,24 +2,24 @@
|
|||||||
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 made in C, highly customizable and held together by hopes and prayers 🙏.
|
||||||
|
|
||||||

|

|
||||||
> *this is shown as in a terminal emulator, actual linux console doesn't support as much color and decorations.*
|
> *This is shown as in a terminal emulator, actual linux console doesn't support as much color and decorations.*
|
||||||
|
|
||||||
> *but all colors and strings are fully customizable.*
|
> *But all colors and strings are fully customizable.*
|
||||||
|
|
||||||
> *I'm open if anybody wants to contact me to record a proper demo of the program, my laptop can't handle it and idk how to config obs for hyprland (ended up doing it, spent 40min processing a 2min video just to give 1fps.*
|
> *I'm open if anybody wants to contact me to record a proper demo of the program, my laptop can't handle it and idk how to config obs for hyprland (Ended up doing it, spent 40min processing a 2min video just to give 1fps).*
|
||||||
|
|
||||||
# Index
|
# Index
|
||||||
(TODO, VSC(odium) does this automatically, I'm on nvim rn 😎).
|
(TODO, VSC(odium) does this automatically, I'm on nvim rn 😎).
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
* Builds fast AF.
|
* Builds fast af.
|
||||||
* Works everywhere you can get gcc to compile.
|
* Works everywhere you can get gcc to compile.
|
||||||
* Fast and possibly efficient.
|
* Fast and possibly efficient.
|
||||||
* Fully customizable, from strings, through action keys, to colors (I hope you know ansi escape codes)
|
* Fully customizable, from strings, through action keys, to colors (I hope you know ansi escape codes)
|
||||||
* Automatically detects xorg and wayland sessions, plus allowing to launch the default user shell (if enabled in config)
|
* Automatically detects xorg and wayland sessions, plus allowing to launch the default user shell (If enabled in config)
|
||||||
|
|
||||||
## WIP
|
## WIP
|
||||||
* desktop's file `TryExec` key.
|
* Desktop's file `TryExec` key.
|
||||||
* Save last selection.
|
* Save last selection.
|
||||||
* Show/hide passwd switch.
|
* Show/hide passwd switch.
|
||||||
* Long sessions, strings, usernames, passwords... they will just overflow or fuck your terminal, I know it and I don't know if I'll fix it.
|
* Long sessions, strings, usernames, passwords... they will just overflow or fuck your terminal, I know it and I don't know if I'll fix it.
|
||||||
@ -29,7 +29,7 @@ LiDM is a really light display manager made in C, highly customizable and held t
|
|||||||
* UTF characters, I'm using `strlen()` and treating characters as per byte basis, UTF-8 chars might work or not actually, might fix it by replacing some `strlen()` with a utflen one.
|
* UTF characters, I'm using `strlen()` and treating characters as per byte basis, UTF-8 chars might work or not actually, might fix it by replacing some `strlen()` with a utflen one.
|
||||||
|
|
||||||
> [!CAUTION]
|
> [!CAUTION]
|
||||||
> (they should add `> [!DISCLAIMER]` fr) I wrote this readme with the same quality as the code, behing this keyboard there's half a brainrotcell left writing what it remembers of this program, so don't take this to seriously, I'm typing as I think without filter lol, but the program works, or should. Also, about any "TODO" in this readme (or the code), I didn't forget finishing it, I actually don't care. And, references to ~~code~~ **anything** are likely to be outdated, check the commit history to know what I was refering to exactly if you care.
|
> (They should add `> [!DISCLAIMER]` fr) I wrote this readme with the same quality as the code, behing this keyboard there's half a brainrotcell left writing what it remembers of this program, so don't take this to seriously, I'm typing as I think without filter lol, but the program works, or should. Also, about any "TODO" in this readme (Or the code), I didn't forget finishing it, I actually don't care. And, references to ~~code~~ **anything** are likely to be outdated, check the commit history to know what I was refering to exactly if you care.
|
||||||
|
|
||||||
# Ideology
|
# Ideology
|
||||||
We all know that the most important thing in a project is the ideology of the author and the movements he wants to support, so [**#stopchatcontrol**](https://stopchatcontrol.eu).
|
We all know that the most important thing in a project is the ideology of the author and the movements he wants to support, so [**#stopchatcontrol**](https://stopchatcontrol.eu).
|
||||||
@ -40,9 +40,9 @@ We all know that the most important thing in a project is the ideology of the au
|
|||||||
# Backstory
|
# Backstory
|
||||||
I travelling in the summer to visit family with an old laptop that barely supports x86_64, and ly recently added some avx2 instructions I think (I just get invalid op codes), manually building (any previous commit too) didn't work because of something in the `build.zig` file, so out of boredom I decided to craft up my own simple display manager on the only language this thing can handle, ✨C✨ (I hate this and reserve the right for the rust rewrite, actually solid).
|
I travelling in the summer to visit family with an old laptop that barely supports x86_64, and ly recently added some avx2 instructions I think (I just get invalid op codes), manually building (any previous commit too) didn't work because of something in the `build.zig` file, so out of boredom I decided to craft up my own simple display manager on the only language this thing can handle, ✨C✨ (I hate this and reserve the right for the rust rewrite, actually solid).
|
||||||
|
|
||||||
I spedrun it, basically did in in 3 days on the same couch on [unhelty back positions (even worse)](https://i.redd.it/4bkje8amisu61.png) while touching *some* grass (:o), and I'm bad af in C, so this is spaghetti code on **another** level. I think it doesn't do almost anything unsafe, I mean, I didn't check allocations and it's capable of reallocating memory until your username uses all memory and crashes the system due to a off by 1 error, but pretty consistent otherwise (probably).
|
I spedrun it, basically did in in 3 days on the same couch on [unhelty back positions (even worse)](https://i.redd.it/4bkje8amisu61.png) while touching *some* grass (:o), and I'm bad af in C, so this is spaghetti code on **another** level. I think it doesn't do almost anything unsafe, I mean, I didn't check allocations and it's capable of reallocating memory until your username uses all memory and crashes the system due to a off by 1 error, but pretty consistent otherwise (Probably).
|
||||||
|
|
||||||
The name is just ly but changing "y" with "i", that had a reason but forgot it, (maybe the i in *simple*), so I remembered this sh*tty laptop with a lid, this thing is also a display manager (dm, ly command is also `ly-dm`), so just did lidm due to all that.
|
The name is just ly but changing "y" with "i", that had a reason but forgot it, (maybe the i in *simple*), so I remembered this sh*tty laptop with a lid, this thing is also a display manager (Dm, ly command is also `ly-dm`), so just did lidm due to all that.
|
||||||
|
|
||||||
 <!--gif's likely broken-->
|
 <!--gif's likely broken-->
|
||||||
|
|
||||||
@ -50,17 +50,17 @@ FYI, this laptop is so bad that I can't even render markdown in reasonable time,
|
|||||||
|
|
||||||
# Requirements
|
# Requirements
|
||||||
* A computer with unix based system.
|
* A computer with unix based system.
|
||||||
* That system should have the resources neccessary for this program to make sense (sessions, users...).
|
* That system should have the resources neccessary for this program to make sense (Sessions, users...).
|
||||||
* A compiler (optional, you can compile by hand, but I doubt you want to see the code).
|
* A compiler (optional, you can compile by hand, but I doubt you want to see the code).
|
||||||
* Make (also optional, but does things atomatically, make sure `gcc` and `mkdir -p` work as expected).
|
* Make (Also optional, but does things atomatically, make sure `gcc` and `mkdir -p` work as expected).
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
On top of pure intuition:
|
On top of pure intuition:
|
||||||
* you can change focus of session/user/passwd with up/down arrows.
|
* You can change focus of session/user/passwd with up/down arrows.
|
||||||
* in case arrow keys do nothing on the focused input (either is empty text or doesn't have more options), it tries to change session and if there's only one session it changes user.
|
* In case arrow keys do nothing on the focused input (Either is empty text or doesn't have more options), it tries to change session and if there's only one session it changes user.
|
||||||
* typing anything will allow to put a custom user or shell command too, you can use arrow keys to move.
|
* Typing anything will allow to put a custom user or shell command too, you can use arrow keys to move.
|
||||||
* ESC and then left/right arrows will force to change the option of the focused input, useful if you're editing the current input and arrow keys just move.
|
* ESC and then left/right arrows will force to change the option of the focused input, useful if you're editing the current input and arrow keys just move.
|
||||||
* editing a predefined option on a user or a shell session, will put you in edit mode preserving the original value, other cases start from scratch.
|
* Editing a predefined option on a user or a shell session, will put you in edit mode preserving the original value, other cases start from scratch.
|
||||||
|
|
||||||
# Building from source
|
# Building from source
|
||||||
```sh
|
```sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user