From 732cf0b2c3d9f6352c2974b73cd8ddbc84f7d807 Mon Sep 17 00:00:00 2001 From: urosm Date: Fri, 13 Sep 2024 20:30:55 +0200 Subject: [PATCH] vis: tweak title --- .config/vis/visrc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua index 4fb7044..1f58996 100644 --- a/.config/vis/visrc.lua +++ b/.config/vis/visrc.lua @@ -123,10 +123,10 @@ e.subscribe(e.WIN_STATUS, function(win) win:status(table.concat({ left, ('^'):rep(win.width - #left - #right - 2)}, ' '), right) end) --- title +-- set title local modified = false local function set_title(title) - os.execute('printf "\\e];vis: '..title..(modified and '[+]' or '')..'\\e"') + os.execute('printf "\\e];'..title..(modified and '[+]' or '')..'\\e"') end e.subscribe(e.WIN_OPEN, function(win)