diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-01-05 16:14:52 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-01-05 16:14:52 +0100 |
commit | d2fbf3c11fb10c2b76455df2a718a8c8d88bf16d (patch) | |
tree | ddac900d5c993625d2d7ecffbb37635f39a64609 /urgent_wgt.lua | |
parent | 8a99126930b902171204fd7e1c5871014ebffa33 (diff) |
utils: add logging functions
Diffstat (limited to 'urgent_wgt.lua')
-rw-r--r-- | urgent_wgt.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urgent_wgt.lua b/urgent_wgt.lua index cce4675..270d836 100644 --- a/urgent_wgt.lua +++ b/urgent_wgt.lua @@ -12,7 +12,7 @@ local function client_get_desk_idx(c) if desk_idx ~= nil and desk_idx >= 0 then return desk_idx else - print('cannot get desk idx: ' .. c.first_tag.name) + utils.warn('UrgentWgt', 'cannot get desk idx: ' .. c.first_tag.name) end end return false |