hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.53k stars 818 forks source link

do exec-once after the initfd of Xwayland #6957

Open asd-a opened 1 month ago

asd-a commented 1 month ago

Description

when using with HiDPI Xwayland, i need to use something xrdb to config the X server

but it seems the Xwayland server not complete when Hyprland doing exec-once in the hypr.conf, which causes my apps something wrong

the official support for doing something like xrdb for xwayland, is to add -initfd. according to man Xwayland

vaxerski commented 1 month ago

exec-once = sleep 1 && command?

asd-a commented 1 month ago

it looks ugly, doesn't it? as I don't guess how many secs xwayland needs to get ready

vaxerski commented 1 month ago

tbh, meh

MightyPlaza commented 1 month ago

it looks ugly, doesn't it? as I don't guess how many secs xwayland needs to get ready

could also check for xwayland process and sleep in a loop