config: Add grab_focus_tty (closes #1039)

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2026-08-24 21:32:11 +02:00
parent 95a1bca7de
commit 32dd0967ba
3 changed files with 12 additions and 1 deletions

View File

@@ -316,6 +316,13 @@ ly = {
-- Example: a string of "23" makes the cell survive on 2 or 3 neighbors
gameoflife_param_survival = "23",
-- Sets the TTY on which to always grab focus on.
-- This is useful if you want to have deterministic behavior when starting
-- Ly on multiple TTYs simultaneously.
-- If null, Ly will always try to grab focus on the TTY it is launched on,
-- even if multiple instances are launched.
grab_focus_tty = nil,
-- Remove main box borders
hide_borders = false,