Implement `kill' action keyword
When invoked, will kill the client returned by `layout.current_client`. ICCCM WM_DELETE_WINDOW is used instead if the window reports to support this protocol.
This commit is contained in:
@@ -38,6 +38,10 @@ module Uh
|
||||
Process.waitpid pid
|
||||
end
|
||||
|
||||
def kill_current
|
||||
layout.current_client.kill
|
||||
end
|
||||
|
||||
def log_separator
|
||||
log '- ' * 24
|
||||
end
|
||||
|
Reference in New Issue
Block a user