[Hyprland] Migrates to new lua-based config

This commit is contained in:
2026-05-31 14:41:17 -07:00
parent 07280e20ea
commit 32393d5ffe
20 changed files with 1168 additions and 625 deletions

View File

@@ -48,16 +48,17 @@ in
};
};
wayland.windowManager.hyprland.settings = {
exec-once = [
# Set up eww here because it's based on the monitor configuration
"sleep 2 && eww open-many primary-statusbar secondary-statusbar"
# Set DP-2 as the primary monitor, otherwise it defaults to DP-1 because it's first in the list.
"xrandr --output DP-2 --primary"
];
windowrule = [
# Rofi doesn't center properly when I have the two asymetric monitors, so we need hyprland to manage it.
"match:class Rofi, center on"
];
};
# TODO: Merge into lua config
# wayland.windowManager.hyprland.settings = {
# exec-once = [
# # Set up eww here because it's based on the monitor configuration
# "sleep 2 && eww open-many primary-statusbar secondary-statusbar"
# # Set DP-2 as the primary monitor, otherwise it defaults to DP-1 because it's first in the list.
# "xrandr --output DP-2 --primary"
# ];
# windowrule = [
# # Rofi doesn't center properly when I have the two asymetric monitors, so we need hyprland to manage it.
# "match:class Rofi, center on"
# ];
# };
}