dotfiles-arch/.config/hypr/scripts.d/systemd.sh

13 lines
386 B
Bash
Raw Normal View History

2024-05-15 13:40:27 +00:00
#!/bin/sh
systemctl --user set-environment XDG_CURRENT_DESKTOP=Hyprland
systemctl --user import-environment DISPLAY \
WAYLAND_DISPLAY \
XDG_CURRENT_DESKTOP \
GTK_THEME
hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY \
XDG_CURRENT_DESKTOP=Hyprland \
WAYLAND_DISPLAY