Launchy::Detect::NixDesktopEnvironment::Xfce

Public Class Methods

browser() click to toggle source
# File lib/launchy/detect/nix_desktop_environment.rb, line 54
def self.browser
  'exo-open'
end
is_current_desktop_environment?() click to toggle source
# File lib/launchy/detect/nix_desktop_environment.rb, line 50
def self.is_current_desktop_environment?
  %[ xprop -root _DT_SAVE_MODE | grep ' = \"xfce\"$' ].strip.size > 0
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.