mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
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 keyboardJson = oskLayouts[keyboardLayout];
|
||||
execAsync(`ydotoold`).catch(print); // Start ydotool daemon
|
||||
|
||||
function releaseAllKeys() {
|
||||
const keycodes = Array.from(Array(249).keys());
|
||||
|
||||
+2
-1
@@ -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,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
|
||||
|
||||
Reference in New Issue
Block a user