forked from Shinonome/dots-hyprland
use ydotool systemd user service (#382)
This commit is contained in:
@@ -11,7 +11,6 @@ import { setupCursorHoverGrab } from '../.widgetutils/cursorhover.js';
|
|||||||
|
|
||||||
const keyboardLayout = oskLayouts[userOptions.onScreenKeyboard.layout] ? userOptions.onScreenKeyboard.layout : DEFAULT_OSK_LAYOUT;
|
const keyboardLayout = oskLayouts[userOptions.onScreenKeyboard.layout] ? userOptions.onScreenKeyboard.layout : DEFAULT_OSK_LAYOUT;
|
||||||
const keyboardJson = oskLayouts[keyboardLayout];
|
const keyboardJson = oskLayouts[keyboardLayout];
|
||||||
execAsync(`ydotoold`).catch(print); // Start ydotool daemon
|
|
||||||
|
|
||||||
function releaseAllKeys() {
|
function releaseAllKeys() {
|
||||||
const keycodes = Array.from(Array(249).keys());
|
const keycodes = Array.from(Array(249).keys());
|
||||||
|
|||||||
+2
-1
@@ -38,7 +38,7 @@ esac
|
|||||||
|
|
||||||
set -e
|
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
|
# Issue #363
|
||||||
case $SKIP_SYSUPDATE in
|
case $SKIP_SYSUPDATE in
|
||||||
@@ -123,6 +123,7 @@ case $SKIP_PLASMAINTG in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
v sudo usermod -aG video,input "$(whoami)"
|
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"
|
printf "\e[36m[$0]: 2. Installing parts from source repo\e[0m\n"
|
||||||
|
|||||||
@@ -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.
|
### PKGs on same line will be send to `yay` together, unless `-f` is specified.
|
||||||
|
|
||||||
### Basic
|
### Basic
|
||||||
|
|||||||
Reference in New Issue
Block a user