hyprland monitor fix
This commit is contained in:
parent
dd4982d56f
commit
cfebfbd746
1 changed files with 6 additions and 2 deletions
|
@ -9,7 +9,7 @@ in {
|
||||||
monitor = mkOption {
|
monitor = mkOption {
|
||||||
description = "hyprland monitor config";
|
description = "hyprland monitor config";
|
||||||
default = ",preferred,auto,1";
|
default = ",preferred,auto,1";
|
||||||
type = types.listof(types.str);
|
type = types.listOf(types.str);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -41,6 +41,9 @@ in {
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
# Monitor config
|
||||||
|
monitor = cfg.monitor;
|
||||||
|
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
|
@ -51,9 +54,10 @@ in {
|
||||||
"$mod, Q, killactive"
|
"$mod, Q, killactive"
|
||||||
"$mod, return, exec, alacritty"
|
"$mod, return, exec, alacritty"
|
||||||
"$mod SHIFT, return, exec, firefox"
|
"$mod SHIFT, return, exec, firefox"
|
||||||
|
"$mod SHIFT, m, exit"
|
||||||
|
|
||||||
# Application
|
# Application
|
||||||
"$mod SHIFT, c, exec, code"
|
"$mod SHIFT, c, exec, code --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu"
|
||||||
|
|
||||||
# Monitor management
|
# Monitor management
|
||||||
"$mod SHIFT, k, movecurrentworkspacetomonitor, DP-2"
|
"$mod SHIFT, k, movecurrentworkspacetomonitor, DP-2"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue