8 Commits

Author SHA1 Message Date
kevinnlsamuel 416542a0ad kinda like these settings 2026-06-14 22:37:06 +05:30
kevinnlsamuel c9df603a8a install requirements 2026-06-14 22:18:44 +05:30
kevinnlsamuel e1141617c2 even more scaff 2026-06-14 22:00:53 +05:30
kevinnlsamuel 271120d45c actually use the image
that was so silly
2026-06-14 21:57:28 +05:30
kevinnlsamuel 94797f4a94 more scaffolding 2026-06-14 21:56:12 +05:30
kevinnlsamuel 49d38e2210 test configuration 2026-06-14 21:53:32 +05:30
kevinnlsamuel 9c787b0e72 scaffolding pt.2 2026-06-14 21:51:33 +05:30
kevinnlsamuel b8a1412738 🤷 2026-06-11 23:11:50 +05:30
3 changed files with 30 additions and 13 deletions
+13
View File
@@ -0,0 +1,13 @@
FROM docker.io/fedora:44 as BUILDER
RUN dnf install --assumeyes --setopt install_weak_deps=False \
gcc make just \
libinput-devel
FROM BUILDER as PACKER
RUN dnf install \
--assumeyes \
--setopt install_weak_deps=False \
rpmdevtools
+8
View File
@@ -0,0 +1,8 @@
image TARGET='PACKER':
podman build --target {{ TARGET }} -t lisgd:{{ lowercase(TARGET) }} .
build: (image 'BUILDER')
podman run --interactive --tty --rm --name lisgd-builder \
--volume ./:/work:z --workdir /work \
lisgd:builder \
make lisgd
+9 -13
View File
@@ -10,23 +10,19 @@
SwipeDLUR, SwipeURDL, SwipeDRUL, SwipeULDR SwipeDLUR, SwipeURDL, SwipeDRUL, SwipeULDR
*/ */
unsigned int distancethreshold = 300; unsigned int distancethreshold = 20;
unsigned int degreesleniency = 15; unsigned int degreesleniency = 35;
unsigned int timeoutms = 800; unsigned int timeoutms = 800;
unsigned int orientation = 0; unsigned int orientation = 2;
unsigned int verbose = 0; unsigned int verbose = 0;
char *device = "/dev/input/event1"; char *device = "/dev/input/event1";
Gesture gestures[] = { Gesture gestures[] = {
/* nfingers gesturetype command */ /* nfingers gesturetype command */
{ 1, SwipeLR, "xdotool key --clearmodifiers Alt+Shift+e" }, { 3, SwipeRL, "wtype -k right" },
{ 1, SwipeRL, "xdotool key --clearmodifiers Alt+Shift+r" }, { 3, SwipeLR, "wtype -k left" },
{ 1, SwipeDLUR, "sxmo_vol.sh up" }, { 4, SwipeLR, "swaymsg workspace prev_on_output" },
{ 1, SwipeURDL, "sxmo_vol.sh down" }, { 4, SwipeRL, "swaymsg workspace next_on_output" },
{ 1, SwipeDRUL, "sxmo_brightness.sh up" }, { 5, SwipeLR, "wayscriber --daemon-toggle" },
{ 1, SwipeULDR, "sxmo_brightness.sh down" }, { 5, SwipeRL, "wayscriber --daemon-toggle" },
{ 2, SwipeLR, "xdotool key --clearmodifiers Alt+e" },
{ 2, SwipeRL, "xdotool key --clearmodifiers Alt+r" },
{ 2, SwipeDU, "pidof svkbd-sxmo || svkbd-sxmo &" },
{ 2, SwipeUD, "pkill -9 svkbd-sxmo" },
}; };