From e22d96d44252ea705c417ba5f79ee19bb29f1593 Mon Sep 17 00:00:00 2001 From: Ahurac Date: Fri, 5 Jan 2024 14:49:38 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20:=20hyprxdg,=20script=20pour=20lancer?= =?UTF-8?q?=20les=20processus=20de=20conformit=C3=A9=20=C3=A0=20XDG=20pour?= =?UTF-8?q?=20Hyprland?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/{xdg-session-start => hyprxdg} | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) rename bin/{xdg-session-start => hyprxdg} (50%) diff --git a/bin/xdg-session-start b/bin/hyprxdg similarity index 50% rename from bin/xdg-session-start rename to bin/hyprxdg index 6818922..8e82dd7 100755 --- a/bin/xdg-session-start +++ b/bin/hyprxdg @@ -1,10 +1,16 @@ #!/bin/sh -mkdir -p "${XDG_RUNTIME_DIR}/ssh" & -dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP -/usr/lib/xdg-desktop-portal-wlr & +# Directory for SSH control sockets +mkdir -p "${XDG_RUNTIME_DIR}/ssh" & + +# Update DBus environment variables +dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP + +# Start the XDG desktop portal +/usr/lib/xdg-desktop-portal-hyprland & + +# Start PipeWire sleep 1 artix-pipewire-launcher restart & -waybar wait