Commit Graph

82 Commits

Author SHA1 Message Date
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
javalsai 0b2d0bdf03 fixes: improve login environment handling (#114)
* chore(organization): allow nested header and c files

* feat: add shell login "middleware" & etc:
  * lidm now calls `bash` (or other shells, depends on PACKAGE cfg) in
  login mode as a session wrapper to source most env (can be disabled)
  * this fixes a lot of env problems with all `/etc/profile` and more

Extra:
* implemented a musl compatible version of `execvpe` and now lidm should
  search for PATH everywhere it needs to
* `search_path` now also checks if the found binary is properly
  executable
* lidm now uses `confstr` for a decent PATH default if none is found
* logs are unbuffered for cases where debug logs appear empty (exit
  without handlers moment)

* chore: one-time evaluate certain makefile vars

---------

Co-authored-by: grialion <48643945+grialion@users.noreply.github.com>
2026-02-07 17:12:03 +01:00
javalsai c009c6c31c remove: all aur stuff (#113)
there are more contributors now and given the rare releases its much better to manually prepare a release than to automate it

also, the packages now could be updated by any maintainer so not worth it to keep it centralized

and now releases are much less dependant on the scripts, so its not such a hassle
2026-02-07 15:23:30 +01:00
javalsai 6de3996cf0 git-lfs,media: add lfs for media files and new catpuccin imgs (#111) 2026-02-06 14:57:42 +01:00
github-actions[bot] bdad1fa3f8 Update NixOS module to v2.0.0 (#103)
Co-authored-by: GitHub Actions <actions@github.com>
2026-02-05 01:19:14 +01:00
javalsai 978aaad199 chore: misc (#100) (this makes 2.0.0)
Co-authored-by: grialion <48643945+grialion@users.noreply.github.com>

- Fix license ambiguity (#88)
  - just the only/or-later ambiguity point, not adding SPDX identifyiers unless more people request it
- Better document kmscon (#91)
- Make 2.0.0 already to close #86
- Add a changelog
- Add packagers info (acutally just add them to install guide)
- Add AUR service packages (I'll take care of systemd and dinit, let others package the rest and leave systemd open for someone who actually uses it in docs)
- Make sure all makefile installs to `/usr/local` by default
- Simplify Makefile complexity by several orders
2026-01-20 23:33:28 +01:00
Martin Bogdanov 728611aa19 fix: systemd service install recipe & systemd service restart (#96) 2026-01-16 16:18:13 +01:00
Martin Bogdanov 4eca2b056f docs,makefile: put conventional systemd service path (#94)
`/etc/systemd` -> `/usr/local/lib/systemd`
2026-01-15 23:52:46 +01:00
creations a7a1f42f0a feat: add support for fido yubikeys (#89)
* add support for fido keybind

* add to themes

* fix clang format

* Update ui.c

* docs: add misc stuff about the yubikey

---------

Co-authored-by: javalsai <jvssxxi@gmail.com>
2025-12-13 21:37:58 +01:00
javalsai 5761838112 redo of #69 (#75)
* fix(pkg,aur): sources now are version unique

* build: allow to override git-rev and timestamp build info

* chore: organize and parallelize some checks

* chore: make standard PKGBUIDLs

* pkg(aur): `-bin` only has to depend on the `.so` file

* pkg(feat,aur): multiarch `-bin` pkg

* ci(void): update xbps first, add warning

* pkg(aur): bump pkgrels

* pkg(aur): pkgrel again AND `.SRCINFO` finally

---------

Co-authored-by: grialion <48643945+grialion@users.noreply.github.com>
2025-08-23 00:43:33 +02:00
github-actions[bot] 98b898fc08 Update AUR pkgs to v1.2.3 (#67)
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: javalsai <javalsai@proton.me>
2025-07-20 22:03:51 +02:00
github-actions[bot] 6b4b64d3fc Update NixOS module to v1.2.3 (#66)
Co-authored-by: GitHub Actions <actions@github.com>
2025-07-20 22:01:56 +02:00
javalsai 8f0213db74 misc batch of fixes before v1.2.3 (#65)
* fix some formatter and linter issues
* make clang-tidy/clang-format fail with error status and output in github error format
* docs, add kmscon thing
* and some CI stuff
2025-07-20 21:50:12 +02:00
javalsai 4a1b868b8e docs: linter & packagers guide & chores (#64)
add prettier, move most markdown into `docs/` and add a packagers guide

---

* lint(md): add prettier

* docs(packagers): add a guide

* docs(correctness): Index -> ToC

* docs: link to package maintainers guide

* docs: move install docs to `./docs`

* docs(fix): typo
2025-07-16 18:13:12 +02:00
javalsai ecf254bf7f manual-ci: update nix hash to v1.2.2 2025-07-09 20:12:59 +02:00
javalsai 3d993c6260 version: bump 1.2.1 -> 1.2.2 2025-07-09 19:54:12 +02:00
javalsai d85ebc0e78 feat(nix): add keys enum to global cfg 2025-07-07 03:23:14 +02:00
javalsai 4611ad87a8 fmt(nix): add nix fmt, fmt and update flake.lock 2025-07-07 02:38:04 +02:00
javalsai 9af69c2417 fix(nix module): typo
howtf did it work in my VM, oh nvm
2025-07-06 22:56:38 +02:00
javalsai 16901b14c8 feat: nixos module is configurable now 2025-07-06 22:53:09 +02:00
javalsai be6e039a9b feat: make a complete nix module 2025-07-06 05:06:54 +02:00
javalsai b580b6917b feat(nix): reorganize nix flake for modularity and flexibility 2025-07-06 01:24:43 +02:00
javalsai f67e30991a fix(Makedile): proper service install recipes
update docs too
2025-07-05 17:53:53 +02:00
GitHub Actions 69d48d32d6 Update AUR pkgs to v 2025-07-04 20:47:25 +00:00
javalsai 65bbb7d1b4 Merge branch 'master' into update_rate 2025-07-04 19:33:43 +02:00
javalsai f3ae85bb94 feat|fix: improve all ci behavior 2025-07-04 18:36:47 +02:00
javalsai 9c022c5813 feat(cfg): add ellipsis to config 2025-07-04 04:48:20 +02:00
javalsai ba836e5cd4 feat: add refresh_rate option for clock 2025-07-04 03:30:29 +02:00
GitHub Actions 4c955053e8 Update AUR pkgs to v1.1.1 2025-06-30 23:55:37 +00:00
GitHub Actions 4fa400eb06 Update AUR pkgs to v1.1.0 2025-06-29 17:01:11 +00:00
GitHub Actions 3d2e5c1a18 Update AUR pkgs to v1.0.0 2025-06-22 19:14:16 +00:00
javalsai 18fb1417f5 docs(man&md): update config manpages and md on service files 2025-06-22 01:05:27 +02:00
javalsai 24431383a2 chore: update themes 2025-06-21 04:29:56 +02:00
javalsai 2796078186 media: update theme screenshots and gif 2025-06-13 15:42:02 +02:00
javalsai 3480393a66 docs(man): add LIDM_LOG to manpages 2025-06-12 14:02:25 +02:00
javalsai 93f007691e fix(aur): package testing script 2025-06-06 20:27:01 +02:00
GitHub Actions abad515963 Update AUR pkgs to v0.2.2 2025-06-06 17:48:47 +00:00
javalsai 82e92df95c fix(aur): v0.2.1 checksums on the srcfile (again x2) 2025-06-06 17:05:14 +02:00
Basher52 d72643c030 Fixes the first two lines in the sha256sum 2025-05-27 21:35:05 +02:00
javalsai 620d861d8c fix(aur): lidm-bin@0.2.1 checksums 2025-03-22 18:27:15 +01:00
GitHub Actions eecfd7ac4c Update AUR pkgs to v0.2.1 2025-03-22 16:54:29 +00:00
Robin Candau 5d298ea6d8 Don't compress man page(s) in Makefile
Compressing man pages is a distribution / user preference that should be handled on the packaging side of things.

Indeed, compressing man pages by default imposes a compression algorithm / level whereas most package managers handle that already and eventually allow users to choose or customize them if wanted.

Additionally, it can lead to unexpected side effects. For instance, gzip is recording timestamps in metadata by default, which prevents [reproducible builds](https://reproducible-builds.org/):

```
==> ERROR: Package is not reproducible
--- lidm-0.2.0-1-any.pkg.tar.zst
+++ ./build/lidm-0.2.0-1-any.pkg.tar.zst
├── lidm-0.2.0-1-any.pkg.tar
│ ├── file list
│ │ @@ -1,9 +1,9 @@
│ │  -rw-r--r--   0 root         (0) root         (0)     5391 2025-03-10 12:01:53.000000 .BUILDINFO
│ │ --rw-r--r--   0 root         (0) root         (0)      488 2025-03-10 12:01:53.000000 .MTREE
│ │ +-rw-r--r--   0 root         (0) root         (0)      492 2025-03-10 12:01:53.000000 .MTREE
│ │  -rw-r--r--   0 root         (0) root         (0)      427 2025-03-10 12:01:53.000000 .PKGINFO
│ │  drwxr-xr-x   0 root         (0) root         (0)        0 2025-03-10 12:01:53.000000 etc/
│ │  -rw-r--r--   0 root         (0) root         (0)      930 2025-03-10 12:01:53.000000 etc/lidm.ini
│ │  drwxr-xr-x   0 root         (0) root         (0)        0 2025-03-10 12:01:53.000000 usr/
│ │  drwxr-xr-x   0 root         (0) root         (0)        0 2025-03-10 12:01:53.000000 usr/bin/
│ │  -rwxr-xr-x   0 root         (0) root         (0)    39656 2025-03-10 12:01:53.000000 usr/bin/lidm
│ │  drwxr-xr-x   0 root         (0) root         (0)        0 2025-03-10 12:01:53.000000 usr/share/
│ ├── .MTREE
│ │ ├── .MTREE-content
│ │ │ @@ -7,10 +7,10 @@
│ │ │  /set mode=755
│ │ │  ./usr time=1741608113.0 type=dir
│ │ │  ./usr/bin time=1741608113.0 type=dir
│ │ │  ./usr/bin/lidm time=1741608113.0 size=39656 sha256digest=1a27eef50f6caf35d408f7650c362dea788c7a00a2736f0ec4c94ecd38ae6c6f
│ │ │  ./usr/share time=1741608113.0 type=dir
│ │ │  ./usr/share/man time=1741608113.0 type=dir
│ │ │  ./usr/share/man/man1 time=1741608113.0 type=dir
│ │ │ -./usr/share/man/man1/lidm.1.gz time=1741608113.0 mode=644 size=615 sha256digest=7babc0d1e7d84c3ff18db5ea327313cdbe2ba1117c33d733622a916dfd9d8d0e
│ │ │ +./usr/share/man/man1/lidm.1.gz time=1741608113.0 mode=644 size=615 sha256digest=497e49b75ab0d2c3f3edb70967bf189724990c46df23492738254395ec835d8c
│ │ │  ./usr/share/man/man5 time=1741608113.0 type=dir
│ │ │ -./usr/share/man/man5/lidm-config.5.gz time=1741608113.0 mode=644 size=1374 sha256digest=d0b54c3117c417dfdc43a7629f26cf4c64235742f698a0498722a03a4d1c25c2
│ │ │ +./usr/share/man/man5/lidm-config.5.gz time=1741608113.0 mode=644 size=1374 sha256digest=4e16649cb31029b039a594ffa2f2d4d8a624917aaacc865836c5c2d2a92cd3e4
│ ├── usr/share/man/man1/lidm.1.gz
│ │ ├── filetype from file(1)
│ │ │ @@ -1 +1 @@
│ │ │ -gzip compressed data, was "lidm.1", last modified: Mon Mar 10 12:01:59 2025, from Unix
│ │ │ +gzip compressed data, was "lidm.1", last modified: Mon Mar 10 12:15:51 2025, from Unix
│ ├── usr/share/man/man5/lidm-config.5.gz
│ │ ├── filetype from file(1)
│ │ │ @@ -1 +1 @@
│ │ │ -gzip compressed data, was "lidm-config.5", last modified: Mon Mar 10 12:01:59 2025, from Unix
│ │ │ +gzip compressed data, was "lidm-config.5", last modified: Mon Mar 10 12:15:51 2025, from Unix
```

See https://cmpct.info/~sam/blog/posts/automatic-manpage-compression/ for detailed rational.
2025-03-10 13:16:07 +01:00
javalsai b003909c3e ci(aur pkgs): fix file checksums generation 2024-12-26 17:06:15 +01:00
javalsai 47b212019a package[aur]: update aur packages to v0.2.0 2024-12-26 16:47:37 +01:00
javalsai 9495bd5afe chore: write man pages 2024-12-25 19:28:31 +01:00
javalsai c586a48320 chore: remove make as it's part of base-devel 2024-10-13 13:54:56 +02:00
javalsai c4a996c1e8 ci: add AUR pkg updates PRs on release 2024-09-15 21:12:16 +02:00
javalsai 9f32ce274b update: bump pkgbuild versions up
also added scripts to automate this better
2024-09-15 21:11:57 +02:00
javalsai a223b47777 docs: use bigger theme images (and gif) 2024-09-07 00:04:32 +02:00
javalsai e746d6351e feat: update pkgbuilds
hmm, manpages and not much more
untested changes, needs a release
2024-09-06 22:39:12 +02:00