Compare commits
6 Commits
9c787b0e72
...
knls
| Author | SHA1 | Date | |
|---|---|---|---|
|
416542a0ad
|
|||
|
c9df603a8a
|
|||
|
e1141617c2
|
|||
|
271120d45c
|
|||
|
94797f4a94
|
|||
|
49d38e2210
|
+2
-1
@@ -1,7 +1,8 @@
|
||||
FROM docker.io/fedora:44 as BUILDER
|
||||
|
||||
RUN dnf install --assumeyes --setopt install_weak_deps=False \
|
||||
gcc make just
|
||||
gcc make just \
|
||||
libinput-devel
|
||||
|
||||
FROM BUILDER as PACKER
|
||||
|
||||
|
||||
@@ -1,2 +1,8 @@
|
||||
image TARGET='PACKER':
|
||||
podman build --target {{ TARGET }} -t {{ lowercase(TARGET) }} .
|
||||
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
@@ -10,23 +10,19 @@
|
||||
SwipeDLUR, SwipeURDL, SwipeDRUL, SwipeULDR
|
||||
*/
|
||||
|
||||
unsigned int distancethreshold = 300;
|
||||
unsigned int degreesleniency = 15;
|
||||
unsigned int distancethreshold = 20;
|
||||
unsigned int degreesleniency = 35;
|
||||
unsigned int timeoutms = 800;
|
||||
unsigned int orientation = 0;
|
||||
unsigned int orientation = 2;
|
||||
unsigned int verbose = 0;
|
||||
char *device = "/dev/input/event1";
|
||||
|
||||
Gesture gestures[] = {
|
||||
/* nfingers gesturetype command */
|
||||
{ 1, SwipeLR, "xdotool key --clearmodifiers Alt+Shift+e" },
|
||||
{ 1, SwipeRL, "xdotool key --clearmodifiers Alt+Shift+r" },
|
||||
{ 1, SwipeDLUR, "sxmo_vol.sh up" },
|
||||
{ 1, SwipeURDL, "sxmo_vol.sh down" },
|
||||
{ 1, SwipeDRUL, "sxmo_brightness.sh up" },
|
||||
{ 1, SwipeULDR, "sxmo_brightness.sh down" },
|
||||
{ 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" },
|
||||
{ 3, SwipeRL, "wtype -k right" },
|
||||
{ 3, SwipeLR, "wtype -k left" },
|
||||
{ 4, SwipeLR, "swaymsg workspace prev_on_output" },
|
||||
{ 4, SwipeRL, "swaymsg workspace next_on_output" },
|
||||
{ 5, SwipeLR, "wayscriber --daemon-toggle" },
|
||||
{ 5, SwipeRL, "wayscriber --daemon-toggle" },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user