From 7ed1575baab760d6790c456a426cf0f652f19323 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Tue, 4 Jun 2024 16:35:06 +0200 Subject: [PATCH] [hyprland] style: prettified config --- nix/home/hyprland/hyprland-bindings.nix | 1 + nix/home/hyprland/hyprland-environment.nix | 3 ++- nix/home/hyprland/hyprland-general.nix | 2 +- nix/home/hyprland/hyprland-graphics.nix | 7 ++++++- nix/home/hyprland/hyprland-window_rules.nix | 2 ++ 5 files changed, 12 insertions(+), 3 deletions(-) diff --git a/nix/home/hyprland/hyprland-bindings.nix b/nix/home/hyprland/hyprland-bindings.nix index c04f546..00cc661 100644 --- a/nix/home/hyprland/hyprland-bindings.nix +++ b/nix/home/hyprland/hyprland-bindings.nix @@ -4,6 +4,7 @@ # hyprland binds config wayland.windowManager.hyprland.settings = { + # binds binds = { workspace_back_and_forth = true; }; diff --git a/nix/home/hyprland/hyprland-environment.nix b/nix/home/hyprland/hyprland-environment.nix index be92460..6591f0c 100644 --- a/nix/home/hyprland/hyprland-environment.nix +++ b/nix/home/hyprland/hyprland-environment.nix @@ -3,7 +3,8 @@ # hyprland environment variables wayland.windowManager.hyprland.settings = { - + + # environment variables env = [ # firefox diff --git a/nix/home/hyprland/hyprland-general.nix b/nix/home/hyprland/hyprland-general.nix index 4ff5ad2..d2e75fa 100644 --- a/nix/home/hyprland/hyprland-general.nix +++ b/nix/home/hyprland/hyprland-general.nix @@ -4,7 +4,7 @@ # hyprland general config wayland.windowManager.hyprland.settings = { - # dwindle secion + # dwindle section dwindle = { pseudotile = true; preserve_split = true; diff --git a/nix/home/hyprland/hyprland-graphics.nix b/nix/home/hyprland/hyprland-graphics.nix index 8abea63..5dc3a17 100644 --- a/nix/home/hyprland/hyprland-graphics.nix +++ b/nix/home/hyprland/hyprland-graphics.nix @@ -4,11 +4,16 @@ # hyprland general config wayland.windowManager.hyprland.settings = { + # configure monitors monitor = [ - # main monitors + # main monitor "eDP-1, 1920x1200@60, 760x1440, 1" + + # secundary monitor "HDMI-A-1, 1920x1080@60, 0x0, 1" + + # any other monitor ", preferred, 0x0, 1" ]; diff --git a/nix/home/hyprland/hyprland-window_rules.nix b/nix/home/hyprland/hyprland-window_rules.nix index 65e0635..befd0a1 100644 --- a/nix/home/hyprland/hyprland-window_rules.nix +++ b/nix/home/hyprland/hyprland-window_rules.nix @@ -4,6 +4,7 @@ # hyprland general config wayland.windowManager.hyprland.settings = { + # windowrulev1 windowrule = [ # window rules @@ -18,6 +19,7 @@ ]; + # windowrulev2 windowrulev2 = [ # alacritty