summaryrefslogtreecommitdiff
path: root/home/config/hypr/scripts.d
diff options
context:
space:
mode:
Diffstat (limited to 'home/config/hypr/scripts.d')
-rwxr-xr-xhome/config/hypr/scripts.d/autostart.sh16
-rwxr-xr-xhome/config/hypr/scripts.d/systemd.sh16
2 files changed, 32 insertions, 0 deletions
diff --git a/home/config/hypr/scripts.d/autostart.sh b/home/config/hypr/scripts.d/autostart.sh
new file mode 100755
index 0000000..0b782b7
--- /dev/null
+++ b/home/config/hypr/scripts.d/autostart.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+waybar --config $HOME/.config/waybar/config.hypr --style $HOME/.config/waybar/style.hypr.css &
+
+nm-applet --indicator &
+
+/usr/bin/gnome-keyring-daemon --foreground &
+wl-clip-persist --clipboard both &
+
+gtk-launch discord &
+gtk-launch io.element.Element &
+gtk-launch org.gajim.Gajim &
+gtk-launch org.mozilla.Thunderbird &
+
+hyprpaper &
+hypridle &
diff --git a/home/config/hypr/scripts.d/systemd.sh b/home/config/hypr/scripts.d/systemd.sh
new file mode 100755
index 0000000..32b5528
--- /dev/null
+++ b/home/config/hypr/scripts.d/systemd.sh
@@ -0,0 +1,16 @@
+#!/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