about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/i3/i3status-rust/module.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/by-name/i3/i3status-rust/module.nix b/modules/by-name/i3/i3status-rust/module.nix
index 48bcd5de..1e2a5f8d 100644
--- a/modules/by-name/i3/i3status-rust/module.nix
+++ b/modules/by-name/i3/i3status-rust/module.nix
@@ -53,6 +53,14 @@ in {
 
           blocks = [
             {
+              block = "focused_window";
+              format = {
+                full = " $title.str(max_w:15) |";
+                short = " $title.str(max_w:10) |";
+              };
+            }
+
+            {
               block = "time";
               format = " $timestamp.datetime(format:'%d/%m/%y (%a) %H:%M %:z') ";
               interval = 60;