fix(desktop): focus mainMonitor on launch
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-07-06 15:41:18 -04:00
parent 35645b93a6
commit efb2ae0425

View file

@ -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;