Configuration de Hyprland : utilisation de xdg-session-start

Permet de profiter des sleep du script pour lancer un environnement XDG
propre
This commit is contained in:
Hippolyte Chauvin 2023-10-21 23:32:36 +02:00
parent a03ac5499a
commit 5ccd172621
2 changed files with 2 additions and 5 deletions

View file

@ -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 &

View file

@ -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