From eafb097b1cc90f81ec80013af35e2ceac7aa8838 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 3 Sep 2019 10:20:34 +0200 Subject: Replace deprecated awful.tag.getidx() with awful.screen.focused().selected_tag.index --- config/awesome/rc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index 00165ce..494321c 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -374,7 +374,7 @@ globalkeys = awful.util.table.join( -- more weasel local function viewidx_no_wrap(num_cols, delta_rows, delta_cols, cl) local screen = awful.screen.focused() - local cur = awful.tag.getidx() + local cur = screen.selected_tag.index local cc = (cur-1) % num_cols local jump = delta_rows * num_cols + delta_cols -- cgit v1.2.3