mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-24 08:23:33 +03:00
14 lines
252 B
Ruby
14 lines
252 B
Ruby
module GUI
|
|
class DisksWindow < BaseLogWindow
|
|
COMMAND = "lsblk --list -o NAME,SIZE,TYPE,PARTLABEL"
|
|
|
|
def initialize()
|
|
super(explanation: "Output of #{COMMAND}")
|
|
end
|
|
|
|
def on_present()
|
|
set_text(`#{COMMAND}`)
|
|
end
|
|
end
|
|
end
|