From a7f970740e5dc94dc775d20347f086780c4adff0 Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Mon, 17 Aug 2026 09:50:08 +0200 Subject: [PATCH] idk --- TODO | 6 +++--- conf/99-touchscreen.rules | 1 + pkglist/50-desktop | 1 + setup_config.sh | 3 +++ 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 conf/99-touchscreen.rules diff --git a/TODO b/TODO index 7eddfdf..5ed17a9 100644 --- a/TODO +++ b/TODO @@ -13,9 +13,9 @@ [ ] gestures (look at sxmo) [x] make the console font change permanent [ ] setup sway config - [ ] sleep + [x] sleep [ ] permanent clipboard - [ ] pipewire + [x] pipewire [ ] waybar - [ ] screen locking and idle + [x] screen locking and idle [x] setup greetd with autologin diff --git a/conf/99-touchscreen.rules b/conf/99-touchscreen.rules new file mode 100644 index 0000000..d170dd6 --- /dev/null +++ b/conf/99-touchscreen.rules @@ -0,0 +1 @@ +SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="Sharp Corp. 07EA0004", SYMLINK+="input/touchscreen" diff --git a/pkglist/50-desktop b/pkglist/50-desktop index 0ad2382..7a22128 100644 --- a/pkglist/50-desktop +++ b/pkglist/50-desktop @@ -24,3 +24,4 @@ adwaita-icon-theme adwaita-qt breeze-icons ffmpegthumbnailer +wev diff --git a/setup_config.sh b/setup_config.sh index ee5c844..efcdbc3 100644 --- a/setup_config.sh +++ b/setup_config.sh @@ -8,6 +8,9 @@ install -m 755 bin/start-sway.sh /usr/local/bin/start-sway # install doas rule to allow wheel users to use zzz install -m 644 conf/doas-zzz.conf /etc/doas.d/zzz.conf +# install udev rules to link touchscreen to /dev/input/touchscreen +install -m 644 conf/99-touchscreen.rules /etc/udev/rules.d/99-touchscreen.rules + # Install greetd config mkdir -p /etc/greetd sed "s/DEF_USER/$user/" conf/greetd/config.toml > /etc/greetd/config.toml