diff options
author | Freya Murphy <freya@freyacat.org> | 2024-05-15 09:40:27 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-05-15 09:52:29 -0400 |
commit | bc8a465da9dbba30f0c0abe2cc90def3315aebc0 (patch) | |
tree | 7007978d6caeb1aafec1a4cd63e6546b7900ae9a /.config/hypr/scripts.d/systemd.sh | |
parent | a again (diff) | |
download | dotfiles-arch-bc8a465da9dbba30f0c0abe2cc90def3315aebc0.tar.gz dotfiles-arch-bc8a465da9dbba30f0c0abe2cc90def3315aebc0.tar.bz2 dotfiles-arch-bc8a465da9dbba30f0c0abe2cc90def3315aebc0.zip |
i forgor to commit stuff
Diffstat (limited to '.config/hypr/scripts.d/systemd.sh')
-rwxr-xr-x | .config/hypr/scripts.d/systemd.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/hypr/scripts.d/systemd.sh b/.config/hypr/scripts.d/systemd.sh new file mode 100755 index 0000000..8fd5c39 --- /dev/null +++ b/.config/hypr/scripts.d/systemd.sh @@ -0,0 +1,12 @@ +#!/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 |