summaryrefslogtreecommitdiff
path: root/.config/hypr/scripts.d/systemd.sh
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-05-15 09:40:27 -0400
committerFreya Murphy <freya@freyacat.org>2024-05-15 09:52:29 -0400
commitbc8a465da9dbba30f0c0abe2cc90def3315aebc0 (patch)
tree7007978d6caeb1aafec1a4cd63e6546b7900ae9a /.config/hypr/scripts.d/systemd.sh
parenta again (diff)
downloaddotfiles-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.sh12
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