From f90e2ea391b1f39e30f5c07a0305151406586487 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 22 Jun 2018 12:35:51 +0200 Subject: Make sure windows are spawned on the current tag. --- utils.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'utils.lua') diff --git a/utils.lua b/utils.lua index a29a50f..bd3516d 100644 --- a/utils.lua +++ b/utils.lua @@ -35,4 +35,8 @@ function M.vol_control(n) awful.util.spawn(cmd) end +function M.spawn_current(command) + awful.spawn(command, {tag = mouse.screen.selected_tag}) +end + return M -- cgit v1.2.3