summaryrefslogtreecommitdiff
path: root/.config/hypr/scripts.d
diff options
context:
space:
mode:
Diffstat (limited to '.config/hypr/scripts.d')
-rwxr-xr-x.config/hypr/scripts.d/autostart.sh15
-rwxr-xr-x.config/hypr/scripts.d/systemd.sh12
2 files changed, 27 insertions, 0 deletions
diff --git a/.config/hypr/scripts.d/autostart.sh b/.config/hypr/scripts.d/autostart.sh
new file mode 100755
index 0000000..01a34e2
--- /dev/null
+++ b/.config/hypr/scripts.d/autostart.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+waybar --config $HOME/.config/waybar/config.hypr &
+
+nm-applet --indicator &
+
+/usr/bin/gnome-keyring-daemon --foreground &
+wl-clip-persist --clipboard both &
+
+gtk-launch discord &
+gtk-launch io.element.Element &
+thunderbird &
+
+hyprpaper &
+hypridle &
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