This commit is contained in:
kento2 2025-11-19 19:26:16 +01:00
parent c155a75c06
commit c6e6767f0a
4 changed files with 6 additions and 10 deletions

View file

@ -8,6 +8,7 @@ TODO
* cgo config to always use plumber
* automatic backups with borg + script
* cupload <<< file
* user dirs cleanup
* platinum9/nineicons for icons
requirements
@ -48,7 +49,8 @@ autologin voidlinux tty1 to x11
you can do this if u want:
cp /etc/sv
cp agetty-tty1 agetty1-autologin-tty1
cp -r agetty-tty1 agetty-autologin-tty1
(naming is important)
in the conf file:
GETTY_ARGS="--autologin <username> --noclear"
@ -57,13 +59,6 @@ in the conf file:
now enable the service and disable the agetty-tty1 service.
for autostarting startx, we use ~/.profile
if shopt -q login_shell && test "$(tty)" = '/dev/tty1'
then
exec startx
fi
this makes .profile run startx on tty1 after login.
no beep
-------

Binary file not shown.

2
files/.local/bin/luakit Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
LIBGL_ALWAYS_SOFTWARE=1 /usr/bin/luakit $@

View file

@ -1,7 +1,6 @@
. /etc/profile
export ENV="$HOME/.shrc"
export PATH="$HOME/.local/bin/":"$PATH"
export LIBGL_ALWAYS_SOFTWARE=1
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/:/usr/lib/pkgconfig
export XKB_DEFAULT_LAYOUT=de
@ -9,8 +8,8 @@ exists() {
which "$1" >/dev/null 2>&1
}
shopt -q login_shell && \
exists swc-launch && \
exists velox && \
shopt -q login_shell && \
test "$(tty)" = '/dev/tty1' && \
exec swc-launch velox