[Hyprland] Migrates to new lua-based config
This commit is contained in:
@@ -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"
|
||||
# ];
|
||||
# };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user