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:
@@ -16,6 +16,7 @@ else
|
||||
fi
|
||||
|
||||
if [[ -x "$(command -v systemctl)" ]]; then
|
||||
sudo usermod -aG "input,render,video" $USER
|
||||
sudo systemctl enable --now sddm.service
|
||||
sudo systemctl enable --now udisks2.service
|
||||
fi
|
||||
|
||||
@@ -155,7 +155,8 @@ description = "setup gui"
|
||||
run = [
|
||||
'xdg-settings set default-web-browser firefox.desktop',
|
||||
'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 hypridle.service',
|
||||
'systemctl --user enable awww-daemon.service',
|
||||
|
||||
@@ -99,6 +99,7 @@ xdg-user-dirs
|
||||
xorg-xwayland
|
||||
xournalpp
|
||||
yaru-icon-theme
|
||||
ydotool
|
||||
zathura
|
||||
zathura-pdf-poppler
|
||||
zed
|
||||
|
||||
Reference in New Issue
Block a user