3 Commits

Author SHA1 Message Date
kenji b21bcf5e7a fix(hypr): keyboard formatting fix 2026-01-30 20:10:32 -06:00
kenji 0bb78842c0 feat(gaming): comment out stayfocused rule 2026-01-25 16:44:01 -06:00
kenji d148acd6dd fix(gaming): add Deadlock window classes and enable stayfocused
- Adds 'project8' and 'citadel' to the games list to correctly match Valve's Deadlock window class.
- Enables 'stayfocused' rule in mkGameRules to prevent focus loss.
2026-01-25 16:43:07 -06:00
4 changed files with 10 additions and 3 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
{ {myConfig, ...}: {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
input = { input = {
repeat_rate = 50; repeat_rate = 50;
repeat_delay = 300; repeat_delay = 300;
numlock_by_default = true; numlock_by_default = true;
kb_options = myConfig.hyprland.kb_options;
}; };
cursor = { cursor = {
hide_on_key_press = false; hide_on_key_press = false;
+2
View File
@@ -34,6 +34,7 @@
]; ];
wallpaper = "firewatch.png"; wallpaper = "firewatch.png";
kb_options = "altwin:swap_lalt_lwin";
}; };
firefox = { firefox = {
bookmarks = [ bookmarks = [
@@ -94,6 +95,7 @@
"eDP-1, highres, auto, 2" "eDP-1, highres, auto, 2"
]; ];
wallpaper = "firewatch.png"; wallpaper = "firewatch.png";
kb_options = "";
}; };
firefox = { firefox = {
bookmarks = [ bookmarks = [
+4 -1
View File
@@ -1,4 +1,4 @@
{ {pkgs, ...}: {
imports = [ imports = [
../../apps/btop ../../apps/btop
../../apps/anki ../../apps/anki
@@ -12,4 +12,7 @@
../../apps/ttyper ../../apps/ttyper
../../apps/libreoffice ../../apps/libreoffice
]; ];
home.packages = with pkgs; [
chromium
];
} }
+2 -1
View File
@@ -6,6 +6,8 @@
}: let }: let
games = [ games = [
"Deadlock" "Deadlock"
"project8"
"citadel"
]; ];
mkGameRules = selector: [ mkGameRules = selector: [
@@ -75,4 +77,3 @@ in {
++ manualGameRules; ++ manualGameRules;
}; };
} }