fix(desktop): focus mainMonitor on launch
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
35645b93a6
commit
efb2ae0425
1 changed files with 5 additions and 4 deletions
|
@ -20,12 +20,13 @@ in {
|
|||
cursor = {
|
||||
no_hardware_cursors = osConfig.nvidia.enable;
|
||||
hide_on_touch = true;
|
||||
default_monitor =
|
||||
if mainMonitor != null
|
||||
then mainMonitor
|
||||
else "";
|
||||
};
|
||||
|
||||
exec-once =
|
||||
if mainMonitor != null
|
||||
then ["hyprctl dispatch focusmonitor ${mainMonitor}"]
|
||||
else [];
|
||||
|
||||
input = {
|
||||
# Keyboard
|
||||
kb_layout = xkb.layout;
|
||||
|
|
Loading…
Reference in a new issue