mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-12 19:24:20 +02:00
apparance: close xprop when done with it
This commit is contained in:
parent
fcc3869022
commit
bd4d90a46e
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ gtk3:close()
|
|||
-- http://thread.gmane.org/gmane.comp.window-managers.awesome/9028
|
||||
xprop = assert(io.popen("xprop -root _NET_SUPPORTING_WM_CHECK"))
|
||||
wid = xprop:read():match("^_NET_SUPPORTING_WM_CHECK.WINDOW.: window id # (0x[%S]+)$")
|
||||
xprop:close()
|
||||
if wid then
|
||||
wid = tonumber(wid) + 1
|
||||
os.execute("xprop -id " .. wid .. " -format _NET_SYSTEM_TRAY_COLORS 32c " ..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue