Replies: 1 comment
-
When eDP monitor is not enabled,
Because in source code
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm writing some custom scripts to make my work more comfortable on different monitors, but I ran into this weird problem
I have defined configurations for three monitors and they look like this, I have defined configurations for three monitors and they are as follows
multi.conf
single_internal.conf
single_external.conf
then I write a script to auto change them when lauch the hyprland session like exec-once=...
then a script to select the layout manully
When I switch to External Monitor, exit the current hyprland session and re-enter the new session, although the script will be executed and the file is correctly linked to Mulit.conf or single_internal.conf, the main monitor cannot display it. Use Hyprctl reload doesn't work either. You can see the existence of eDP-1 using hyprctl monitors, like this
then I see this at wlr layout ui
When click the eDP-1,the app will exit and the error is here
I thought it was the order in which I executed the scripts. I tried putting source=~/.config/hypr/custom/monitors.conf
Add it after the script is executed, but it still doesn’t work
Only after the script is executed, the file is linked, the current session is launched again, and then hyprland is re-entered, the eDP-1 monitor will be correctly recognized.
Anyone know why this strange behavior happen?
Beta Was this translation helpful? Give feedback.
All reactions