Connect to X server
This commit is contained in:
15
lib/uh/wm/cli.rb
Normal file
15
lib/uh/wm/cli.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
module Uh
|
||||
module WM
|
||||
class CLI
|
||||
class << self
|
||||
def run! arguments
|
||||
$stdout.sync = true
|
||||
@display = Display.new
|
||||
@display.open
|
||||
puts "Connected to X server on `#{display}'"
|
||||
sleep 8
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user