]> Freerunner's - dotfiles.git/commitdiff
hypr: with greetd in front, we need to set $PATH early
authorAndre Ramnitz <tux.rising@gmail.com>
Thu, 31 Oct 2024 06:45:23 +0000 (07:45 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Thu, 31 Oct 2024 06:46:22 +0000 (07:46 +0100)
dot-config/hypr/hyprland.conf
dot-config/hypr/scripts/startup.sh

index 2a591bf3505b50016ae6de162727bf57a5169cd2..c3593931133122386c1d56e5e12a74509340b25e 100644 (file)
@@ -23,6 +23,7 @@ env = AMD_VULKAN_ICD=RADV
 env = XDG_CURRENT_DESKTOP,Hyprland
 env = XDG_SESSION_TYPE,wayland
 env = XDG_SESSION_DESKTOP,Hyprland
+exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
 
 # Some default env vars.
 env = QT_QPA_PLATFORM,wayland;xcb
index 445c4181e05a675f33a61556b46eefaa60e3c868..92bee3ffd291b96893fadfb924468a3cca23cefa 100755 (executable)
@@ -8,6 +8,8 @@ test ! -d "$XDG_RUNTIME_DIR" && export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)
 test ! "$DBUS_SESSION_BUS_ADDRESS" && dbus-daemon --session --address=unix:path="$XDG_RUNTIME_DIR"/bus && logger 'dbus session daemon started'
 dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
 
+export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$HOME/go/bin:$HOME/Applications:$PATH"
+
 #------------------------------------------------------ xdg-desktop-portal
 killall -e xdg-desktop-portal-hyprland
 killall -e xdg-desktop-portal-kde
@@ -64,7 +66,7 @@ openrgb -p default --startminimized &
 ! pidof kwalletmanager5 && /usr/libexec/pam_kwallet_init &
 
 ! pidof swww-daemon && /usr/bin/swww-daemon > /dev/null 2>&1 &
-sleep 0.5 && /usr/bin/swww img ~/Bilder/Wallpapers/default.jpg
+sleep 0.5 && ~/.local/bin/rndwallpaper swww
 
 pkill -f '/usr/lib/python-exec/python3.12/python /home/andy/.config/hypr/scripts/gammarelay-auto-temp.py'
 sleep 1 && "/home/andy/.config/hypr/scripts/gammarelay-auto-temp.py" > /dev/null 2>&1 &