summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-27 07:32:59 -0600
committerCraig Jennings <c@cjennings.net>2026-01-27 07:32:59 -0600
commitd6374a32391a43ae051b6fdbe2f93431ef5dc9dc (patch)
treeb72671fa3c9a2d635a7cf4c3f6ea87fb1122fc05
parent6b09e4a12d07d196e96f70643b296edd45b54bf8 (diff)
fix(hyprland): focus new windows when they open
Added focus_on_activate = true to misc section so new windows spawning as master receive keyboard focus immediately.
-rw-r--r--dotfiles/hyprland/.config/hypr/hyprland.conf1
-rw-r--r--todo.org5
2 files changed, 4 insertions, 2 deletions
diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf
index 8f01d44..133c79e 100644
--- a/dotfiles/hyprland/.config/hypr/hyprland.conf
+++ b/dotfiles/hyprland/.config/hypr/hyprland.conf
@@ -101,6 +101,7 @@ input {
misc {
force_default_wallpaper = 0
disable_hyprland_logo = true
+ focus_on_activate = true
}
# ============================================================================
diff --git a/todo.org b/todo.org
index 609b5ad..66a61c1 100644
--- a/todo.org
+++ b/todo.org
@@ -121,8 +121,9 @@ The script handles edge cases gracefully, provides detailed error messages with
*** TODO [#A] Make Hyprland Bulletproof and Comfy
-**** TODO [#B] new master windows do not have focus
-When opening a new window, it now takes the main position in the tile mode. This is good. However, it doesn't have focus. This is not good. When opening a new window, it should both open in the first position and also have focus.
+**** DONE [#B] new master windows do not have focus
+CLOSED: [2026-01-27 Tue]
+Added focus_on_activate = true to misc section in hyprland.conf.
**** TODO [#B] screenshot functionality should leave path of last image in the clipboard ready to paste.
**** TODO [#B] screenshot functionality should also bind shift printscreen to select region.