Compare commits

..

5 Commits

Author SHA1 Message Date
dependabot[bot] 141b84fb42 chore(deps): bump actions/checkout from 4 to 6 in /.github/workflows
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-30 01:04:56 +00:00
Gabriel fc90ba96bb docs(fix): typo on 'agnostic' in README.md (#124) 2026-03-09 00:27:01 +01:00
javalsai 15b8089e37 version bump: v2.0.2 2026-02-25 22:59:02 +01:00
grialion dd6760127c fix: launch state off by one bug (#116)
Previously it couldn't find the currect user/session because the last
newline character was present in the field
2026-02-08 17:39:09 +01:00
github-actions[bot] 8e9a222908 Update NixOS module to v2.0.1 (#115)
Co-authored-by: GitHub Actions <actions@github.com>
2026-02-07 18:46:44 +01:00
9 changed files with 24 additions and 20 deletions
+6 -6
View File
@@ -13,7 +13,7 @@ jobs:
with:
packages: "git libpam0g-dev"
version: 1.0
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- id: build
run: ARCH=amd64 assets/github_scripts/build.sh
@@ -33,7 +33,7 @@ jobs:
with:
packages: "git libpam0g-dev gcc-multilib"
version: 1.0
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- run: |
sudo dpkg --add-architecture i386
sudo apt-get update -y
@@ -57,7 +57,7 @@ jobs:
with:
packages: "git"
version: 1.0
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
@@ -85,7 +85,7 @@ jobs:
with:
packages: "git"
version: 1.0
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: uraimo/run-on-arch-action@v2
with:
arch: armv7
@@ -113,7 +113,7 @@ jobs:
with:
packages: "git"
version: 1.0
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: uraimo/run-on-arch-action@v2
with:
arch: riscv64
@@ -138,7 +138,7 @@ jobs:
runs-on: ubuntu-24.04
permissions: write-all
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Run in Musl Container
uses: addnab/docker-run-action@v3
+3 -3
View File
@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: "codespell"
@@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: "shellcheck"
@@ -35,7 +35,7 @@ jobs:
image: ubuntu:25.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- run: apt -y update && apt install -y clang-format clang-tidy make gcc git bear libpam0g-dev
- run: bear -- make
+2 -2
View File
@@ -15,7 +15,7 @@ jobs:
with:
packages: "git"
version: 1.0
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-tags: true
@@ -72,7 +72,7 @@ jobs:
needs: [ release-checks, release ]
steps:
- uses: cachix/install-nix-action@v31
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-tags: true
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
outputs:
code_changed: ${{ steps.filter.outputs.code }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- id: filter
uses: dorny/paths-filter@v3
with:
+4
View File
@@ -4,6 +4,10 @@
<!-- By "very relevant" I mean big features or something manual packagers should know, like leftover files -->
<!-- Once a release would be opened, group the last bunch of dangling changes, add release version as header and its date -->
# 2.0.2
- fix off-by-one error with launch state save
# 2.0.1
- source and header files can be nested in `src/` and `include/`
+1 -1
View File
@@ -1,4 +1,4 @@
VERSION := 2.0.1
VERSION := 2.0.2
.DEFAULT_GOAL := lidm
CDIR = src
+1 -1
View File
@@ -34,7 +34,7 @@ But [according to farouk](https://github.com/javalsai/lidm/issues/91#issuecommen
- Simple as C, meant to depend only on standard libc and basic unix system headers.
- Fully customizable: ALL strings, colors (with its ANSI keys) and most behavior.
- Experimental Xorg support[\*](https://github.com/javalsai/lidm/pull/80?#issuecomment-3764073217) and wayland sessions, while supporting the default user shell (if enabled in config)
- Init agnostinc (systemd, dinit, runit, openrc and s6).
- Init agnostic (systemd, dinit, runit, openrc and s6).
- Supports [fido yubikeys](./docs/yubikey.md) (via pam_u2f).
# Table of Contents
+2 -2
View File
@@ -11,7 +11,7 @@ let
dmcfg = config.services.displayManager;
desktops = dmcfg.sessionData.desktops;
version = "2.0.0";
version = "2.0.1";
lidmPkg = pkgs.callPackage ./lidm.nix {
inherit pkgs;
config = {
@@ -21,7 +21,7 @@ let
owner = "javalsai";
repo = "lidm";
rev = "v${version}";
sha256 = "sha256-dI1OGndbT6wFAhuGmsPZPqLFvtPREfO/3HqhmlSMpN4=";
sha256 = "sha256-bpUqhD1JSiYRf7w7ylEMXHMvEpnSri1zZSxRQPdZWB4=";
};
xsessions = "${desktops}/share/xsessions";
+4 -4
View File
@@ -22,16 +22,16 @@ int read_launch_state(struct LaunchState* NNULLABLE state) {
size_t num = 0;
ssize_t chars = getline(&state->username, &num, state_fd);
if (chars < 0) goto fail;
if (state->username[chars] == '\n') state->username[chars] = 0;
if (chars <= 0) goto fail;
if (state->username[chars - 1] == '\n') state->username[chars - 1] = 0;
num = 0;
chars = getline(&state->session_opt, &num, state_fd);
if (chars < 0) {
if (chars <= 0) {
free(state->session_opt);
goto fail;
}
if (state->session_opt[chars] == '\n') state->session_opt[chars] = 0;
if (state->session_opt[chars - 1] == '\n') state->session_opt[chars - 1] = 0;
(void)fclose(state_fd);
return 0;