optimized some lower-powered hosts

This commit is contained in:
Emmet
2025-03-09 11:10:38 -05:00
parent 8a145e6580
commit 6136cc9f2a
5 changed files with 34 additions and 3 deletions

View File

@@ -51,6 +51,11 @@
email = "emmet@librephoenix.com";
};
environment.systemPackages = with pkgs; [
libwacom
];
services.xserver.wacom.enable = true;
};
}

View File

@@ -47,13 +47,25 @@
enabled = lib.mkForce "no";
};
decoration = {
shadow.enabled = lib.mkForce false;
blur = {
size = lib.mkForce 10;
passes = lib.mkForce 1;
};
};
input = {
repeat_delay = lib.mkForce 850;
repeat_rate = lib.mkForce 80;
};
monitor = [
"eDP-1,1920x1080@60,0x0,1"
"eDP-1,1920x1080@60,0x0,1.25"
];
};
};
};
}

View File

@@ -48,6 +48,12 @@
home-manager.users.emmet.userSettings = {
name = "Emmet";
};
environment.systemPackages = with pkgs; [
libwacom
];
services.xserver.wacom.enable = true;
};
}

View File

@@ -50,6 +50,14 @@
enabled = lib.mkForce "no";
};
decoration = {
shadow.enabled = lib.mkForce false;
blur = {
size = lib.mkForce 10;
passes = lib.mkForce 1;
};
};
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"

View File

@@ -393,7 +393,7 @@ in
'')
(pkgs.writeScriptBin "hyprgamemode" ''
#!/bin/sh
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
HYPRGAMEMODE=$(hyprctl getoption decoration:blur:enabled | awk 'NR==1{print $2}')
if [ "$HYPRGAMEMODE" = 1 ] ; then
hyprctl --batch "\
keyword animations:enabled 0;\