fixed some host-specific config
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
# style
|
||||
stylix = {
|
||||
enable = true;
|
||||
theme = "ayu-dark";
|
||||
theme = "io";
|
||||
};
|
||||
};
|
||||
|
||||
|
@@ -43,6 +43,10 @@
|
||||
|
||||
wayland.windowManager.hyprland = lib.mkIf config.userSettings.hyprland.enable {
|
||||
settings = {
|
||||
animations = {
|
||||
enabled = "no";
|
||||
};
|
||||
|
||||
monitor = [
|
||||
"eDP-1,1920x1080@60,0x0,1"
|
||||
];
|
||||
|
@@ -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
|
||||
}
|
||||
'';
|
||||
|
||||
};
|
||||
}
|
||||
|
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user