aboutsummaryrefslogtreecommitdiff
path: root/modules/home/hyprland/chernobyl/hyprland.nix
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-02-02 19:14:28 +0100
committerNatasha Moongrave <natasha@256phi.eu>2026-02-02 19:14:28 +0100
commitefd43899305e40f7dc8248409cb629009ecaa8ac (patch)
tree57ebaf82b59109f040998c5b136f6ecf0df1a48f /modules/home/hyprland/chernobyl/hyprland.nix
parentee87655c236dca216734e03c1a9364de6c0fb20c (diff)
made hyprland config better hopefully
Diffstat (limited to 'modules/home/hyprland/chernobyl/hyprland.nix')
-rw-r--r--modules/home/hyprland/chernobyl/hyprland.nix39
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