optimized some lower-powered hosts
This commit is contained in:
@@ -51,6 +51,11 @@
|
|||||||
email = "emmet@librephoenix.com";
|
email = "emmet@librephoenix.com";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
libwacom
|
||||||
|
];
|
||||||
|
services.xserver.wacom.enable = true;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -47,13 +47,25 @@
|
|||||||
enabled = lib.mkForce "no";
|
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 = [
|
monitor = [
|
||||||
"eDP-1,1920x1080@60,0x0,1"
|
"eDP-1,1920x1080@60,0x0,1.25"
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -48,6 +48,12 @@
|
|||||||
home-manager.users.emmet.userSettings = {
|
home-manager.users.emmet.userSettings = {
|
||||||
name = "Emmet";
|
name = "Emmet";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
libwacom
|
||||||
|
];
|
||||||
|
services.xserver.wacom.enable = true;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -50,6 +50,14 @@
|
|||||||
enabled = lib.mkForce "no";
|
enabled = lib.mkForce "no";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
decoration = {
|
||||||
|
shadow.enabled = lib.mkForce false;
|
||||||
|
blur = {
|
||||||
|
size = lib.mkForce 10;
|
||||||
|
passes = lib.mkForce 1;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
bind = [
|
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,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"
|
"SUPER,E,togglespecialworkspace,scratch_email"
|
||||||
|
@@ -393,7 +393,7 @@ in
|
|||||||
'')
|
'')
|
||||||
(pkgs.writeScriptBin "hyprgamemode" ''
|
(pkgs.writeScriptBin "hyprgamemode" ''
|
||||||
#!/bin/sh
|
#!/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
|
if [ "$HYPRGAMEMODE" = 1 ] ; then
|
||||||
hyprctl --batch "\
|
hyprctl --batch "\
|
||||||
keyword animations:enabled 0;\
|
keyword animations:enabled 0;\
|
||||||
|
Reference in New Issue
Block a user