This commit is contained in:
2023-10-12 23:06:37 +02:00
commit d0840d7f2e
556 changed files with 14051 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
---
name: Bugs
about: Bugs and unintended behavior
---
**Please read the [wiki](https://github.com/lcpz/lain/wiki) and browse the [Issues section](https://github.com/lcpz/lain/issues) first.**
If you can't find a solution, then please provide:
* output of `awesome -v` and `lua -v`
* expected behavior and actual behavior
* steps to reproduce the problem
* X error log
### How to provide X error log
There are two ways:
* (Physically) Restart X like this:
```shell
startx -- -keeptty -nolisten tcp > $HOME/.xorg.log 2>&1
```
the error log will be output into `$HOME/.xorg.log`.
* (Virtually) Use [Xephyr](https://wikipedia.org/wiki/Xephyr):
```shell
# set screen size as you like
Xephyr :1 -screen 1280x800 2> stdout.txt & DISPLAY=:1 awesome
```
the error log will be output in the file `stdout.txt`.
Before reporting, read the log and see if you can solve it yourself.

36
lain/.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: Lain
on: [push]
permissions:
contents: read
jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Luacheck linter
uses: lunarmodules/luacheck@v0
rockspec:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: leafo/gh-actions-lua@v9
- uses: leafo/gh-actions-luarocks@v4
- name: Update Rockspec
shell: bash
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
run: |
if [[ $(git diff *.rockspec | grep "+version") ]]
then
echo "Rockspec changed, uploading to LuaRocks.org"
luarocks upload *.rockspec --api-key "$LUAROCKS_API_KEY"
else
echo "Rockspec unchanged, nothing to do"
fi