fixed some host-specific config

This commit is contained in:
Emmet
2025-03-08 16:36:47 -06:00
parent c4dcf59357
commit c33d75a1be
4 changed files with 28 additions and 7 deletions

View File

@@ -41,7 +41,7 @@
# style
stylix = {
enable = true;
theme = "ayu-dark";
theme = "io";
};
};

View File

@@ -43,6 +43,10 @@
wayland.windowManager.hyprland = lib.mkIf config.userSettings.hyprland.enable {
settings = {
animations = {
enabled = "no";
};
monitor = [
"eDP-1,1920x1080@60,0x0,1"
];

View File

@@ -46,6 +46,10 @@
wayland.windowManager.hyprland = lib.mkIf config.userSettings.hyprland.enable {
settings = {
animations = {
enabled = "no";
};
bind = [
''SUPER,E,exec,if hyprctl clients | grep qutegmail; then echo "scratch_mail respawn not needed"; else qutebrowser --qt-flag enable-gpu-rasterization --qt-flag enable-native-gpu-memory-buffers --qt-flag num-raster-threads=4 -B ~/.browser/Teaching :'set input.mode_override passthrough -u mail.google.com' :'set window.title_format qutegmail' :'set tabs.show never' :'set statusbar.show never' https://mail.google.com; fi''
"SUPER,E,togglespecialworkspace,scratch_email"
@@ -76,5 +80,24 @@
enable = lib.mkForce false;
startInBackground = lib.mkForce false;
};
home.file.".config/hypr/hypridle.conf".text = lib.mkForce ''
general {
lock_cmd = pgrep hyprlock || hyprlock
before_sleep_cmd = loginctl lock-session
ignore_dbus_inhibit = false
}
listener {
timeout = 3000 # in seconds
on-timeout = loginctl lock-session
}
listener {
timeout = 3015 # in seconds
on-timeout = systemctl suspend
on-resume = hyprctl dispatch dpms on
}
'';
};
}

View File

@@ -557,18 +557,12 @@ appearance:
ignore_dbus_inhibit = false
}
#listener {
# timeout = 150 # in seconds
# on-timeout = hyprctl dispatch dpms off
# on-resume = hyprctl dispatch dpms on
#}
listener {
timeout = 165 # in seconds
on-timeout = loginctl lock-session
}
listener {
timeout = 180 # in seconds
#timeout = 5400 # in seconds
on-timeout = systemctl suspend
on-resume = hyprctl dispatch dpms on
}