Set max window title length
diff --git a/src/apps/personal/waybar.nix b/src/apps/personal/waybar.nix
index 7ce83d7..2e9f21e 100644
--- a/src/apps/personal/waybar.nix
+++ b/src/apps/personal/waybar.nix
@@ -11,6 +11,9 @@
 
                 modules = {
                     battery.bat = "BAT0";
+                    "sway/window" = {
+                        max-length = 50;
+                    };
                 };
             }
         ];
@@ -40,6 +43,10 @@
                 margin: 0;
                 background: rgba(0, 0, 0, 0);
             }
+
+            #-window {
+                width: 50em;
+            }
         '';
 
         systemd = {