📺 Replaced DP-1 montior, uncommented turn off screen code
This commit is contained in:
parent
1f06944f93
commit
0bfa938db3
@ -4,6 +4,6 @@
|
||||
./nixvim
|
||||
./zed.nix
|
||||
];
|
||||
# TODO set Walyland vmOptions in Jetbrains products, Requires current installed version
|
||||
# TODO set Wayland vmOptions in Jetbrains products, Requires current installed version in path
|
||||
# -Dawt.toolkit.name=WLToolKit
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
let
|
||||
# Time in seconds
|
||||
lockAfter = 1200;
|
||||
#screenOffAfter = 1500;
|
||||
screenOffAfter = 1500;
|
||||
suspendAfter = 7200;
|
||||
in
|
||||
{
|
||||
@ -20,12 +20,12 @@ in
|
||||
timeout = lockAfter;
|
||||
on-timeout = "loginctl lock-session";
|
||||
}
|
||||
# Turn off screens TODO still buggy on DP-1
|
||||
# {
|
||||
# timeout = screenOffAfter;
|
||||
# on-timeout = "hyprctl dispatch dpms off";
|
||||
# on-resume = "hyprctl dispatch dpms on";
|
||||
# }
|
||||
# Turn off screens
|
||||
{
|
||||
timeout = screenOffAfter;
|
||||
on-timeout = "hyprctl dispatch dpms off";
|
||||
on-resume = "hyprctl dispatch dpms on";
|
||||
}
|
||||
# Suspend
|
||||
{
|
||||
timeout = suspendAfter;
|
||||
|
@ -7,8 +7,8 @@ in
|
||||
{
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
monitor = [
|
||||
"DP-1, 1920x1080@144, 0x0, 1"
|
||||
"DP-3, 3840x2160@60, 1920x0, 1.5, transform, 1"
|
||||
"DP-1, 3440x1440@175, 0x0, 1"
|
||||
"DP-3, 3840x2160@60, 3440x0, 1.5, transform, 1"
|
||||
];
|
||||
|
||||
# Autostart
|
||||
|
Loading…
x
Reference in New Issue
Block a user