hyprland monitor fix
This commit is contained in:
parent
dc92a59a94
commit
5f2072519a
1 changed files with 6 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue