This commit is contained in:
Dragyx 2024-04-13 13:47:48 +02:00
commit 3812c755fa
3 changed files with 59 additions and 105 deletions

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,6 +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 --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu"
# Monitor management
"$mod SHIFT, k, movecurrentworkspacetomonitor, DP-2"

View file

@ -48,6 +48,8 @@ in {
tmux
firefox
kitty
nextcloud-client
vscode
grim
slurp
wl-clipboard