refactor: shortcut manager (#34)

* fix: update udev rules for input device permissions

* refactor: remove HotkeyManager

* feat: implement Linux Desktop Environment Shortcut Manager

* refactor: remove HotkeyManager

* fix: enhance input permissions setup with uaccess support

* refactor: improve uinput permissions setup

* refactor: update documentation for global shortcut permissions and usage

* refactor: update udev rules and dependencies

* refactor: remove outdated comment in useDarkMode hook

* style: clean up script formatting and improve readability

* chore: update UUID handling to use deterministic v5

* chore: simplify pipeline combining

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: clarify comment

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Gustavo Carvalho
2025-12-16 12:19:19 -03:00
committed by GitHub
parent 88ab8f85c3
commit d30bc212f7
14 changed files with 895 additions and 436 deletions

View File

@@ -12,20 +12,20 @@ WEBKIT_DISABLE_COMPOSITING_MODE=1
# Always use clean environment to avoid library conflicts from Snap, Flatpak, etc.
exec env -i \
HOME="$HOME" \
USER="$USER" \
SHELL="$SHELL" \
TERM="$TERM" \
DISPLAY="${DISPLAY:-:0}" \
XAUTHORITY="$XAUTHORITY" \
WAYLAND_DISPLAY="$WAYLAND_DISPLAY" \
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
XDG_SESSION_TYPE="$XDG_SESSION_TYPE" \
XDG_CURRENT_DESKTOP="$XDG_CURRENT_DESKTOP" \
XDG_SESSION_CLASS="$XDG_SESSION_CLASS" \
DBUS_SESSION_BUS_ADDRESS="$DBUS_SESSION_BUS_ADDRESS" \
PATH="/usr/local/bin:/usr/bin:/bin" \
LANG="${LANG:-en_US.UTF-8}" \
LC_ALL="${LC_ALL:-}" \
GDK_BACKEND="x11" \
"$BINARY" "$@"
HOME="$HOME" \
USER="$USER" \
SHELL="$SHELL" \
TERM="$TERM" \
DISPLAY="${DISPLAY:-:0}" \
XAUTHORITY="$XAUTHORITY" \
WAYLAND_DISPLAY="$WAYLAND_DISPLAY" \
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
XDG_SESSION_TYPE="$XDG_SESSION_TYPE" \
XDG_CURRENT_DESKTOP="$XDG_CURRENT_DESKTOP" \
XDG_SESSION_CLASS="$XDG_SESSION_CLASS" \
DBUS_SESSION_BUS_ADDRESS="$DBUS_SESSION_BUS_ADDRESS" \
PATH="/usr/local/bin:/usr/bin:/bin" \
LANG="${LANG:-en_US.UTF-8}" \
LC_ALL="${LC_ALL:-}" \
GDK_BACKEND="x11" \
"$BINARY" "$@"