feat(desktop): add ydotool integration for Hyprland

ydotool provides keyboard input simulation on Wayland,
required by Hyprland keybinding daemons like ydotool.
Adds user to input/render/video groups for access, and
conditionally enables the ydotool user service only
when the input group is available.
This commit is contained in:
2026-07-22 23:57:52 -04:00
parent 32edcb9019
commit 0ae9a204aa
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -16,6 +16,7 @@ else
fi fi
if [[ -x "$(command -v systemctl)" ]]; then if [[ -x "$(command -v systemctl)" ]]; then
sudo usermod -aG "input,render,video" $USER
sudo systemctl enable --now sddm.service sudo systemctl enable --now sddm.service
sudo systemctl enable --now udisks2.service sudo systemctl enable --now udisks2.service
fi fi
+2 -1
View File
@@ -155,7 +155,8 @@ description = "setup gui"
run = [ run = [
'xdg-settings set default-web-browser firefox.desktop', 'xdg-settings set default-web-browser firefox.desktop',
'gsettings set org.gnome.desktop.interface gtk-enable-primary-paste true', 'gsettings set org.gnome.desktop.interface gtk-enable-primary-paste true',
'systemctl --user enable --now syncthing', 'id -nG sjb | grep -qw "input" && systemctl --user enable ydotool',
'systemctl --user enable syncthing',
'systemctl --user enable mako.service', 'systemctl --user enable mako.service',
'systemctl --user enable hypridle.service', 'systemctl --user enable hypridle.service',
'systemctl --user enable awww-daemon.service', 'systemctl --user enable awww-daemon.service',
+1
View File
@@ -99,6 +99,7 @@ xdg-user-dirs
xorg-xwayland xorg-xwayland
xournalpp xournalpp
yaru-icon-theme yaru-icon-theme
ydotool
zathura zathura
zathura-pdf-poppler zathura-pdf-poppler
zed zed