13 lines
169 B
Plaintext
13 lines
169 B
Plaintext
|
# vim: ft=ruby
|
||
|
|
||
|
class Layout < Worker
|
||
|
def mainloop()
|
||
|
loop do
|
||
|
self.write `xkblayout-state print "%s"`
|
||
|
sleep(0.1)
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
|
||
|
Modules.add("layout", "Layout")
|