Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

[Enhancement] Hold off `exec-once` until a promgram is finished

Open fjueic opened this issue 1 year ago • 2 comments

Description

It might be the XY problem i will explain what im trying to do. i'm auto logging in my arch linux using greetd and session is locked immediately with hyprlock exec-once = hyprlock || hyprctl dispatch exit and all the other exec-once and commands are ran with it is there a way to hold off execution of other commands until i unlock

a way to set the order of priority for exec-once sounds nice like don't run commands until all others are finished

i know it possible with chaining && or bash script but directly in hyprland conf would be nice

fjueic avatar May 01 '24 17:05 fjueic

a workaround i have in mind is having two config file one with exec-once in it which can be import as usual and one with exec which i can import later

and i can trigger update with exec file once and remove it so it cause no further runs

i will try it implement this workaround but native would be good thanks

fjueic avatar May 01 '24 17:05 fjueic

a workaround i have in mind is having two config file one with exec-once in it which can be import as usual and one with exec which i can import later

and i can trigger update with exec file once and remove it so it cause no further runs

i will try it implement this workaround but native would be good thanks

working as intended

fjueic avatar May 02 '24 06:05 fjueic

I don't think this makes sense as there are a dozen ways to do it already like you mentioned yourself, and it's quite a niche case.

vaxerski avatar May 02 '24 14:05 vaxerski

https://github.com/hyprwm/Hyprland/assets/89282645/afc2cd55-1ed0-4d45-8d00-fc385eefd553

@vaxerski sry for opening this again

is there a way to deal with the flash of hyprland session before hyprlock runs?

fjueic avatar May 02 '24 14:05 fjueic

that's probably the time where the image is being loaded. If you want to minimize it, choose a solid background, or make the image smaller, so that it loads faster.

vaxerski avatar May 02 '24 22:05 vaxerski