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

16 lines
482 B
Bash
Executable file

#!/bin/sh
systemctl --user set-environment XDG_CURRENT_DESKTOP=Hyprland
systemctl --user import-environment DISPLAY \
WAYLAND_DISPLAY \
XDG_CURRENT_DESKTOP \
GTK_THEME \
QT_QPA_PLATFORMTHEME
hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY \
XDG_CURRENT_DESKTOP=Hyprland \
WAYLAND_DISPLAY \
GTK_THEME \
QT_QPA_PLATFORMTHEME