summaryrefslogtreecommitdiff
path: root/modules/home-manager/hypr/decoration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home-manager/hypr/decoration.nix')
-rw-r--r--modules/home-manager/hypr/decoration.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/modules/home-manager/hypr/decoration.nix b/modules/home-manager/hypr/decoration.nix
new file mode 100644
index 0000000..e928a51
--- /dev/null
+++ b/modules/home-manager/hypr/decoration.nix
@@ -0,0 +1,28 @@
+{ config, lib, inputs, ... }:
+
+{
+ config = lib.mkIf config.hyprland.enable {
+ wayland.windowManager.hyprland.settings = {
+ decoration = {
+ rounding = 0;
+ };
+
+ animations = {
+ enabled = false;
+ };
+
+ workspace = [
+ "w[tv1], gapsout:0, gapsin:0"
+ "f[1], gapsout:0, gapsin:0"
+ ];
+
+ windowrulev2 = [
+ "bordersize 0, floating:0, onworkspace:w[tv1]"
+ "rounding 0, floating:0, onworkspace:w[tv1]"
+ "bordersize 0, floating:0, onworkspace:f[1]"
+ "rounding 0, floating:0, onworkspace:f[1]"
+ ];
+
+ };
+ };
+}