use ydotool systemd user service (#382)

This commit is contained in:
end-4
2024-04-09 13:13:01 +07:00
parent 312eb75c51
commit 06ccd0acb5
3 changed files with 3 additions and 4 deletions
@@ -11,7 +11,6 @@ import { setupCursorHoverGrab } from '../.widgetutils/cursorhover.js';
const keyboardLayout = oskLayouts[userOptions.onScreenKeyboard.layout] ? userOptions.onScreenKeyboard.layout : DEFAULT_OSK_LAYOUT;
const keyboardJson = oskLayouts[keyboardLayout];
execAsync(`ydotoold`).catch(print); // Start ydotool daemon
function releaseAllKeys() {
const keycodes = Array.from(Array(249).keys());
+2 -1
View File
@@ -38,7 +38,7 @@ esac
set -e
#####################################################################################
printf "\e[36m[$0]: 1. Get packages and add user to video/input groups\n\e[0m"
printf "\e[36m[$0]: 1. Get packages and setup user groups/services\n\e[0m"
# Issue #363
case $SKIP_SYSUPDATE in
@@ -123,6 +123,7 @@ case $SKIP_PLASMAINTG in
esac
v sudo usermod -aG video,input "$(whoami)"
v systemctl --user enable ydotool --now
#####################################################################################
printf "\e[36m[$0]: 2. Installing parts from source repo\e[0m\n"
+1 -2
View File
@@ -1,5 +1,4 @@
### This file support bash-style comments, and blank lines.
#
### This file supports bash-style comments, and blank lines.
### PKGs on same line will be send to `yay` together, unless `-f` is specified.
### Basic