mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-18 13:31:36 +03:00
14 lines
225 B
Ruby
14 lines
225 B
Ruby
|
module GUI
|
||
|
class InputsWindow < BaseLogWindow
|
||
|
COMMAND = "lsinput"
|
||
|
|
||
|
def initialize()
|
||
|
super(explanation: "Output of #{COMMAND}")
|
||
|
end
|
||
|
|
||
|
def on_present()
|
||
|
set_text(`#{COMMAND} 2>&1`)
|
||
|
end
|
||
|
end
|
||
|
end
|