hyprland monitor fix

This commit is contained in:
LarsZauberer 2024-04-13 10:34:59 +02:00
commit 0e03451f8d

View file

@ -9,7 +9,7 @@ in {
monitor = mkOption {
description = "hyprland monitor config";
default = ",preferred,auto,1";
type = types.listof(types.str);
type = types.listOf(types.str);
};
};
@ -41,6 +41,9 @@ in {
wayland.windowManager.hyprland = {
enable = true;
settings = {
# Monitor config
monitor = cfg.monitor;
"$mod" = "SUPER";
input = {
@ -51,9 +54,10 @@ in {
"$mod, Q, killactive"
"$mod, return, exec, alacritty"
"$mod SHIFT, return, exec, firefox"
"$mod SHIFT, m, exit"
# Application
"$mod SHIFT, c, exec, code"
"$mod SHIFT, c, exec, code --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu"
# Monitor management
"$mod SHIFT, k, movecurrentworkspacetomonitor, DP-2"