From 5ccd172621e266adda316527217059d3c2e1e8a3 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Sat, 21 Oct 2023 23:32:36 +0200 Subject: [PATCH] Configuration de Hyprland : utilisation de xdg-session-start Permet de profiter des sleep du script pour lancer un environnement XDG propre --- bin/xdg-session-start | 2 +- config/hypr/hyprland.conf.d/startup.conf | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/bin/xdg-session-start b/bin/xdg-session-start index 8907841..cf11f8f 100755 --- a/bin/xdg-session-start +++ b/bin/xdg-session-start @@ -1,7 +1,7 @@ #!/bin/sh mkdir -p "${XDG_RUNTIME_DIR}/ssh" & -/usr/lib/xdg-desktop-portal-wlr & dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +/usr/lib/xdg-desktop-portal-wlr & sleep 1 artix-pipewire-launcher & diff --git a/config/hypr/hyprland.conf.d/startup.conf b/config/hypr/hyprland.conf.d/startup.conf index d8df08c..8c4a696 100644 --- a/config/hypr/hyprland.conf.d/startup.conf +++ b/config/hypr/hyprland.conf.d/startup.conf @@ -1,11 +1,8 @@ # Startup exec-once = swaync -exec-once = waybar exec-once = hyprpaper -exec-once = artix-pipewire-launcher -exec-once = /usr/lib/xdg-desktop-portal-hyprland exec-once = swayosd-server exec-once = $terminal & $terminal -e sudo -i exec-once = webcord exec-once = joplin-desktop -exec-once = mkdir -p ${XDG_RUNTIME_DIR}/ssh +exec-once = xdg-session-start