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

17 lines
482 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 \
2024-06-07 02:05:25 +00:00
GTK_THEME \
QT_QPA_PLATFORMTHEME
2024-05-15 13:40:27 +00:00
hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY \
XDG_CURRENT_DESKTOP=Hyprland \
2024-06-07 02:05:25 +00:00
WAYLAND_DISPLAY \
GTK_THEME \
QT_QPA_PLATFORMTHEME