diff options
Diffstat (limited to 'modules/home/hyprland/chernobyl/hyprland.nix')
| -rw-r--r-- | modules/home/hyprland/chernobyl/hyprland.nix | 39 |
1 files changed, 33 insertions, 6 deletions
diff --git a/modules/home/hyprland/chernobyl/hyprland.nix b/modules/home/hyprland/chernobyl/hyprland.nix index 5e4a8c6..888b41e 100644 --- a/modules/home/hyprland/chernobyl/hyprland.nix +++ b/modules/home/hyprland/chernobyl/hyprland.nix @@ -4,19 +4,35 @@ wayland.windowManager.hyprland = { enable = true; plugins = with pkgs.hyprlandPlugins; [ - #hyprbars - #borders-plus-plus - #hyprexpo - #hyprfocus + hyprbars + borders-plus-plus + hyprexpo + hyprfocus ]; settings = { "$mod" = "SUPER"; + # Monitor configuration + monitor = ",preferred,auto,1.5"; + + # Environment variables for Wayland rendering + env = [ + "LIBVA_DRIVER_NAME,nvidia" + "XDG_SESSION_TYPE,wayland" + "GDK_SCALE,1" + "OZONE_PLATFORM,wayland" + "QT_QPA_PLATFORM,wayland" + "QT_AUTO_SCREEN_SCALE_FACTOR,1" + "SDL_VIDEODRIVER,wayland" + "CLUTTER_BACKEND,wayland" + ]; + # Startup commands exec-once = [ "dunst" "nm-applet" "blueman-applet" + "waybar" ]; # Regular keybindings @@ -49,8 +65,8 @@ # Layout switching "$mod, S, layoutmsg, togglesplit" - "$mod, W, layoutmsg, preselect, l" - "$mod, E, layoutmsg, preselect, r" + "$mod, W, layoutmsg, preselect l" + "$mod, E, layoutmsg, preselect r" # Reload "$mod SHIFT, C, exec, hyprctl reload" @@ -115,6 +131,11 @@ decoration = { rounding = 15; + blur = { + enabled = true; + size = 3; + passes = 1; + }; shadow = { enabled = true; range = 4; @@ -142,6 +163,12 @@ pseudotile = true; preserve_split = true; }; + + # Window rules for VSCode and other apps + windowrulev2 = [ + "suppressevent maximize, class:.*" + "windowrule=tile, class:^(VSCodium|Code)$" + ]; }; }; }
\ No newline at end of file |
