Thor: hypridle reset primary output on wake up
This commit is contained in:
parent
4ca74d8272
commit
7189707113
1 changed files with 1 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ in
|
||||||
{
|
{
|
||||||
timeout = 300;
|
timeout = 300;
|
||||||
on-timeout = "hyprctl dispatch dpms off"; # screen off when timeout has passed
|
on-timeout = "hyprctl dispatch dpms off"; # screen off when timeout has passed
|
||||||
on-resume = "hyprctl dispatch dpms on"; # screen on when activity is detected after timeout has fired.
|
on-resume = "hyprctl dispatch dpms on;" + (lib.optionalString (hostName == "thor") "xrandr --output DP-1 --primary"); # screen on when activity is detected after timeout has fired.
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
@ -104,7 +104,6 @@ in
|
||||||
|
|
||||||
exec = (lib.lists.optionals (hostName == "thor") [
|
exec = (lib.lists.optionals (hostName == "thor") [
|
||||||
"xrandr --output DP-1 --primary"
|
"xrandr --output DP-1 --primary"
|
||||||
"xrandr --output DP-3 --primary"
|
|
||||||
]) ++ [
|
]) ++ [
|
||||||
"noti -t 'Hyprland' -m 'New config loaded\!'"
|
"noti -t 'Hyprland' -m 'New config loaded\!'"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue