From ab3a683a0500bbbe4f848b961070b0707bc338ec Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Tue, 22 Dec 2020 12:16:06 +0100 Subject: [PATCH] Add WIP desktop settings files --- res/99-tuxedo-touchpad-switch.rules | 1 + res/tuxedo-touchpad-switch.desktop | 4 ++++ res/tuxedo-touchpad-switch.service | 10 ++++++++++ 3 files changed, 15 insertions(+) create mode 100644 res/99-tuxedo-touchpad-switch.rules create mode 100644 res/tuxedo-touchpad-switch.desktop create mode 100644 res/tuxedo-touchpad-switch.service diff --git a/res/99-tuxedo-touchpad-switch.rules b/res/99-tuxedo-touchpad-switch.rules new file mode 100644 index 0000000..a19884c --- /dev/null +++ b/res/99-tuxedo-touchpad-switch.rules @@ -0,0 +1 @@ +KERNELS=="i2c-UNIW0001:00", SUBSYSTEMS=="i2c", DRIVERS=="i2c_hid", ATTRS{name}=="UNIW0001:00", SUBSYSTEM=="hidraw", MODE="0666" diff --git a/res/tuxedo-touchpad-switch.desktop b/res/tuxedo-touchpad-switch.desktop new file mode 100644 index 0000000..126a1d1 --- /dev/null +++ b/res/tuxedo-touchpad-switch.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Name=TUXEDO Touchpad Switch +Exec=tuxedo-touchpad-switch +Type=Application diff --git a/res/tuxedo-touchpad-switch.service b/res/tuxedo-touchpad-switch.service new file mode 100644 index 0000000..6143658 --- /dev/null +++ b/res/tuxedo-touchpad-switch.service @@ -0,0 +1,10 @@ +[Unit] +Description=TUXEDO Touchpad Switch +After=gdm.service + +[Service] +User=gdm +ExecStart=/usr/bin/tuxedo-touchpad-switch + +[Install] +WantedBy=gdm.service